ScummVM API documentation
Common::Functor1Mem< Arg, Res, T > Class Template Reference

#include <func.h>

Inheritance diagram for Common::Functor1Mem< Arg, Res, T >:
Common::Functor1< Arg, Res > Common::UnaryFunction< Arg, Res >

Public Types

typedef Res(T::* FuncType) (Arg)
 
- Public Types inherited from Common::UnaryFunction< Arg, Res >
typedef Arg ArgumenType
 
typedef Res ResultType
 

Public Member Functions

 Functor1Mem (T *t, const FuncType &func)
 
bool isValid () const
 
Res operator() (Arg v1) const
 

Detailed Description

template<class Arg, class Res, class T>
class Common::Functor1Mem< Arg, Res, T >

Functor object for an unary class member function. Usage is like with Functor0Mem. The resulting functor object will take one parameter though.

See also
Functor0Mem

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