OEIsIntermolecularCationPiInteractionHint

class OEIsIntermolecularCationPiInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

This class represents OEIsIntermolecularCationPiInteractionHint functor that identifies cation-pi interactions between atoms in different molecules (i.e. between the ligand and the protein).

Constructors

OEIsIntermolecularCationPiInteractionHint()

Default constructor.

operator=

OEIsIntermolecularCationPiInteractionHint & operator=(const OEIsIntermolecularCationPiInteractionHint &)

Assignment operator.

operator()

bool operator()(const OEInteractionHint& i) const

Returns true, if the given interaction has an intermolecular 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 OEIsIntermolecularCationPiInteractionHint 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.