OESystem::OEIterBase<OEMolBase> *GetProducts() const
This method is the primary interface for generating a library of products from a reaction and a set of reactants. The pointer to an iterator base class over molecules must be assigned to an iterator over molecules. The following is an example assignment:
OEIter<OEMolBase> iter = libgen.GetProducts();
The returned iterator may be used to generate reaction products in
sequence, or by random access using the
OEIter<OEMolBase>::operator+=
and
OEIter<OEMolBase>::operator-=
methods.