class ScriptAnalyser

Can read script : give a lot of useful functions to read a script text file

Inheritance:


Public Methods

ScriptAnalyser(const String &nameFile) throw(Exception)
Call analyse() after construction
virtual ~ScriptAnalyser() throw()
virtual bool equal(const String& s0, const String& s1) throw()
virtual void analyse() throw(Exception)
Call it after construction
virtual void keepPosition() throw()
Saves the current position, can save many positions (list)
virtual void recallPosition() throw(Exception)
Places the current position on the saved position, do not recall if not kept !

Protected Fields

const String* nameOfFile
file name
List < const String * > list
bool endOfFile
List < int > position
int currentPosition

Protected Methods

virtual void ignoreEmptyLines() throw()
virtual void check(const String& s) throw(Exception)
virtual void error(const String& e, const String& s, int decal=0, bool throwException=true) throw(Exception)
virtual void error(const String& e, int decal=0, bool throwException=true) throw(Exception)
virtual const String* getLine() throw(Exception)

Documentation

Can read script : give a lot of useful functions to read a script text file. Used by AddOnScriptAnalyser.
const String* nameOfFile
file name

List < const String * > list

bool endOfFile

List < int > position

int currentPosition

virtual void ignoreEmptyLines() throw()

virtual void check(const String& s) throw(Exception)

virtual void error(const String& e, const String& s, int decal=0, bool throwException=true) throw(Exception)

virtual void error(const String& e, int decal=0, bool throwException=true) throw(Exception)

virtual const String* getLine() throw(Exception)

ScriptAnalyser(const String &nameFile) throw(Exception)
Call analyse() after construction

virtual ~ScriptAnalyser() throw()

virtual bool equal(const String& s0, const String& s1) throw()

virtual void analyse() throw(Exception)
Call it after construction

virtual void keepPosition() throw()
Saves the current position, can save many positions (list)

virtual void recallPosition() throw(Exception)
Places the current position on the saved position, do not recall if not kept !


Direct child classes:
AddOnScriptAnalyser
Author:
David FAUTHOUX
See Also:
AddOnScriptAnalyser

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de