class OEHBondInteractionHint : public OEInteractionHintTypeBase

The OEHBondInteractionHint class represents a built-in type that identifies interactions stored in an OEInteractionHintContainer object as intermolecular hydrogen bond interactions.

The following methods are publicly inherited from OEInteractionHintTypeBase:

operator= operator== GetName
operator!= CreateCopy IsValid


OEHBondInteractionHint(unsigned int type, bool charged=false)
This value has to be from the OEHBondInteractionHintType namespace.


Two OEHBondInteractionHint objects with different types from the OEHBondInteractionHintType namespace and/or with different charge options are considered to be different.

OEHBondInteractionHint(const OEHBondInteractionHint &rhs)

Copy constructor.


OEHBondInteractionHint &operator=(const OEHBondInteractionHint &rhs)

Assignment operator.


OEInteractionHintTypeBase *CreateCopy() const

Deep copy constructor that returns a copy of the object. The memory for the returned OEHBondInteractionHint object is dynamically allocated and owned by the caller.

The returned copy should be deallocated using C++ delete operator in order to prevent a memory leak.


unsigned int GetHBondType() const

Returns the type of the OEHBondInteractionHint object. The return value is taken from the OEHBondInteractionHintType namespace.


bool IsCharged() const

Returns whether or not the OEHBondInteractionHint object represents a charged interaction.


bool IsValid(const OEInteractionHintFragment *,
             const OEInteractionHintFragment *) const

Evaluates whether the two given fragments would form a valid hydrogen bond interaction when added to an OEInteractionHintContainer object.

Interactions with the OEHBondInteractionHint type can be either intermolecular or intramolecular.