OEHasIdx¶
template<class Arg>
class OEHasIdx : public OESystem::OEUnaryPredicate<Arg>
This class represents OEHasIdx template functor that
identifies object that provides a GetIdx
method with a specific index.
See also
The following methods are publicly inherited from OEUnaryPredicate:
The following methods are publicly inherited from OEUnaryFunction:
The following specializations exist for this template:
Specialized Functor |
Definition |
---|---|
OEHasAtomIdx |
|
OEHasBondIdx |
|
OEHasConfIdx |
operator()¶
bool operator()(const Arg &arg) const
Returns true
, if the index returned by the
Arg.GetIdx()
method is equivalent to the number
with which the functor is constructed.