OEHasIdx

template<class Arg>
class OEHasIdx : public OESystem::OEUnaryPredicate<Arg>

This class is useful for testing any arbitrary object that provides a GetIdx method. The following typedefs are provided for convenience:

typedef OEHasIdx<OEAtomBase> OEHasAtomIdx;
typedef OEHasIdx<OEBondBase> OEHasBondIdx;
typedef OEHasIdx<OEConfBase> OEHasConfIdx;

The following methods are publicly inherited from OEUnaryPredicate:

operator() CreateCopy CreatePredicateCopy

The following methods are publicly inherited from OEUnaryFunction:

operator() CreateCopy  

Constructors

OEHasIdx(unsigned int idx)

Default and copy constructors.

operator()

bool operator()(const Arg &arg) const

CreateCopy

OETYPENAME OESystem::OEUnaryFunction<Arg, bool> *CreateCopy() const