OEInteractionHintComponentTypeBase
class OEInteractionHintComponentTypeBase
The OEInteractionHintComponentTypeBase is an abstract class that enables to type molecule and fragments stored in a OEInteractionHintContainer object.
- The following classes derive from this class:
Constructors
OEInteractionHintComponentTypeBase(const std::string& name)
Creates an component type with the given name (identifier).
- name
A unique string representing a specific component type.
OEInteractionHintComponentTypeBase(const OEInteractionHintComponentTypeBase& rhs)
Copy constructor.
operator=
OEInteractionHintComponentTypeBase& operator=(const OEInteractionHintComponentTypeBase& rhs)
Assignment operator.
operator==
bool operator==(const OEInteractionHintComponentTypeBase &) const
Determines whether two component types, derived from the OEInteractionHintComponentTypeBase class, are identical.
operator!=
bool operator!=(const OEInteractionHintComponentTypeBase &) const
Determines whether two component types, derived from the OEInteractionHintComponentTypeBase class, are different.
CreateCopy
OEInteractionHintComponentTypeBase* CreateCopy() const = 0
Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.
GetName
std::string GetName() const
Returns the name (identifier) of the connection type.
IsValid
bool IsValid(const OEChem::OEMolBase &) const = 0
This is a virtual method that has to be implemented in the concrete derived classes to evaluate whether the given molecule is valid for for the given concrete component type.