.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEChem

.. oe:constnamespace:: OESubSearchStatus

   .. attention::

      |TWOLANGUAGE|

   This namespace contains constants representing the various status of the
   substructure search (:oe:meth:`OEChem::OESubSearchResult::GetSearchStatus`).

   .. oe:constant:: Canceled

      This constant indicates that the substructure search was canceled by invoking
      :oe:meth:`OEChem::OESubSearchResult::Cancel`.

   .. oe:constant:: Finished

      This constant indicates that the substructure search was finished successfully.

   .. oe:constant:: InProgress

      This constant indicates that the substructure search is in progress.

   .. oe:constant:: Uninitialized

      This constant indicates that the substructure search can not be initialized.
      For example, attempting a search on an invalid :ref:`OESubSearchDatabase <OEChem_OESubSearchDatabase>`
      object.

   .. seealso::

      * :oe:meth:`OEChem::OESubSearchDatabase::Search` method
      * :oe:func:`OEChem::OESubSearchStatusToName` function

   .. admonition:: Code Example

      * :ref:`section_example_oechem_searchfastss` example
