.. include:: ../substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEGetFPAtomType

.. oe:function:: OEGetFPAtomType

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

      .. oe:api::

         std::string OEGetFPAtomType(unsigned int value)

   .. oe:language:: python

      .. oe:api:: python

         OEGetFPAtomType(value: int) -> str

   Returns the string representation of a value that is from the
   :oe:constns:`OEGraphSim::OEFPAtomType` namespace.
   For example, the string representation of
   :oe:const:`OEGraphSim::OEFPAtomType::AtomicNumber` |
   :oe:const:`OEGraphSim::OEFPAtomType::Aromaticity` value is the
   ``"AtmNum|Arom"`` string.

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

      ===================================================== =======================
      Atom type                                             String representation  
      ===================================================== =======================
      :oe:const:`OEGraphSim::OEFPAtomType::AtomicNumber`    "AtmNum"               
      :oe:const:`OEGraphSim::OEFPAtomType::Aromaticity`     "Arom"                 
      :oe:const:`OEGraphSim::OEFPAtomType::Chiral`          "Chiral"               
      :oe:const:`OEGraphSim::OEFPAtomType::FormalCharge`    "FCharge"              
      :oe:const:`OEGraphSim::OEFPAtomType::HvyDegree`       "HvyDeg"               
      :oe:const:`OEGraphSim::OEFPAtomType::Hybridization`   "Hyb"                  
      :oe:const:`OEGraphSim::OEFPAtomType::InRing`          "InRing"               
      :oe:const:`OEGraphSim::OEFPAtomType::HCount`          "HCount"               
      :oe:const:`OEGraphSim::OEFPAtomType::EqAromatic`      "EqArom"               
      :oe:const:`OEGraphSim::OEFPAtomType::EqHalogen`       "EqHalo"               
      :oe:const:`OEGraphSim::OEFPAtomType::EqHBondAcceptor` "EqHBAcc"              
      :oe:const:`OEGraphSim::OEFPAtomType::EqHBondDonor`    "EqHBDon"              
      ===================================================== =======================

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

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

         OEGetFPAtomType(expression: str) -> int

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

