Web Analytics Made Easy - Statcounter
Skip to content

Class SBCFunctorConstant0#

template <typename Output>

ClassList > SBCFunctorConstant0

This class describes a constant functor.

  • #include "SBCFunctorConstant.hpp"

Inherits the following classes: SBCFunctor0< Output >

Public Functions#

Type Name
SBCFunctorConstant0 (const Output & v)
Build the constant functcor with value v __
virtual SBCFunctorConstant0< Output > * clone () const
Clones the constant functor.
virtual Output operator() ()
Returns the value.
virtual Output operator() () const
Returns the value.
virtual ~SBCFunctorConstant0 ()
Destructor.

Public Functions Documentation#

function SBCFunctorConstant0#

Build the constant functcor with value v __

inline SBCFunctorConstant0::SBCFunctorConstant0 (
    const Output & v
) 


function clone#

Clones the constant functor.

inline virtual SBCFunctorConstant0 < Output > * SBCFunctorConstant0::clone () const

Implements SBCFunctor::clone


function operator()#

Returns the value.

inline virtual Output SBCFunctorConstant0::operator() () 


function operator()#

Returns the value.

inline virtual Output SBCFunctorConstant0::operator() () const


function ~SBCFunctorConstant0#

Destructor.

inline virtual SBCFunctorConstant0::~SBCFunctorConstant0 ()