OEIsSaltBridgeInteractionHint

class OEIsSaltBridgeInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>

This class represents OEIsSaltBridgeInteractionHint functor that identifies salt-bridge interactions.

Constructors

OEIsSaltBridgeInteractionHint(bool includeIntra = true)

Constructor.

param includeIntra:

If true (default), intramolecular salt-bridge interactions are included in the results.

operator()

bool operator()(const OEInteractionHint& i) const

Returns true, if the given interaction has a salt-bridge type i.e. the OEInteractionHint.GetInteractionType method returns an OESaltBridgeInteractionHint type.

CreateCopy

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

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