.. oe:namespace:: OEShape

.. meta::
   :keywords: OEGetColorParents

.. oe:function:: OEGetColorParents

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

      .. oe:api::

         OESystem::OEIterBase<OEChem::OEAtomBase>* OEGetColorParents(OEChem::OEAtomBase* atom)
         OESystem::OEIterBase<const OEChem::OEAtomBase>* OEGetColorParents(const OEChem::OEAtomBase* atom)

   .. oe:language:: python

      .. oe:api:: python

         OEGetColorParents(atom: OEAtomBase) -> OEAtomIter

   Color atoms set via a SMARTS match store the matching atoms as *parents*.
   This method returns the parent atoms of a given color atom.
