.. oe:namespace:: OESystem



.. meta::
   :keywords: OEBinaryFunction, BinaryFunction


.. _OESystem_OEBinaryFunction:

.. oe:class:: OEBinaryFunction

   .. oe:api::


      template<class Arg1, class Arg2, class Result, bool ConstArg, bool ConstFcn>
      class OEBinaryFunction

   This class represents `OEBinaryFunction`.

   

   The following specializations exist for this template:
   
    * OESystem::OEBinaryFunction< Arg1, Arg2, Result, false, false >
    * OESystem::OEBinaryFunction< Arg1, Arg2, Result, false, true >
    * OESystem::OEBinaryFunction< Arg1, Arg2, Result, true, false >
   

   The following classes derive from this class:
    * :ref:`OEInSamePart <OEChem_OEInSamePart>`
    * :ref:`OEUnaryToBinaryAnd <OEChem_OEUnaryToBinaryAnd>`
    * :ref:`OEUnaryToBinaryOr <OEChem_OEUnaryToBinaryOr>`
    * :ref:`OEBinaryAnd <OESystem_OEBinaryAnd>`
    * :ref:`OEBinaryFalse <OESystem_OEBinaryFalse>`
    * :ref:`OEBinaryNot <OESystem_OEBinaryNot>`
    * :ref:`OEBinaryOr <OESystem_OEBinaryOr>`
    * :ref:`OEBinaryPredicate <OESystem_OEBinaryPredicate>`
   

   .. oe:method:: operator()

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

         .. oe:api::

            Result operator()(const Arg1& a1, const Arg2& a2) const = 0

      .. oe:language:: python

         .. oe:api:: python

            __call__(a1: Arg1, a2: Arg2) -> Result

   .. oe:method:: CreateCopy

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

         .. oe:api::

            base_type* CreateCopy() const = 0

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEBinaryFunction

