.. oe:namespace:: OEChem



.. _OEChem_OEHasAnisou:

.. oe:class:: OEHasAnisou

   .. oe:api::


      class OEHasAnisou : public OESystem::OEUnaryPredicate<OEChem::OEAtomBase>

   This class represents the :ref:`OEHasAnisou <OEChem_OEHasAnisou>` functor
   that identifies atoms (:ref:`OEAtomBase <OEChem_OEAtomBase>`) that have associated
   anisotropic B-factor parameters.

   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(const OEChem::OEAtomBase& atom) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(atom: OEAtomBase) -> bool

      Method returning ``true`` if anisotropic B-factor parameters are associated
      with the input atom.

      .. seealso::

         * :ref:`OEAnisoUij <OEChem_OEAnisoUij>`
         * :oe:func:`OEChem::OEGetAnisou`
         * :oe:func:`OEChem::OESetAnisou`


   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESystem::OEUnaryFunction<OEChem::OEAtomBase, bool>* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEHasAnisou

      Deep copy constructor that returns a copy of the object.
      The memory for the returned :ref:`OEHasAnisou <OEChem_OEHasAnisou>`
      object is dynamically allocated and owned by the caller.

      .. oe:language:: c++

         The returned copy should be deallocated using C++
         delete operator in order to prevent a memory leak.
