3.1.4 GetBonds

virtual OESystem::OEIterBase<OEBondBase> *GetBonds() const
virtual OESystem::OEIterBase<OEBondBase> *GetBonds(
  const OESystem::OEUnaryPredicate<OEChem::OEBondBase> &) const

Return an OEBondBase iterator of the bonds connected to an atom. The returned iterator traverses only the explicit bonds that are attached to the OEAtomBase. The number of bonds in the iterator is identical to OEAtomBase::GetExplicitDegree.