OEIsCovalentInteractionHint¶
class OEIsCovalentInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>
This class represents OEIsCovalentInteractionHint functor that identifies covalent interactions.
See also
OEInteractionHint class
operator()¶
bool operator()(const OEInteractionHint &c) const
Returns true
, if the given interaction has a clash
type i.e. the OEInteractionHint::GetInteractionType
method returns an OECovalentInteractionHint
type.
CreateCopy¶
OESystem::OEUnaryFunction<OEInteractionHint, bool> *CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OEIsCovalentInteractionHint 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.