OEIsHetero
struct OEIsHetero : public OESystem::OEUnaryPredicate<OEChem::OEAtomBase>
This class represents OEIsHetero functor that identifies hetero atoms (OEAtomBase).
The following methods are publicly inherited from OEUnaryPredicate:
The following methods are publicly inherited from OEUnaryFunction:
operator()
__call__(atom: OEAtomBase) -> bool
Returns true, if both the OEAtomBase.IsCarbon
and the OEAtomBase.IsHydrogen methods return false
for the given OEAtomBase object.
CreateCopy
CreateCopy() -> OEIsHetero
Deep copy constructor that returns a copy of the object. The memory for the returned OEIsHetero object is dynamically allocated and owned by the caller.