OEHasAtomStereoSpecified¶

class OEHasAtomStereoSpecified : public OESystem::OEUnaryPredicate<OEChem::OEAtomBase>


This class represents OEHasAtomStereoSpecified functor that identifies atoms (OEAtomBase) which have stereo specified.

The following methods are publicly inherited from OEUnaryPredicate:

The following methods are publicly inherited from OEUnaryFunction:

Constructors¶

OEHasAtomStereoSpecified()


Default constructor. Constructs the functor so that atoms (OEAtomBase) with any stereo type will be identified (OEAtomStereo::All).

OEHasAtomStereoSpecified(unsigned int v)


Constructs the functor so that atoms (OEAtomBase) with the given stereo type will be identified.

operator()¶

bool operator()(const OEAtomBase &atom) const


Returns true, if the OEAtomBase::HasStereoSpecified method returns true for the given OEAtomBase object for the stereo type with which the functor is constructed.

CreateCopy¶

OESystem::OEUnaryFunction<OEChem::OEAtomBase , bool> *CreateCopy() const


Deep copy constructor that returns a copy of the object. The memory for the returned OEHasAtomStereoSpecified 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.