#include <tConsole.h>
Public Member Functions | |
tConsoleFilter () | |
~tConsoleFilter () | |
void | FilterLine (tString &line) |
filter an output line | |
void | FilterElement (tString &element) |
filter a localizable output paramenter | |
int | GetPriority () const |
Private Member Functions | |
virtual void | DoFilterLine (tString &line) |
filter an output line | |
virtual void | DoFilterElement (tString &element) |
filter a localizable output paramenter | |
virtual int | DoGetPriority () const |
return filter priority |
Definition at line 38 of file tConsole.h.
tConsoleFilter::tConsoleFilter | ( | void | ) |
Definition at line 54 of file tConsole.cpp.
00055 : tListItem< tConsoleFilter >( st_filterAnchor ) 00056 { 00057 }
tConsoleFilter::~tConsoleFilter | ( | void | ) |
void tConsoleFilter::FilterLine | ( | tString & | line | ) | [inline] |
filter an output line
Definition at line 45 of file tConsole.h.
References DoFilterLine().
Referenced by FilterLine().
00046 { 00047 DoFilterLine( line ); 00048 }
void tConsoleFilter::FilterElement | ( | tString & | element | ) | [inline] |
filter a localizable output paramenter
Definition at line 51 of file tConsole.h.
References DoFilterElement().
00052 { 00053 DoFilterElement( element ); 00054 }
int tConsoleFilter::GetPriority | ( | ) | const [inline] |
Definition at line 56 of file tConsole.h.
References DoGetPriority().
Referenced by tConsoleFilterComparator::Compare().
00057 { 00058 return DoGetPriority(); 00059 }
void tConsoleFilter::DoFilterLine | ( | tString & | line | ) | [private, virtual] |
filter an output line
line | the line to filter |
Reimplemented in eFaceFindFilter, nConsoleDateFilter, gMapLoadConsoleFilter, and gTopologyPoliceConsoleFiler.
Definition at line 83 of file tConsole.cpp.
Referenced by FilterLine().
void tConsoleFilter::DoFilterElement | ( | tString & | element | ) | [private, virtual] |
filter a localizable output paramenter
element | the output item parameter ( i.e. player name ) to filter |
Definition at line 99 of file tConsole.cpp.
Referenced by FilterElement().
int tConsoleFilter::DoGetPriority | ( | void | ) | const [private, virtual] |
return filter priority
Reimplemented in nConsoleDateFilter, and gMapLoadConsoleFilter.
Definition at line 114 of file tConsole.cpp.
Referenced by GetPriority().