OEDisplayAtomMapIdx¶
class OEDisplayAtomMapIdx : public OEDisplayAtomPropBase
This class represents OEDisplayAtomMapIdx atom property label functor.
See also
OEDisplayAtomIdx class
OEDisplayNoAtomProp class
Listing 2
example in the MDL Reaction Depiction chapter
The following methods are publicly inherited from OEDisplayAtomPropBase:
operator()¶
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.
CreateCopy¶
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.