.. oe:namespace:: OESystem



.. meta::
   :keywords: OEBinaryPredicate, BinaryPredicate


.. _OESystem_OEBinaryPredicate:

.. oe:class:: OEBinaryPredicate

   .. oe:api::


      template<class Arg1, class Arg2>
      class OEBinaryPredicate : public OEBinaryFunction<Arg1, Arg2, bool>

   This class represents `OEBinaryPredicate`.

   The following methods are publicly inherited from :ref:`OEBinaryFunction <OESystem_OEBinaryFunction>`:

   ============================================================= ============================================================= ============================================================
   :oe:meth:`operator()<OESystem::OEBinaryFunction::operator()>` :oe:meth:`CreateCopy<OESystem::OEBinaryFunction::CreateCopy>`                                                             
   ============================================================= ============================================================= ============================================================


   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>`

   .. oe:method:: operator()

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

         .. oe:api::

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

      .. oe:language:: python

         .. oe:api:: python

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

   .. oe:method:: CreateCopy

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

         .. oe:api::

            base_type* CreateCopy() const = 0

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEBinaryPredicate

   .. oe:method:: CreatePredicateCopy

      .. oe:api::

         OEBinaryPredicate<Arg1, Arg2> *CreatePredicateCopy() const

