Class SBCFunctorPredicateNot0#
ClassList > SBCFunctorPredicateNot0
This class describes a predicate that is the opposite of a predicate.
#include <SBCFunctorPredicateNot.hpp>
Inherits the following classes: SBCFunctorPredicate0
Public Functions#
| Type | Name |
|---|---|
| SBCFunctorPredicateNot0 (const SBCFunctorPredicate0 * predicate) Builds the functor predicate. The input functors are cloned internally. |
|
| virtual SBCFunctorPredicateNot0 * | 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 | ~SBCFunctorPredicateNot0 () Destructor. |
Public Functions Documentation#
function SBCFunctorPredicateNot0#
Builds the functor predicate. The input functors are cloned internally.
Constructs a SBCFunctorPredicateNot0 that negates the given predicate.
Parameters:
predicatePointer to the predicate to be negated. The predicate is cloned internally.
function clone#
Clones the functor.
Creates a copy of this predicate.
Returns:
A pointer to a new SBCFunctorPredicateNot0 that is a clone of this object.
Implements SBCFunctor::clone
function operator()#
Performs the predicate's operations and returns the result.
Evaluates the stored predicate and returns its logical negation.
Returns:
The negated result of the stored predicate.
function operator()#
Performs the predicate's operations and returns the result.
Evaluates the stored predicate and returns its logical negation (const overload).
Returns:
The negated result of the stored predicate.
function ~SBCFunctorPredicateNot0#
Destructor.
Destroys the SBCFunctorPredicateNot0.