ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::Functor2Fun< Arg1, Arg2, Res > Class Template Reference

Functor object for a binary function. More...

#include <func.h>

Inheritance diagram for Common::Functor2Fun< Arg1, Arg2, Res >:
Collaboration diagram for Common::Functor2Fun< Arg1, Arg2, Res >:

List of all members.

Public Types

typedef Res(* FuncType )(Arg1, Arg2)

Public Member Functions

 Functor2Fun (const FuncType func)
bool isValid () const
Res operator() (Arg1 v1, Arg2 v2) const

Private Attributes

const FuncType _func

Detailed Description

template<class Arg1, class Arg2, class Res>
class Common::Functor2Fun< Arg1, Arg2, Res >

Functor object for a binary function.

See also:
Functor2Mem

Definition at line 477 of file func.h.


Member Typedef Documentation

template<class Arg1 , class Arg2 , class Res >
typedef Res(* Common::Functor2Fun< Arg1, Arg2, Res >::FuncType)(Arg1, Arg2)

Definition at line 479 of file func.h.


Constructor & Destructor Documentation

template<class Arg1 , class Arg2 , class Res >
Common::Functor2Fun< Arg1, Arg2, Res >::Functor2Fun ( const FuncType  func  )  [inline]

Definition at line 481 of file func.h.


Member Function Documentation

template<class Arg1 , class Arg2 , class Res >
bool Common::Functor2Fun< Arg1, Arg2, Res >::isValid (  )  const [inline, virtual]

Implements Common::Functor2< Arg1, Arg2, Res >.

Definition at line 483 of file func.h.

template<class Arg1 , class Arg2 , class Res >
Res Common::Functor2Fun< Arg1, Arg2, Res >::operator() ( Arg1  v1,
Arg2  v2 
) const [inline, virtual]

Implements Common::Functor2< Arg1, Arg2, Res >.

Definition at line 484 of file func.h.


Member Data Documentation

template<class Arg1 , class Arg2 , class Res >
const FuncType Common::Functor2Fun< Arg1, Arg2, Res >::_func [private]

Definition at line 488 of file func.h.


The documentation for this class was generated from the following file:


Generated on Sat Aug 17 2019 05:02:39 for ResidualVM by doxygen 1.7.1
curved edge   curved edge