OEIsIntermolecularHBondInteractionHint

class OEIsIntermolecularHBondInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

This class represents OEIsIntermolecularHBondInteractionHint functor that identifies hydrogen bonding interactions between two atom in different molecules.

Constructors

OEIsIntermolecularHBondInteractionHint()

Default constructor.

operator()

bool operator()(const OEInteractionHint &c) const

Returns true, if the given interaction has a hydrogen bonding type i.e. the OEInteractionHint::GetInteractionType method returns an OEHBondInteractionHint with 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 OEIsIntermolecularHBondInteractionHint 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.