Web Analytics Made Easy - Statcounter
Skip to content

Class SBCFunctorMinus0#

template <typename Output>

ClassList > SBCFunctorMinus0

This class describes a functor that is the difference between two functors.

  • #include "SBCFunctorMinus.hpp"

Inherits the following classes: SBCFunctor0< Output >

Public Functions#

Type Name
SBCFunctorMinus0 (const SBCFunctor0< Output > * firstFunctor, const SBCFunctor0< Output > * secondFunctor)
Builds a functor that will return the difference of the results of firstFunctor andsecondFunctor . The input functors are cloned internally.
virtual SBCFunctorMinus0< Output > * clone () override const
Clones the functor.
virtual Output operator() () override
Performs the functor's operation and returns the result.
virtual Output operator() () override const
Performs the functor's operation and returns the result.
virtual ~SBCFunctorMinus0 ()
Destructor.

Public Functions Documentation#

function SBCFunctorMinus0#

Builds a functor that will return the difference of the results of firstFunctor andsecondFunctor . The input functors are cloned internally.

SBCFunctorMinus0::SBCFunctorMinus0 (
    const SBCFunctor0< Output > * firstFunctor,
    const SBCFunctor0< Output > * secondFunctor
) 


function clone#

Clones the functor.

virtual SBCFunctorMinus0 < Output > * SBCFunctorMinus0::clone () override const

Implements SBCFunctor::clone


function operator()#

Performs the functor's operation and returns the result.

virtual Output SBCFunctorMinus0::operator() () override


function operator()#

Performs the functor's operation and returns the result.

virtual Output SBCFunctorMinus0::operator() () override const


function ~SBCFunctorMinus0#

Destructor.

virtual SBCFunctorMinus0::~SBCFunctorMinus0 ()