Class SBCFunctorPredicateAndAnd0#
ClassList > SBCFunctorPredicateAndAnd0
This class describes a predicate that is true
when two predicates aretrue
__More...
#include "SBCFunctorPredicateAndAnd.hpp"
Inherits the following classes: SBCFunctorPredicate0
Public Functions#
Type | Name |
---|---|
SBCFunctorPredicateAndAnd0 (const SBCFunctorPredicate0 * firstPredicate, const SBCFunctorPredicate0 * secondPredicate) Builds the functor predicate. The input functors are cloned internally. |
|
virtual SBCFunctorPredicateAndAnd0 * | 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 | ~SBCFunctorPredicateAndAnd0 () Destructor. |
Detailed Description#
Unlike SBCFunctorPredicateAnd0, this logical predicate does not evaluate the second predicate if the first predicate is false
.
See also: SBCFunctorPredicateAnd0
Public Functions Documentation#
function SBCFunctorPredicateAndAnd0#
Builds the functor predicate. The input functors are cloned internally.
SBCFunctorPredicateAndAnd0::SBCFunctorPredicateAndAnd0 (
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 ~SBCFunctorPredicateAndAnd0#
Destructor.