class OEHasResidueInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>
OEHasResidueInteractionHint(const OEChem::OEResidue &)
Constructs the functor with the given residue.
OEHasResidueInteractionHint(const OEChem::OEResidue &, const OEInteractionHintComponentTypeBase &ctype)
Constructs the functor with the given residue and component type.
OEHasResidueInteractionHint(const OEHasResidueInteractionHint &rhs)
OEHasResidueInteractionHint &operator=(const OEHasResidueInteractionHint &rhs)
bool operator()(const OEInteractionHint &i) const
Returns true, if the residue with which the functor is constructed identifies any atom stored in the given interaction. If a component type is defined at construction than that is also checked.
OESystem::OEUnaryFunction<OEInteractionHint , bool> *CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OEHasResidueInteractionHint 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.