OEIsIntraInteractionHint

class OEIsIntraInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

This class represents OEIsIntraInteractionHint functor that identifies connections (OEInteractionHint) within the same molecule stored in the OEInteractionHintContainer object.

Constructors

OEIsIntraInteractionHint()

Default constructor.

operator()

bool operator()(const OEInteractionHint &i) const

Returns true, if the interaction is within the same molecule.

CreateCopy

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

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