4.2.4 GetAtoms, GetBonds

These two functions provide the primary mode of access to the atoms and bonds of a molecule. They return an object which is an iterator over the OEAtomBases or OEBondBases of the molecule respectively. The use of the iterators will be covered in great detail in subsequent chapters.