3.1.19 GetParent

virtual OEMolBase *GetParent() const

Return the parent molecule of an atom. All OEAtomBases are created as a component of an OEMolBase, this method can be used to determine the molecule of which an atom is part. The ``parent molecule'' property of an atom cannot be assigned, as its determined at the point the atom is created.