class OECationPiInteractionHint : public OEInteractionHintTypeBase
To perceive cation-Pi interactions:
The following methods are publicly inherited from OEInteractionHintTypeBase:
OECationPiInteractionHint(unsigned int type)
Creates an OECationPiInteractionHint object with the given type.
OECationPiInteractionHint(const OECationPiInteractionHint &rhs)
OECationPiInteractionHint &operator=(const OECationPiInteractionHint &rhs)
OEInteractionHintTypeBase *CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OECationPiInteractionHint 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 cation-Pi interaction when added to an OEInteractionHintContainer object.
It checks that each fragment contains at least one atom, and the fragments belong to different molecules i.e. it is an intermolecular interaction.