class OEHasMapIdx : public OESystem::OEUnaryPredicate<OEChem::OEAtomBase>
The following methods are publicly inherited from OEUnaryPredicate:
The following methods are publicly inherited from OEUnaryFunction:
OEHasMapIdx(unsigned int idx=0)
Constructs the functor with the internal map index. With no arguments, this constructs a functor which returns true for any atom with a non-zero map index. When constructed with a non-zero integer, it constructs a functor which return true for atoms which have the same map index as the constructor argument.
bool operator()(const OEAtomBase &atom) const
OESystem::OEUnaryFunction<OEChem::OEAtomBase , bool> *CreateCopy() const
Deep copy constructor that returns a copy of the object. The memory for the returned OEHasMapIdx 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.