.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEGetFingerPrintVersion

.. oe:function:: OEGetFingerPrintVersion

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

      .. oe:api::

         unsigned short OEGetFingerPrintVersion(unsigned int fptype)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFingerPrintVersion(fptype: int) -> short

   Returns the hashed number representation of the version number of
   a built-in fingerprint type.
   Please use the :oe:func:`OEGraphSim::OEGetFingerPrintVersionString`
   function to convert the returned number into human-readable
   representation.

   The :oe:func:`OEGraphSim::OEGetFingerPrintVersion` function returns
   zero and throws a warning for unknown fingerprint type.

   *fptype*
      The type of the fingerprint. This value has to be from the
      :oe:constns:`OEGraphSim::OEFPType` namespace.

   .. seealso::

      * :oe:func:`OEGraphSim::OEGetFingerPrintVersionString` function
      * :oe:meth:`OEGraphSim::OEFPTypeBase::GetFPVersion` method
      * :oe:meth:`OEGraphSim::OEFPTypeBase::GetFPVersionString` method
