OEGetFPAtomType¶
std::string OEGetFPAtomType(unsigned int value)
Returns the string representation of a value that is from the
OEFPAtomType
namespace.
For example, the string representation of
OEFPAtomType::AtomicNumber
|
OEFPAtomType::Aromaticity
value is the
"AtmNum|Arom"
string.
Atom type |
String representation |
---|---|
“AtmNum” |
|
“Arom” |
|
“Chiral” |
|
“FCharge” |
|
“HvyDeg” |
|
“Hyb” |
|
“InRing” |
|
“HCount” |
|
“EqArom” |
|
“EqHalo” |
|
“EqHBAcc” |
|
“EqHBDon” |
unsigned int OEGetFPAtomType(const std::string &expression)
This function is the inverse of the previous
OEGetFPAtomType
function i.e. it converts
the string representation into a value from the
OEFPAtomType
namespace.