Web Analytics Made Easy - Statcounter
Skip to content

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.

virtual SBCFunctorPredicateOrOr0 * SBCFunctorPredicateOrOr0::clone () override const

Implements SBCFunctor::clone


function operator()#

Performs the predicate's operations and returns the result.

virtual bool SBCFunctorPredicateOrOr0::operator() () override


function operator()#

Performs the predicate's operations and returns the result.

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


function ~SBCFunctorPredicateOrOr0#

Destructor.

virtual SBCFunctorPredicateOrOr0::~SBCFunctorPredicateOrOr0 ()