#include <configsource.h>
Inheritance diagram for ConfigSource:

Public Member Functions | |
| ConfigSource () | |
| ~ConfigSource () | |
| virtual void | Close () |
| virtual int | ReadLine () |
| const char * | GetCurrentLine () |
| char * | NextToken () |
| const char * | GetCurrentToken () |
| char * | GetToken (int n, int off) |
| char * | GetToken (int n) |
| int | Load (const char *p_cmd) |
| int | Error (char **p_textual=NULL) |
| bool | IsTokenNull () |
| char * | String () |
| int | Int () |
| int | Int (int n) |
| int | Int (int n, int off) |
| long | Long () |
| long | Long (int n) |
| long | Long (int n, int off) |
| double | Double () |
| double | Double (int n) |
| double | Double (int n, int off) |
| bool | Its (const char *p_str) |
Static Public Attributes | |
| int | INVALID_INT = INT_MIN |
| long | INVALID_LONG = LONG_MIN |
| double | INVALID_DOUBLE = DBL_MIN |
Protected Attributes | |
| int | ReadMode |
| char | curr_token [MAX_TOKEN_LENGTH+1] |
| int | LastError |
| int | LineParseIndex |
| char | CurrentLine [MAX_LINE_LENGTH+1] |
| char | Token [100] |
| bool | TokenIsNull |
| char | LastMessage [120] |
|
|
Definition at line 15 of file configsource.cpp. References CS_MODE_COMMAND, LastError, LineParseIndex, ReadMode, and TokenIsNull. |
|
|
Definition at line 26 of file configsource.cpp. References Close(). |
|
|
Reimplemented in TComFileParser. Definition at line 61 of file configsource.h. Referenced by ~ConfigSource(). |
|
||||||||||||
|
Definition at line 268 of file configsource.cpp. References GetToken(), and INVALID_DOUBLE. |
|
|
Definition at line 264 of file configsource.cpp. References Double(). |
|
|
Definition at line 254 of file configsource.cpp. References INVALID_DOUBLE, and NextToken(). Referenced by Double(). |
|
|
Definition at line 192 of file configsource.cpp. References LastError, and LastMessage. Referenced by TGlobalUtils::LoadFiles(), and TModuleBase::Run(). |
|
|
Definition at line 66 of file configsource.h. Referenced by WormServerBase::HandleConfigLine(), TModuleBase::HandleConfigLine(), CMFCDialogModuleBase::HandleConfigLine(), TGlobalUtils::HandleConfigLine(), TGlobalUtils::LoadFiles(), and TModuleBase::Run(). |
|
|
Definition at line 68 of file configsource.h. |
|
|
Definition at line 173 of file configsource.cpp. References GetToken(). |
|
||||||||||||
|
Definition at line 142 of file configsource.cpp. References CurrentLine, LineParseIndex, and Token. Referenced by Double(), GetToken(), Int(), and Long(). |
|
||||||||||||
|
Definition at line 222 of file configsource.cpp. References GetToken(), and INVALID_INT. |
|
|
Definition at line 218 of file configsource.cpp. References Int(). |
|
|
Definition at line 208 of file configsource.cpp. References INVALID_INT, and NextToken(). Referenced by WormServerBase::HandleConfigLine(), RingReaderServer::HandleConfigLine(), MutableServerBase::HandleConfigLine(), TModuleBase::HandleConfigLine(), CMFCDialogModuleBase::HandleConfigLine(), TGlobalUtils::HandleConfigLine(), ServerTemplate::HandleParameterLine(), Int(), and TGlobalUtils::ParseLookupLine(). |
|
|
Definition at line 73 of file configsource.h. Referenced by ServerTemplate::HandleConfigLine(), ServerTemplate::HandleParameterLine(), and TGlobalUtils::LoadFiles(). |
|
|
|
Definition at line 178 of file configsource.cpp. References CS_MODE_COMMAND, LastError, LineParseIndex, MAX_LINE_LENGTH, and ReadMode. Referenced by ServerTemplate::ProcessRequest(). |
|
||||||||||||
|
Definition at line 245 of file configsource.cpp. References GetToken(), and INVALID_INT. |
|
|
Definition at line 241 of file configsource.cpp. References Long(). |
|
|
Definition at line 231 of file configsource.cpp. References INVALID_LONG, and NextToken(). Referenced by TGlobalUtils::HandleConfigLine(), Long(), and TGlobalUtils::ParseLookupLine(). |
|
|
Definition at line 31 of file configsource.cpp. References CurrentLine, LastError, LineParseIndex, Token, and TokenIsNull. Referenced by Double(), Int(), TGlobalUtils::LoadFiles(), Long(), main(), CMFCDialogAppBase::ParseCommandFile(), TGlobalUtils::ParseLookupLine(), TComFileParser::ReadLine(), TModuleBase::Run(), and String(). |
|
|
Reimplemented in TComFileParser, and OracleConfigSource. Definition at line 64 of file configsource.h. References COMFILE_EOF. |
|
|
|
Definition at line 44 of file configsource.h. |
|
|
Definition at line 50 of file configsource.h. Referenced by GetToken(), and NextToken(). |
|
|
Definition at line 9 of file configsource.cpp. Referenced by Double(). |
|
|
Definition at line 7 of file configsource.cpp. Referenced by TModuleBase::CheckConfig(), WormServerBase::HandleConfigLine(), MutableServerBase::HandleConfigLine(), TModuleBase::HandleConfigLine(), TGlobalUtils::HandleConfigLine(), ServerTemplate::HandleParameterLine(), Int(), Long(), and TGlobalUtils::ParseLookupLine(). |
|
|
Definition at line 8 of file configsource.cpp. Referenced by TGlobalUtils::HandleConfigLine(), Long(), and TGlobalUtils::ParseLookupLine(). |
|
|
Definition at line 46 of file configsource.h. Referenced by ConfigSource(), Error(), Load(), OracleConfigSource::LoadFromDB(), NextToken(), TComFileParser::Open(), OracleConfigSource::ReadLine(), and TComFileParser::ReadLine(). |
|
|
Definition at line 55 of file configsource.h. Referenced by Error(), OracleConfigSource::LoadFromDB(), and OracleConfigSource::ReadLine(). |
|
|
Definition at line 48 of file configsource.h. Referenced by ConfigSource(), GetToken(), Load(), OracleConfigSource::LoadFromDB(), NextToken(), OracleConfigSource::ReadLine(), and TComFileParser::ReadLine(). |
|
|
Definition at line 42 of file configsource.h. Referenced by ConfigSource(), TComFileParser::DesignateArchive(), Load(), TComFileParser::Open(), and TComFileParser::TComFileParser(). |
|
|
Definition at line 52 of file configsource.h. Referenced by GetToken(), OracleConfigSource::LoadFromDB(), NextToken(), and OracleConfigSource::ReadLine(). |
|
|
Definition at line 53 of file configsource.h. Referenced by ConfigSource(), and NextToken(). |
1.3-rc3