a2dFileLineParser Class Reference

used to parse command strings comming from files More...

#include <cparser.h>

Inheritance diagram for a2dFileLineParser:

Inheritance graph
[legend]
Collaboration diagram for a2dFileLineParser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dFileLineParser (const wxString &the_file, a2dVariablesHash &aliaslist)
 constructor
 ~a2dFileLineParser ()
 destructor
bool ReadItem (const wxString &type)
 read a command, if not the required one, it is stored
int GetLineNumber ()
 current line number
wxString & GetFileName ()
 get opened file
void Reset ()
 start from beginning of the file
bool ParseNextCommand ()
 parse the next command
wxString & LastReadCommand ()

Protected Member Functions

void IncC ()
 reading characters from the file
wxChar PeekNextC ()
 peek at next character

Protected Attributes

int m_linenumber
 current line number
wxString m_line_file
 holds the filename from the layer file
wxString m_keyword
 last read command
bool m_back
 is the last command stored


Detailed Description

used to parse command strings comming from files

Definition at line 275 of file cparser.h.


The documentation for this class was generated from the following files:
a2dFileLineParser Class Reference -- Tue Aug 31 18:27:23 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation