.. oe:namespace:: OESystem



.. meta::
   :keywords: OEBinaryIOHandler, BinaryIOHandler


.. _OESystem_OEBinaryIOHandler:

.. oe:class:: OEBinaryIOHandler

   .. oe:api::


      class OEBinaryIOHandler : public OEBinaryIOHandlerBase

   The following methods are publicly inherited form :ref:`OEBinaryIOHandlerBase <OESystem_OEBinaryIOHandlerBase>`

   ==================================================================================  ============================================================================== ================================================================================
   :oe:meth:`Clear<OESystem::OEBinaryIOHandlerBase::Clear>`                            :oe:meth:`GetBaseWriteFxns<OESystem::OEBinaryIOHandlerBase::GetBaseWriteFxns>` :oe:meth:`GetDefaultReadFxn<OESystem::OEBinaryIOHandlerBase::GetDefaultReadFxn>`
   :oe:meth:`GetDefaultWriteFxn<OESystem::OEBinaryIOHandlerBase::GetDefaultWriteFxn>`  :oe:meth:`GetReadFxns<OESystem::OEBinaryIOHandlerBase::GetReadFxns>`           :oe:meth:`GetWriteFxns<OESystem::OEBinaryIOHandlerBase::GetWriteFxns>`
   :oe:meth:`ReplaceReadFxn<OESystem::OEBinaryIOHandlerBase::ReplaceReadFxn>`          :oe:meth:`ReplaceWriteFxn<OESystem::OEBinaryIOHandlerBase::ReplaceWriteFxn>`   :oe:meth:`SetBaseWriteFxn<OESystem::OEBinaryIOHandlerBase::SetBaseWriteFxn>`
   :oe:meth:`SetReadFxn<OESystem::OEBinaryIOHandlerBase::SetReadFxn>`                  :oe:meth:`SetWriteFxn<OESystem::OEBinaryIOHandlerBase::SetWriteFxn>`
   ==================================================================================  ============================================================================== ================================================================================

   This class is for extremely advanced usage.  Typical usage of this class is for 
   preserving rotor offset compression.  Please see the 
   :oe:func:`OEChem::OEPreserveRotCompress` function instead.
      
   .. oe:method:: Constructors

      .. oe:language:: c++ java csharp

         .. oe:api::

            OEBinaryIOHandler()
            OEBinaryIOHandler(const OEBinaryIOHandler &)
            OEBinaryIOHandler(const OEBinaryIOHandlerBase &)

      .. oe:language:: python

         .. oe:api:: python

            OEBinaryIOHandler() -> OEBinaryIOHandler
            OEBinaryIOHandler(arg2: OEBinaryIOHandler) -> OEBinaryIOHandler
            OEBinaryIOHandler(arg2: OEBinaryIOHandlerBase) -> OEBinaryIOHandler


   .. oe:method:: operator=
      :language: c++

      .. oe:api::

         OEBinaryIOHandler &operator=(const OEBinaryIOHandler &)

      Assignment operator.


   .. oe:method:: Clear

      .. oe:language:: c++ java csharp

         .. oe:api::

            void Clear()

      .. oe:language:: python

         .. oe:api:: python

            Clear() -> None

   .. oe:method:: CreateCopy

      .. oe:language:: c++ java csharp

         .. oe:api::

            OEBase* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEBase

   .. oe:method:: GetBaseWriteFxns

      .. oe:language:: c++ java csharp

         .. oe:api::

            OEIterBase<OEWriteFxn<OEBaseData> >* GetBaseWriteFxns() const

      .. oe:language:: python

         .. oe:api:: python

            GetBaseWriteFxns() -> Iterable[OEWriteFxn[OEBaseData]]

   .. oe:method:: GetDataType

      .. oe:language:: c++ java csharp

         .. oe:api::

            const void* GetDataType() const

      .. oe:language:: python

         .. oe:api:: python

            GetDataType() -> void

   .. oe:method:: GetDefaultReadFxn

      .. oe:language:: c++ java csharp

         .. oe:api::

            const OEReadFxnBase& GetDefaultReadFxn() const

      .. oe:language:: python

         .. oe:api:: python

            GetDefaultReadFxn() -> OEReadFxnBase

   .. oe:method:: GetDefaultWriteFxn

      .. oe:language:: c++ java csharp

         .. oe:api::

            const OEWriteFxnBase& GetDefaultWriteFxn() const

      .. oe:language:: python

         .. oe:api:: python

            GetDefaultWriteFxn() -> OEWriteFxnBase

   .. oe:method:: GetReadFxns

      .. oe:language:: c++ java csharp

         .. oe:api::

            OEIterBase<OEReadFxnBase>* GetReadFxns() const

      .. oe:language:: python

         .. oe:api:: python

            GetReadFxns() -> Iterable[OEReadFxnBase]

   .. oe:method:: GetWriteFxns

      .. oe:language:: c++ java csharp

         .. oe:api::

            OEIterBase<OEWriteFxnBase>* GetWriteFxns() const

      .. oe:language:: python

         .. oe:api:: python

            GetWriteFxns() -> Iterable[OEWriteFxnBase]

   .. oe:method:: IsDataType

      .. oe:language:: c++ java csharp

         .. oe:api::

            bool IsDataType(const void *) const

      .. oe:language:: python

         .. oe:api:: python

            IsDataType(arg2: void) -> bool

   .. oe:method:: ReplaceReadFxn

      .. oe:language:: c++ java csharp

         .. oe:api::

            bool ReplaceReadFxn (const OEReadFxnBase& ,
                                 const std::string replacetag = std::string(""))

      .. oe:language:: python

         .. oe:api:: python

            ReplaceReadFxn(arg2: OEReadFxnBase, replacetag: str = str("")) -> bool

   .. oe:method:: ReplaceWriteFxn

      .. oe:language:: c++ java csharp

         .. oe:api::

            bool ReplaceWriteFxn(const OEWriteFxnBase&,
                                 const std::string replacetag = std::string(""))

      .. oe:language:: python

         .. oe:api:: python

            ReplaceWriteFxn(arg2: OEWriteFxnBase, replacetag: str = str("")) -> bool

   .. oe:method:: SetBaseWriteFxn

      .. oe:language:: c++ java csharp

         .. oe:api::

            bool SetBaseWriteFxn(const OEWriteFxn<OEBaseData> &)

      .. oe:language:: python

         .. oe:api:: python

            SetBaseWriteFxn(arg2: OEWriteFxn[OEBaseData]) -> bool

   .. oe:method:: SetReadFxn

      .. oe:language:: c++ java csharp

         .. oe:api::

            bool SetReadFxn(const OEReadFxnBase &, bool makedefault = false)

      .. oe:language:: python

         .. oe:api:: python

            SetReadFxn(arg2: OEReadFxnBase, makedefault: bool = False) -> bool

   .. oe:method:: SetWriteFxn

      .. oe:language:: c++ java csharp

         .. oe:api::

            bool SetWriteFxn(const OEWriteFxnBase &, bool makedefault = false)

      .. oe:language:: python

         .. oe:api:: python

            SetWriteFxn(arg2: OEWriteFxnBase, makedefault: bool = False) -> bool

