tCallbackString Class Reference

#include <tCallbackString.h>

Inheritance diagram for tCallbackString:

Inheritance graph
[legend]
Collaboration diagram for tCallbackString:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tCallbackString (tCallbackString *&anchor, STRINGRETFUNC *f)

Static Public Member Functions

static tString Exec (tCallbackString *anchor)

Private Attributes

STRINGRETFUNCfunc


Detailed Description

Definition at line 37 of file tCallbackString.h.


Constructor & Destructor Documentation

tCallbackString::tCallbackString ( tCallbackString *&  anchor,
STRINGRETFUNC f 
)

Definition at line 94 of file tCallback.cpp.

References tASSERT.

00095         :tListItem<tCallbackString>(anchor), func(f){
00096     tASSERT(f);
00097 }


Member Function Documentation

tString tCallbackString::Exec ( tCallbackString anchor  )  [static]

Definition at line 99 of file tCallback.cpp.

References func, and tListItem< T >::Next().

Referenced by eCallbackGreeting::Greet().

00099                                                     {
00100     tString ret("");
00101     if (anchor)
00102         ret << (*anchor->func)() << Exec(anchor->Next());
00103 
00104     return ret;
00105 }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

STRINGRETFUNC* tCallbackString::func [private]

Definition at line 38 of file tCallbackString.h.

Referenced by Exec().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:55:01 2008 for Armagetron Advanced by  doxygen 1.5.4