#include <tCallbackString.h>
Public Member Functions | |
tCallbackString (tCallbackString *&anchor, STRINGRETFUNC *f) | |
Static Public Member Functions | |
static tString | Exec (tCallbackString *anchor) |
Private Attributes | |
STRINGRETFUNC * | func |
Definition at line 37 of file tCallbackString.h.
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 }
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 }
STRINGRETFUNC* tCallbackString::func [private] |