#include <tCallback.h>
Public Member Functions | |
tCallbackOr (tCallbackOr *&anchor, BOOLRETFUNC *f) | |
Static Public Member Functions | |
static bool | Exec (tCallbackOr *anchor) |
Private Attributes | |
BOOLRETFUNC * | func |
Definition at line 60 of file tCallback.h.
tCallbackOr::tCallbackOr | ( | tCallbackOr *& | anchor, | |
BOOLRETFUNC * | f | |||
) |
Definition at line 80 of file tCallback.cpp.
References tASSERT.
00081 :tListItem<tCallbackOr>(anchor), func(f){ 00082 tASSERT(f); 00083 }
bool tCallbackOr::Exec | ( | tCallbackOr * | anchor | ) | [static] |
Definition at line 85 of file tCallback.cpp.
References func, and tListItem< T >::Next().
Referenced by rForceTextCallback::ForceText(), eTransferInhibitor::no_transfer(), rNoAutoDisplayAtNewlineCallback::NoAutoDisplayAtNewline(), and rSmallConsoleCallback::SmallColsole().
00085 { 00086 if (anchor) 00087 return (*anchor->func)() || Exec(anchor->Next()); 00088 else 00089 return false; 00090 }
BOOLRETFUNC* tCallbackOr::func [private] |