OEIsStackingInteractionHint
class OEIsStackingInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>
This class represents OEIsStackingInteractionHint functor that identifies stacking interactions.
See also
OEStackingInteractionHintTypenamespaceOEInteractionHint class
Constructors
OEIsStackingInteractionHint(bool includeIntra = true)
Constructor.
- param includeIntra:
If
true(default), intramolecular stacking interactions are included in the results.
operator=
OEIsStackingInteractionHint & operator=(const OEIsStackingInteractionHint &)
Assignment operator.
operator()
bool operator()(const OEInteractionHint& i) const
Returns true, if the given interaction has a stacking
type i.e. the OEInteractionHint::GetInteractionType
method returns an OEStackingInteractionHint
type.
CreateCopy
OESystem::OEUnaryFunction<OEInteractionHint , bool>* CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OEIsStackingInteractionHint 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.