OEIsHeavy¶
struct OEIsHeavy : public OESystem::OEUnaryPredicate<OEChem::OEAtomBase>
This class represents OEIsHeavy functor that identifies heavy atoms (OEAtomBase).
The following methods are publicly inherited from OEUnaryPredicate:
The following methods are publicly inherited from OEUnaryFunction:
operator()¶
bool operator()(const OEAtomBase &atom) const
Returns true
, if the GetAtomicNum
method is greater than 1 for the given
OEAtomBase object.
See also
Example program sizefilter.py
Example program molstats.py