.. # split from OEDockingFunctions.rst:316


.. oe:namespace:: OEDocking

.. meta::
   :keywords: OENegativeImageTypeGetValue

.. oe:function:: OENegativeImageTypeGetValue

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

      .. oe:api::

         unsigned int OENegativeImageTypeGetValue(std::string name)

   .. oe:language:: python

      .. oe:api:: python

         OENegativeImageTypeGetValue(name: str) -> int

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

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

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

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

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