3.2.9 GetParent

virtual OEMolBase *GetParent() const

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