3.31.4 GetQAtoms

virtual OESystem::OEIterBase<OEQAtomBase> *GetQAtoms()

Return an iterator over all the query atoms of a molecule. By default, this returns all the atoms of the molecule in the order they were created. The ordering of the atoms returned by GetAtoms may be modified by OEMolBase::OrderAtoms.

virtual OESystem::OEIterBase<OEQAtomBase> *GetQAtoms(
    const OESystem::OEUnaryPredicate<OEChem::OEAtomBase> &predicate)

Return an iterator over all of the query atoms of a molecule that match the specified atom predicate.