OEHasAtomStereoSpecified

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

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

See also

The following methods are publicly inherited from OEUnaryPredicate:

operator()

CreateCopy

CreatePredicateCopy

The following methods are publicly inherited from OEUnaryFunction:

operator()

CreateCopy

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.