#include <tCallback.h>
Public Member Functions | |
tCallbackAnd (tCallbackAnd *&anchor, BOOLRETFUNC *f) | |
Static Public Member Functions | |
static bool | Exec (tCallbackAnd *anchor) |
Private Attributes | |
BOOLRETFUNC * | func |
Definition at line 53 of file tCallback.h.
tCallbackAnd::tCallbackAnd | ( | tCallbackAnd *& | anchor, | |
BOOLRETFUNC * | f | |||
) |
Definition at line 67 of file tCallback.cpp.
References tASSERT.
00068 :tListItem<tCallbackAnd>(anchor), func(f){ 00069 tASSERT(f); 00070 }
bool tCallbackAnd::Exec | ( | tCallbackAnd * | anchor | ) | [static] |
Definition at line 72 of file tCallback.cpp.
References func, and tListItem< T >::Next().
00072 { 00073 if (anchor) 00074 return (*anchor->func)() && Exec(anchor->Next()); 00075 else 00076 return true; 00077 }
BOOLRETFUNC* tCallbackAnd::func [private] |