tConsoleFilter Class Reference

filter for console messages More...

#include <tConsole.h>

Inheritance diagram for tConsoleFilter:

Inheritance graph
[legend]
Collaboration diagram for tConsoleFilter:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

filter for console messages

Definition at line 38 of file tConsole.h.


Constructor & Destructor Documentation

tConsoleFilter::tConsoleFilter ( void   ) 

Definition at line 54 of file tConsole.cpp.

00055         : tListItem< tConsoleFilter >( st_filterAnchor )
00056 {
00057 }

tConsoleFilter::~tConsoleFilter ( void   ) 

Definition at line 68 of file tConsole.cpp.

00069 {
00070 }


Member Function Documentation

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     }

Here is the call graph for this function:

Here is the caller graph for this function:

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     }

Here is the call graph for this function:

int tConsoleFilter::GetPriority (  )  const [inline]

Definition at line 56 of file tConsole.h.

References DoGetPriority().

Referenced by tConsoleFilterComparator::Compare().

00057     {
00058         return DoGetPriority();
00059     }

Here is the call graph for this function:

Here is the caller graph for this function:

void tConsoleFilter::DoFilterLine ( tString line  )  [private, virtual]

filter an output line

Parameters:
line the line to filter
Returns:
the filtered line

Reimplemented in eFaceFindFilter, nConsoleDateFilter, gMapLoadConsoleFilter, and gTopologyPoliceConsoleFiler.

Definition at line 83 of file tConsole.cpp.

Referenced by FilterLine().

00084 {
00085     // no filtering
00086 }

Here is the caller graph for this function:

void tConsoleFilter::DoFilterElement ( tString element  )  [private, virtual]

filter a localizable output paramenter

Parameters:
element the output item parameter ( i.e. player name ) to filter
Returns:
the filtered parameter

Definition at line 99 of file tConsole.cpp.

Referenced by FilterElement().

00100 {
00101     // no filtering
00102 }

Here is the caller graph for this function:

int tConsoleFilter::DoGetPriority ( void   )  const [private, virtual]

return filter priority

Returns:

Reimplemented in nConsoleDateFilter, and gMapLoadConsoleFilter.

Definition at line 114 of file tConsole.cpp.

Referenced by GetPriority().

00115 {
00116     return 0;
00117 }

Here is the caller graph for this function:


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