.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords:  OEConfigureFPDatabaseOptions

.. oe:function::  OEConfigureFPDatabaseOptions

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

      .. oe:api::

         bool OEConfigureFPDatabaseOptions(OESystem::OEInterface& itf,
                                           const OEFPDatabaseOptions& defopts)

   .. oe:language:: python

      .. oe:api:: python

         OEConfigureFPDatabaseOptions(itf: OEInterface,
                                      defopts: OEFPDatabaseOptions) -> bool

   Configures the given interface to add parameters for fingerprint
   database search options.

   *itf*
      The interface being configured.

   *defopts*
      The default fingerprint database search options.


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

      .. oe:api::

         bool OEConfigureFPDatabaseOptions(OESystem::OEInterface& itf,
                                           unsigned int config = OEFPDatabaseOptionsSetup::All)

   .. oe:language:: python

      .. oe:api:: python

         OEConfigureFPDatabaseOptions(itf: OEInterface, config: int) -> bool

   Configures the given interface to add parameters for default fingerprint
   database search options.

   *itf*
      The interface being configured.

   *config*
      The option that specifies which parameters will be added to the
      interface.  This value has to be from the
      :oe:constns:`OEGraphSim::OEFPDatabaseOptionsSetup` namespace.

   .. seealso::

      * :ref:`OEInterface <OESystem_OEInterface>` class in the **OEChem TK** manual
      * :ref:`OEFPDatabaseOptions <OEGraphSim_OEFPDatabaseOptions>` class
      * :oe:func:`OEGraphSim::OESetupFPDatabaseOptions` function
      * Example code in :ref:`section_examples_summary_searchfp` section
      * Example code in :ref:`section_examples_summary_searchfastfp` section
