class OEHasHvyDegree : public OESystem::OEUnaryPredicate<OEChem::OEAtomBase>
This class represents
that identifies atoms (
OEAtomBase) with a specific
number of heavy atom neighbors.
The following methods are publicly inherited from
OEHasHvyDegree(unsigned int h)
Constructs the functor with the given number of heavy atom neighbor.
bool operator()(const OEAtomBase &atom) const
true, if the value returned by the
OEAtomBase.GetHvyDegree method for the given
object is equivalent to the value with which the functor is constructed.
OESystem::OEUnaryFunction<OEChem::OEAtomBase, bool> *CreateCopy() const
Deep copy constructor that returns a copy of the object.
The memory for the returned
object is dynamically allocated and owned by the caller.