#include <linepars.h>
Inheritance diagram for Line_Parser:
Public Methods | |
Line_Parser (AliasList *aliaslist, char *the_file) | |
constructor | |
~Line_Parser () | |
destructor | |
bool | ReadItem (char *type) |
read a command, if not the required one, it is stored | |
int | GetLineNumber () |
current line number | |
const wxString * | GetValue (int i) |
get the n'th argument | |
char * | GetFileName () |
get opened file | |
void | Reset () |
start from beginning of the file | |
bool | GetNextCommand () |
get the next command | |
Protected Methods | |
void | IncC () |
reading characters from the file | |
char | PeekNextC () |
peek at next character | |
Protected Attributes | |
int | _linenumber |
current line number | |
char * | _line_file |
holds the filename from the layer file | |
const wxString * | _keyword |
last read command | |
bool | _back |
is the last command stored |