OEOr¶
template<class Arg>
class OEOr : public OEUnaryPredicate<Arg>
This class represents OEOr.
This class template is a composition predicate which generates a predicate which is the logical or operation of the two predicates passed as arguments.
See also
Composite Functors section
The following methods are publicly inherited from OEUnaryPredicate:
The following methods are publicly inherited from OEUnaryFunction:
Constructors¶
OEOr()
OEOr(const OEOr<Arg> &rhs)
OEOr(const OEUnaryPredicate<Arg> &func1,
const OEUnaryPredicate<Arg> &func2)
Default and copy constructors.
operator=¶
OEOr &operator=(const OEOr<Arg> &rhs)
operator()¶
bool operator()(const Arg &arg) const
CreateCopy¶
OEUnaryFunction<Arg, bool> *CreateCopy() const