.. # split from OEDockingFunctions.rst:482


.. oe:namespace:: OEDocking

.. meta::
   :keywords: OESearchResolutionConfigure

.. oe:function:: OESearchResolutionConfigure

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

      .. oe:api::

         bool OESearchResolutionConfigure(OESystem::OEInterface& itf,
                                          std::string flagName)

   .. oe:language:: python

      .. oe:api:: python

         OESearchResolutionConfigure(itf: OEInterface, parameter: str) -> bool

   This function is used in conjunction with the
   :oe:func:`OEDocking::OESearchResolutionGetValue`.  It adds a command line flag to
   the *itf* to specify a dock resolution to use.  Once the command line has been
   parsed (:oe:func:`OESystem::OEParseCommandLine`) the *itf* and *flagName*
   are passed to :oe:func:`OEDocking::OESearchResolutionGetValue` that will
   return the constant from the :oe:constns:`OEDocking::OESearchResolution` namespace
   associated with the dock resolution the user selected (or the default scoring
   function if the user didn't specify one).

   .. note::

      The parameter added to *itf* will be of type string, name *flagName*, and
      have legal values associated with the dock resolutions.

