General information:Author: klaas Version: 1.0 Date: Thu Oct 21 14:44:20 MET 1999 |
Header files: |
Code files: |
used to parse command strings comming from files
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
Line_Parser(AliasList* aliaslist,char* the_file)
Description:
constructor
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
~Line_Parser()
Description:
destructor
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: G_BOOL |
Declaration:
G_BOOL ReadItem(char* type)
Description:
read a command, if not the required one, it is stored
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: int |
Declaration:
int GetLineNumber()
Description:
current line number
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: char* |
Declaration:
char* GetValue(int i)
Description:
get the n'th argument
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void Reset()
Description:
start from beginning of the file
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: G_BOOL |
Declaration:
G_BOOL GetNextCommand()
Description:
get the next command
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void IncC()
Description:
reading characters from the file
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: char |
Declaration:
char PeekNextC()
Description:
peek at next character
scope: protected | type: basic | typename: int |
Declaration:
int _linenumber
Description:
current line number
scope: protected | type: basic | typename: char* |
Declaration:
char* _line_file
Description:
holds the filename from the layer file
scope: protected | type: basic | typename: char* |
Declaration:
char* _keyword
Description:
last read command
scope: protected | type: basic | typename: G_BOOL |
Declaration:
G_BOOL _back
Description:
is the last command stored