OEIsUnpairedInteractionHint

class OEIsUnpairedInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

This class represents OEIsUnpairedInteractionHint functor that identifies unpaired interactions — hydrogen bond donors or acceptors, and charged groups in salt-bridge positions, that have no complementary partner in the active site.

Constructors

OEIsUnpairedInteractionHint()

Default constructor.

operator()

bool operator()(const OEInteractionHint& i) const

Returns true, if the given interaction is an unpaired hydrogen bond or unpaired salt-bridge interaction. This is equivalent to OEIsUnpairedLigandInteractionHint || OEIsUnpairedProteinInteractionHint.

CreateCopy

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

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