OEIsIntramolecularCationPiInteractionHint

class OEIsIntramolecularCationPiInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

This class represents OEIsIntramolecularCationPiInteractionHint functor that identifies intramolecular cation-pi interactions between a cation and an aromatic ring within the same molecule (ligand or protein).

Constructors

OEIsIntramolecularCationPiInteractionHint()

Default constructor.

operator()

bool operator()(const OEInteractionHint& i) const

Returns true, if the given interaction has an intramolecular cation-pi type i.e. the OEInteractionHint.GetInteractionType method returns an OECationPiInteractionHint with one of the following types:

CreateCopy

OESystem::OEUnaryFunction<OEInteractionHint, bool>* CreateCopy() const

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