Class sdm::BinaryFunction

template <class TInput1, class TInput2, class TOutput>

Class List > sdm > BinaryFunction

  • #include <function.hpp>

Inherits the following classes: sdm::Function

Public Types

Type Name
typedef std::pair< TInput1, TInput2 > input_type
typedef TOutput output_type

Public Types inherited from sdm::Function

See sdm::Function

Type Name
typedef TInput input_type
typedef TOutput output_type

Public Functions

Type Name
virtual output_type operator() (const TInput1 &, const TInput2 &) = 0
virtual output_type operator() (const input_type & p_input)
virtual ~BinaryFunction ()

Public Functions inherited from sdm::Function

See sdm::Function

Type Name
virtual output_type operator() (const input_type &) = 0
virtual ~Function ()

Public Types Documentation

typedef input_type

using sdm::BinaryFunction< TInput1, TInput2, TOutput >::input_type =  std::pair<TInput1, TInput2>;

typedef output_type

using sdm::BinaryFunction< TInput1, TInput2, TOutput >::output_type =  TOutput;

Public Functions Documentation

function operator() [1/2]

virtual output_type sdm::BinaryFunction::operator() (
    const TInput1 &,
    const TInput2 &
) = 0

function operator() [2/2]

inline virtual output_type sdm::BinaryFunction::operator() (
    const input_type & p_input
) 

Implements sdm::Function::operator()

function ~BinaryFunction

inline virtual sdm::BinaryFunction::~BinaryFunction () 

The documentation for this class was generated from the following file src/sdm/core/function.hpp