OEDisplayBondPropBase¶
OESystem::OEUnaryFunction<OEChem::OEBondBase,std::string,true,true>
class OEDisplayBondPropBase
OEDisplayBondPropBase is an abstract class that defines the API used for setting bond property labels.
See also
Listing 8
example in the Molecule Depiction chapter
- The following classes derive from this class:
OEDisplayBondIdx class
OEDisplayNoBondProp class
operator()¶
std::string operator()(const OEChem::OEBondBase &bond) const = 0
It is a virtual const method that is implemented in the concrete derived classes to set bond property labels.
- bond
The OEBondBase 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.