(example:'*.ini') class AddOnScriptAnalyser : public ScriptAnalyser

Main class for "addon"

Inheritance:


Public Methods

AddOnScriptAnalyser(const String& nameFile, bool verbose) throw(Exception)
~AddOnScriptAnalyser() throw()
void analyse() throw(Exception)
void analyse(ListString*>& param, const String& name, const String& author) throw(Exception)
void suppress() throw(Exception)
void suppress(ListString*>& param, const String& name, const String& author) throw(Exception)

Protected Fields

bool verbose
const String* name
Addon name
const String* author
const String* nameClass
Modifiying class name
List < const String * > mark
Mark to add before the added code (so it can be removed)
List < const String * > markMakefile
Mark to add before lines in Makefile and in .addon

Protected Methods

void messageErr(const String& m) const throw()
void message(const String& m) const throw()
void message(const String& m0, const String& m1) const throw()
const String* getString(const String& before) throw(Exception)
List String *> * getPureBlock(const String& begin, const String& end, bool checkEnds=true) throw(Exception)
void checkNotEnd(const String& s) throw(Exception)
List String *> * getPureBlockWithoutBegin(const String& begin, const String& end, bool checkEnds=true) throw(Exception)
void getBlockAddClass() throw(Exception)
void getBlockAddParameter(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)
void getBlockAddFunction(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)
void getBlockAddDefine(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)
void getBlockAddInclude(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)
void getBlockAddInEnum(HFileModifier& hFile) throw(Exception)
void getBlockAddInheritance(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)
void getBlockAddSubclass(HFileModifier& hFile) throw(Exception)
void getBlockAddRoughly(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)
void getBlockCompleteFunction(CCFileModifier& ccFile) throw(Exception)
void getBlockCompleteClass() throw(Exception)
void getBlockCompleteIniFiles() throw(Exception)
void supprBlockCompleteIniFiles() throw(Exception)
void checkIfAlready() throw(Exception)
void checkNeeded(const String& name, const String& author) throw(Exception)
void getBlockNeededAddon() throw(Exception)
void includeScript(const String& file, ListString *> param, bool suppress) throw(Exception)
void getBlockIncludeScript(bool suppress=false) throw(Exception)
void getVersionNeeded() throw(Exception)
bool isIf(const String& s) const throw()
void cleanTheIfs(bool all) throw(Exception)
void replaceWord(const String& from, const String& to) throw()
void replaceParam(ListString*> param, const String& name, const String& author) throw(Exception)
void completeAddonFile() throw(Exception)
void warningNeeded() throw()
void run() throw(Exception)
void unrun() throw(Exception)

Inherited from ScriptAnalyser:

Public Methods

virtual bool equal(const String& s0, const String& s1) throw()
virtual void keepPosition() throw()
virtual void recallPosition() throw(Exception)

Protected Fields

const String* nameOfFile
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

Main class for "addon". This program enables you to add code in source easily, this added code can also be removed.
bool verbose

const String* name
Addon name

const String* author

const String* nameClass
Modifiying class name

List < const String * > mark
Mark to add before the added code (so it can be removed)

List < const String * > markMakefile
Mark to add before lines in Makefile and in .addon

void messageErr(const String& m) const throw()

void message(const String& m) const throw()

void message(const String& m0, const String& m1) const throw()

const String* getString(const String& before) throw(Exception)

List String *> * getPureBlock(const String& begin, const String& end, bool checkEnds=true) throw(Exception)

void checkNotEnd(const String& s) throw(Exception)

List String *> * getPureBlockWithoutBegin(const String& begin, const String& end, bool checkEnds=true) throw(Exception)

void getBlockAddClass() throw(Exception)

void getBlockAddParameter(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)

void getBlockAddFunction(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)

void getBlockAddDefine(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)

void getBlockAddInclude(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)

void getBlockAddInEnum(HFileModifier& hFile) throw(Exception)

void getBlockAddInheritance(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)

void getBlockAddSubclass(HFileModifier& hFile) throw(Exception)

void getBlockAddRoughly(HFileModifier& hFile, CCFileModifier& ccFile) throw(Exception)

void getBlockCompleteFunction(CCFileModifier& ccFile) throw(Exception)

void getBlockCompleteClass() throw(Exception)

void getBlockCompleteIniFiles() throw(Exception)

void supprBlockCompleteIniFiles() throw(Exception)

void checkIfAlready() throw(Exception)

void checkNeeded(const String& name, const String& author) throw(Exception)

void getBlockNeededAddon() throw(Exception)

void includeScript(const String& file, ListString *> param, bool suppress) throw(Exception)

void getBlockIncludeScript(bool suppress=false) throw(Exception)

void getVersionNeeded() throw(Exception)

bool isIf(const String& s) const throw()

void cleanTheIfs(bool all) throw(Exception)

void replaceWord(const String& from, const String& to) throw()

void replaceParam(ListString*> param, const String& name, const String& author) throw(Exception)

void completeAddonFile() throw(Exception)

void warningNeeded() throw()

void run() throw(Exception)

void unrun() throw(Exception)

AddOnScriptAnalyser(const String& nameFile, bool verbose) throw(Exception)

~AddOnScriptAnalyser() throw()

void analyse() throw(Exception)

void analyse(ListString*>& param, const String& name, const String& author) throw(Exception)

void suppress() throw(Exception)

void suppress(ListString*>& param, const String& name, const String& author) throw(Exception)


This class has no child classes.
Author:
David FAUTHOUX

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