class OEDisplayAtomMapIdx : public OEDisplayAtomPropBase

This class represents OEDisplayAtomMapIdx atom property label functor.

The following methods are publicly inherited from OEDisplayAtomPropBase:

CreateCopy operator()



Default constructor.


std::string operator()(const OEChem::OEAtomBase &atom) const

Returns the string representation of the reaction map index property of the atom. (i.e. the number returned by the OEAtomBase::GetMapIdx method). The reaction map index is used for tracking equivalent atom positions in the reaction. If the reaction map index is zero, meaning that the atom isn’t mapped in the reaction, than this function returns an empty string.


base_type *CreateCopy() const

Deep copy constructor that returns a copy of the object. The memory for the returned OEDisplayAtomMapIdx object is dynamically allocated and owned by the caller.