OEDisplayAtomPropBase¶
OESystem::OEUnaryFunction<OEChem::OEAtomBase,std::string,true,true>
OEDisplayAtomPropBase
OEDisplayAtomPropBase is an abstract class that defines the API used for setting atom property labels.
See also
Listing 6
example in the Molecule Depiction chapter
- The following classes derive from this class:
OEDisplayAtomIdx class
OEDisplayAtomMapIdx class
OEDisplayNoAtomProp class
operator()¶
std::string operator()(const OEChem::OEAtomBase &atom) const = 0
It is a virtual const method that is implemented in the concrete derived classes to set atom property labels.
- atom
The OEAtomBase object for which the display label is set.
CreateCopy¶
base_type *CreateCopy() const =0
Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.