tCommandLineAnalyzer Class Reference

command line analyzing object More...

#include <tCommandLine.h>

Inheritance diagram for tCommandLineAnalyzer:

Inheritance graph
[legend]
Collaboration diagram for tCommandLineAnalyzer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tCommandLineAnalyzer ()
 ~tCommandLineAnalyzer ()
 default constructor
void Initialize (tCommandLineParser &parser)
 destructor
bool Analyze (tCommandLineParser &parser)
 Analyzes the command line.
void Help (std::ostream &s)
 Analyzes the command line option.

Private Member Functions

virtual void DoInitialize (tCommandLineParser &parser)
 Prints option help.
virtual bool DoAnalyze (tCommandLineParser &parser)=0
 Analyzes the command line option.
virtual void DoHelp (std::ostream &s)=0
 Analyzes the command line option.


Detailed Description

command line analyzing object

Definition at line 85 of file tCommandLine.h.


Constructor & Destructor Documentation

tCommandLineAnalyzer::tCommandLineAnalyzer ( void   ) 

Definition at line 378 of file tCommandLine.cpp.

tCommandLineAnalyzer::~tCommandLineAnalyzer ( void   ) 

default constructor

Definition at line 392 of file tCommandLine.cpp.

00393 {
00394 }


Member Function Documentation

void tCommandLineAnalyzer::Initialize ( tCommandLineParser parser  )  [inline]

destructor

Parameters:
parser the parser containing the command line information

Definition at line 110 of file tCommandLine.h.

References DoInitialize().

Referenced by tCommandLineData::Analyse().

00111 {
00112     DoInitialize( parser );
00113 }

Here is the call graph for this function:

Here is the caller graph for this function:

bool tCommandLineAnalyzer::Analyze ( tCommandLineParser parser  )  [inline]

Analyzes the command line.

Parameters:
parser the parser containing the command line information
Returns:
true if an option was read

Definition at line 126 of file tCommandLine.h.

References DoAnalyze().

Referenced by tCommandLineData::Analyse().

00127 {
00128     return DoAnalyze( parser );
00129 }

Here is the call graph for this function:

Here is the caller graph for this function:

void tCommandLineAnalyzer::Help ( std::ostream &  s  )  [inline]

Analyzes the command line option.

Parameters:
s stream to write the help to

Definition at line 141 of file tCommandLine.h.

References DoHelp().

Referenced by tCommandLineData::Analyse().

00142 {
00143     DoHelp( s );
00144 }

Here is the call graph for this function:

Here is the caller graph for this function:

void tCommandLineAnalyzer::DoInitialize ( tCommandLineParser parser  )  [private, virtual]

Prints option help.

Parameters:
parser parser to analyze

Reimplemented in tDirectoriesCommandLineAnalyzer.

Definition at line 406 of file tCommandLine.cpp.

Referenced by Initialize().

00407 {
00408 }

Here is the caller graph for this function:

bool tCommandLineAnalyzer::DoAnalyze ( tCommandLineParser parser  )  [private, pure virtual]

Analyzes the command line option.

Parameters:
parser parser to analyze
Returns:
true if anaysis was succesful

Implemented in rFastForwardCommandLineAnalyzer, tDirectoriesCommandLineAnalyzer, tRecordingCommandLineAnalyzer, gMainCommandLineAnalyzer, and gCommandLineJumpStartAnalyzer.

Definition at line 421 of file tCommandLine.cpp.

Referenced by Analyze().

00422 {
00423     return false;
00424 }

Here is the caller graph for this function:

void tCommandLineAnalyzer::DoHelp ( std::ostream &  s  )  [private, pure virtual]

Analyzes the command line option.

Parameters:
s string to write help to

Implemented in rFastForwardCommandLineAnalyzer, tDirectoriesCommandLineAnalyzer, tRecordingCommandLineAnalyzer, gMainCommandLineAnalyzer, and gCommandLineJumpStartAnalyzer.

Definition at line 436 of file tCommandLine.cpp.

Referenced by Help().

00437 {
00438 }

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:08 2008 for Armagetron Advanced by  doxygen 1.5.4