.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetUniMolecularRxnIter

.. oe:function:: OEGetUniMolecularRxnIter

   .. oe:language:: c++ java csharp

      .. oe:api::

         OESystem::OEIterBase<OEMolBase>* OEGetUniMolecularRxnIter(const OEMolBase& mol,
                                                                   OEQMolBase& rxn,
                                                                   bool strictSmirks = true,
                                                                   unsigned maxMatches = 10000,
                                                                   bool validateKekule = true)
         OESystem::OEIterBase<OEMolBase>* OEGetUniMolecularRxnIter(const OEMolBase& mol,
                                                                   OEQMolBase& rxn,
                                                                   bool strictSmirks = true,
                                                                   unsigned maxMatches = 10000,
                                                                   bool validateKekule = true)

   .. oe:language:: python

      .. oe:api:: python

         OEGetUniMolecularRxnIter(mol: Union[OEGraphMol,OEMol,OEQMol],
                                  rxn: OEQMol, strictSmirks: bool = True,
                                  maxMatches: int = 10000,
                                  validateKekule: bool = True) -> Iterable[Union[OEGraphMol, OEMol, OEQMol]]
         OEGetUniMolecularRxnIter(mol: Union[OEGraphMol,OEMol,OEQMol],
                                  rxn: OEQMol, opts: OEUniMolecularRxnOptions) -> Iterable[Union[OEGraphMol, OEMol, OEQMol]]

   The first function overload returns an iterator over unique products from each individual application
   of the transformation provided by a :ref:`OEUniMolecularRxn <OEChem_OEUniMolecularRxn>` instance initialized
   with the function arguments.

   The second function overload returns an iterator over unique products from each individual application
   of the transformation provided by a :ref:`OEUniMolecularRxn <OEChem_OEUniMolecularRxn>` instance initialized with the provided
   :ref:`OEUniMolecularRxnOptions <OEChem_OEUniMolecularRxnOptions>` class.

   .. seealso::

      * :ref:`OEUniMolecularRxn <OEChem_OEUniMolecularRxn>` class
      * :ref:`OEUniMolecularRxnOptions <OEChem_OEUniMolecularRxnOptions>` class


