proj home

Files   Classes   Functions   Hierarchy  

fnobj1constTfn< T, A0, A1 > Class Template Reference

#include <fnobjTfn.h>

Inheritance diagram for fnobj1constTfn< T, A0, A1 >:
Collaboration diagram for fnobj1constTfn< T, A0, A1 >:

List of all members.

Public Types

typedef A0(T::* Fptr )(A1) const

Public Member Functions

 fnobj1constTfn (T &data_, Fptr fn_)
A0 operator() (A1 arg1) const

Public Attributes

Tdata
Fptr fn


Detailed Description

template<class T, class A0, class A1>
class fnobj1constTfn< T, A0, A1 >

Definition at line 78 of file fnobjTfn.h.


Member Typedef Documentation

template<class T , class A0 , class A1 >
typedef A0(T::* fnobj1constTfn< T, A0, A1 >::Fptr)(A1) const


Constructor & Destructor Documentation

template<class T , class A0 , class A1 >
fnobj1constTfn< T, A0, A1 >::fnobj1constTfn ( T data_,
Fptr  fn_ 
) [inline]

Definition at line 86 of file fnobjTfn.h.

00087     : data(&data_), fn(fn_) {}


Member Function Documentation

template<class T , class A0 , class A1 >
A0 fnobj1constTfn< T, A0, A1 >::operator() ( A1  arg1  )  const [inline, virtual]

Implements fnobj1const< A0, A1 >.

Definition at line 89 of file fnobjTfn.h.

References fnobj1constTfn< T, A0, A1 >::data, and fnobj1constTfn< T, A0, A1 >::fn.

00090     { return (data->*fn)(arg1); }


Member Data Documentation

template<class T , class A0 , class A1 >
T* fnobj1constTfn< T, A0, A1 >::data

Definition at line 82 of file fnobjTfn.h.

Referenced by fnobj1constTfn< T, A0, A1 >::operator()().

template<class T , class A0 , class A1 >
Fptr fnobj1constTfn< T, A0, A1 >::fn

Definition at line 84 of file fnobjTfn.h.

Referenced by fnobj1constTfn< T, A0, A1 >::operator()().


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

Generated on Fri Mar 4 00:49:56 2011 for Chelton Evans Source by  doxygen 1.5.8