OEMonomerColorBase

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

OESystem::OEUnaryFunction<OEChem::OEMonomerData, OESystem::OEColor, true, true>  OEMonomerColorBase

OEMonomerColorBase is an abstract class that defines the API used to assign colors to monomers.

The following classes derive from this abstract class:

operator()

OESystem::OEColor operator()(const OEChem::OEMonomerData&) const

This is a virtual const method that must be implemented in the concrete derived classes.

CreateCopy

base_type* CreateCopy() const = 0

Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.