Web Analytics Made Easy - Statcounter
Skip to content

Class SBCFunctorPredicateXOr0#

ClassList > SBCFunctorPredicateXOr0

This class describes a predicate that is true if exactly one of the two predicates istrue __

  • #include "SBCFunctorPredicateXOr.hpp"

Inherits the following classes: SBCFunctorPredicate0

Public Functions#

Type Name
SBCFunctorPredicateXOr0 (const SBCFunctorPredicate0 * firstPredicate, const SBCFunctorPredicate0 * secondPredicate)
Builds the functor predicate. The input functors are cloned internally.
virtual SBCFunctorPredicateXOr0 * 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 ~SBCFunctorPredicateXOr0 ()
Destructor.

Public Functions Documentation#

function SBCFunctorPredicateXOr0#

Builds the functor predicate. The input functors are cloned internally.

SBCFunctorPredicateXOr0::SBCFunctorPredicateXOr0 (
    const SBCFunctorPredicate0 * firstPredicate,
    const SBCFunctorPredicate0 * secondPredicate
) 


function clone#

Clones the functor.

virtual SBCFunctorPredicateXOr0 * SBCFunctorPredicateXOr0::clone () override const

Implements SBCFunctor::clone


function operator()#

Performs the predicate's operations and returns the result.

virtual bool SBCFunctorPredicateXOr0::operator() () override


function operator()#

Performs the predicate's operations and returns the result.

virtual bool SBCFunctorPredicateXOr0::operator() () override const


function ~SBCFunctorPredicateXOr0#

Destructor.

virtual SBCFunctorPredicateXOr0::~SBCFunctorPredicateXOr0 ()