#include <tCommandLine.h>
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. |
Definition at line 85 of file tCommandLine.h.
tCommandLineAnalyzer::tCommandLineAnalyzer | ( | void | ) |
Definition at line 378 of file tCommandLine.cpp.
00379 : tListItem< tCommandLineAnalyzer >( s_commandLineAnalyzerAnchor ) 00380 { 00381 }
tCommandLineAnalyzer::~tCommandLineAnalyzer | ( | void | ) |
void tCommandLineAnalyzer::Initialize | ( | tCommandLineParser & | parser | ) | [inline] |
destructor
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 }
bool tCommandLineAnalyzer::Analyze | ( | tCommandLineParser & | parser | ) | [inline] |
Analyzes the command line.
parser | the parser containing the command line information |
Definition at line 126 of file tCommandLine.h.
References DoAnalyze().
Referenced by tCommandLineData::Analyse().
00127 { 00128 return DoAnalyze( parser ); 00129 }
void tCommandLineAnalyzer::Help | ( | std::ostream & | s | ) | [inline] |
Analyzes the command line option.
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 }
void tCommandLineAnalyzer::DoInitialize | ( | tCommandLineParser & | parser | ) | [private, virtual] |
Prints option help.
parser | parser to analyze |
Reimplemented in tDirectoriesCommandLineAnalyzer.
Definition at line 406 of file tCommandLine.cpp.
Referenced by Initialize().
bool tCommandLineAnalyzer::DoAnalyze | ( | tCommandLineParser & | parser | ) | [private, pure virtual] |
Analyzes the command line option.
parser | parser to analyze |
Implemented in rFastForwardCommandLineAnalyzer, tDirectoriesCommandLineAnalyzer, tRecordingCommandLineAnalyzer, gMainCommandLineAnalyzer, and gCommandLineJumpStartAnalyzer.
Definition at line 421 of file tCommandLine.cpp.
Referenced by Analyze().
void tCommandLineAnalyzer::DoHelp | ( | std::ostream & | s | ) | [private, pure virtual] |
Analyzes the command line option.
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().