class OEClashInteractionHint : public OEInteractionHintTypeBase

The OEClashInteractionHint class represents a built-in type that identifies interactions stored in an OEInteractionHintContainer object as inter-molecular clash interactions.

The following methods are publicly inherited from OEInteractionHintTypeBase:

operator= operator== GetName
operator!= CreateCopy IsValid



Default constructor.

OEClashInteractionHint(const OEClashInteractionHint &rhs)

Copy constructor.


OEClashInteractionHint &operator=(const OEClashInteractionHint &rhs)

Assignment operator.


OEInteractionHintTypeBase *CreateCopy() const

Deep copy constructor that returns a copy of the object. The memory for the returned OEClashInteractionHint 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.


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

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

It checks that each fragment contains exactly one atom, and the fragments belong to different molecules i.e. it is an inter-molecular interaction.