.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEGetFPBondType

.. oe:function:: OEGetFPBondType

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

      .. oe:api::

         std::string OEGetFPBondType(unsigned int value)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFPBondType(value: int) -> str

   Returns the string representation of a value  that is from the
   :oe:constns:`OEGraphSim::OEFPBondType` namespace.
   For example, the string representation of
   :oe:const:`OEGraphSim::OEFPBondType::BondOrder` |
   :oe:const:`OEGraphSim::OEFPBondType::Chiral` value is the:
   ``"Order|Chiral"`` string.

   .. table:: **The string representation of various fingerprint bond types**

      =============================================== =======================
      Bond type                                       String representation  
      =============================================== =======================
      :oe:const:`OEGraphSim::OEFPBondType::BondOrder` "Order"                
      :oe:const:`OEGraphSim::OEFPBondType::Chiral`    "Chiral"               
      :oe:const:`OEGraphSim::OEFPBondType::InRing`    "InRing"               
      =============================================== =======================

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

      .. oe:api::

         unsigned int OEGetFPBondType(const std::string& expression)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFPBondType(expression: str) -> int

   This function is the inverse of the previous
   :oe:func:`OEGraphSim::OEGetFPBondType` function *i.e.* it converts
   the string representation into a value from the
   :oe:constns:`OEGraphSim::OEFPBondType` namespace.

