proj home

Files   Classes   Functions   Hierarchy  

fnobj0constTfn< T, A0 > Class Template Reference

#include <fnobjTfn.h>

Inheritance diagram for fnobj0constTfn< T, A0 >:
Collaboration diagram for fnobj0constTfn< T, A0 >:

List of all members.

Public Types

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

Public Member Functions

 fnobj0constTfn (T &data_, Fptr fn_)
A0 operator() () const

Public Attributes

Tdata
Fptr fn


Detailed Description

template<class T, class A0>
class fnobj0constTfn< T, A0 >

Definition at line 36 of file fnobjTfn.h.


Member Typedef Documentation

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


Constructor & Destructor Documentation

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

Definition at line 44 of file fnobjTfn.h.

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


Member Function Documentation

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

Implements fnobj0const< A0 >.

Definition at line 47 of file fnobjTfn.h.

References fnobj0constTfn< T, A0 >::data, and fnobj0constTfn< T, A0 >::fn.

00048      { return (data->*fn)(); }


Member Data Documentation

template<class T, class A0>
T* fnobj0constTfn< T, A0 >::data

Definition at line 40 of file fnobjTfn.h.

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

template<class T, class A0>
Fptr fnobj0constTfn< T, A0 >::fn

Definition at line 42 of file fnobjTfn.h.

Referenced by fnobj0constTfn< T, A0 >::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