.. oe:namespace:: OESystem

.. meta::
   :keywords: OEIsFalse, IsFalse


.. _OESystem_OEIsFalse:

.. oe:class:: OEIsFalse

   .. oe:api::

      template<class Arg> struct OEIsFalse : public OEUnaryPredicate<Arg>

   This functor always returns ``false`` for any argument passed to it.
   The following specializations are provided to make using this class easier: 

   * ``OEIsFalseAtom``
   * ``OEIsFalseBond``
   * ``OEIsFalseConf``

   The following methods are publicly inherited from :ref:`OEUnaryPredicate <OESystem_OEUnaryPredicate>`:

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

   The following methods are publicly inherited from :ref:`OEUnaryFunction <OESystem_OEUnaryFunction>`:

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

   The following classes derive from this class:
    * :ref:`IsFalse <OESystem_IsFalse>`
    * :ref:`OEUnaryFalse <OESystem_OEUnaryFalse>`

   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(const Arg &) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(Arg) -> bool

      Always returns ``false``.

   .. oe:method:: CreateCopy

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

         .. oe:api::

            OEUnaryFunction<Arg, bool>* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEIsFalse
