.. # split from OEDockingFunctions.rst:458


.. oe:namespace:: OEDocking

.. meta::
   :keywords: OESearchResolutionGetValue

.. oe:function:: OESearchResolutionGetValue

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

      .. oe:api::

         unsigned int OESearchResolutionGetValue(std::string name)

   .. oe:language:: python

      .. oe:api:: python

         OESearchResolutionGetValue(name: str) -> int

   Returns the value of a constant from the 
   :oe:constns:`OEDocking::OESearchResolution` namespace associated with the
   scoring function *name*, or :oe:const:`OEDocking::OESearchResolution::INVALID`
   if the name is not recognized.

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

      .. oe:api::

         unsigned int OESearchResolutionGetValue(const OESystem::OEInterface& itf,
                                                 std::string flagName)

   .. oe:language:: python

      .. oe:api:: python

         OESearchResolutionGetValue(itf: OEInterface, parameter: str) -> int

   Used in conjunction with the :oe:func:`OEDocking::OESearchResolutionConfigure`
   function.  Returns a constant from the :oe:constns:`OEDocking::OESearchResolution`
   namespace associated with the dock resolution the user specified on the command
   line, or :oe:const:`OEDocking::OESearchResolution::Default` if the user did not
   specify a value.  *itf* and *flagName* should be the same as those passed to
   the :oe:func:`OEDocking::OESearchResolutionConfigure` function and 
   should have been called on *itf*.

