Class SBCFunctorPredicateOrOr0#
ClassList > SBCFunctorPredicateOrOr0
This class describes a predicate that is true if at least one of two predicates istrue __More...
#include "SBCFunctorPredicateOrOr.hpp"
Inherits the following classes: SBCFunctorPredicate0
Public Functions#
| Type | Name |
|---|---|
| SBCFunctorPredicateOrOr0 (const SBCFunctorPredicate0 * firstPredicate, const SBCFunctorPredicate0 * secondPredicate) Builds the functor predicate. The input functors are cloned internally. |
|
| virtual SBCFunctorPredicateOrOr0 * | clone () override const Clones the functor. |
| virtual bool | operator() () override Performs the predicate's operations and returns the result. |
| virtual bool | operator() () override const Performs the predicate's operations and returns the result. |
| virtual | ~SBCFunctorPredicateOrOr0 () Destructor. |
Detailed Description#
Unlike SBCFunctorPredicateOr0, this logical predicate does not evaluate the second predicate if the first predicate is true.
See also: SBCFunctorPredicateOrOr0
Public Functions Documentation#
function SBCFunctorPredicateOrOr0#
Builds the functor predicate. The input functors are cloned internally.
SBCFunctorPredicateOrOr0::SBCFunctorPredicateOrOr0 (
const SBCFunctorPredicate0 * firstPredicate,
const SBCFunctorPredicate0 * secondPredicate
)
function clone#
Clones the functor.
Implements SBCFunctor::clone
function operator()#
Performs the predicate's operations and returns the result.
function operator()#
Performs the predicate's operations and returns the result.
function ~SBCFunctorPredicateOrOr0#
Destructor.