class HFileModifier : public TextFileModifier

Used for addon

Inheritance:


Public Methods

HFileModifier(const String& className, ListString *>& markList) throw(Exception)
virtual ~HFileModifier() throw()
bool placeAtEnd() throw()
bool placeAfterSharps() throw()
bool addInheritance(const String& protection, const String& motherClass) throw()
bool addParameter(const String& protection, const String& type, const String& name, ListString *>& comment) throw()
bool addFunction(const String& protection, const String& declaration, ListString *>& comment) throw()
bool addDefine(const String& id, const String& value) throw()
bool addInclude(const String& file) throw()
bool addInEnumAfter(const String& enumName, const String& id, ListString *>& afterLines, ListString *>& comment) throw()
bool addInEnumBefore(const String& enumName, const String& id, ListString *>& beforeLines, ListString *>& comment) throw()
bool addInEnumAtEnd(const String& enumName, const String& id, ListString *>& comment) throw()
bool addSubclass(const String& protection, List< const String * >& wallDeclaration) throw()
bool addRoughlyAfter(List< const String * >& body, List< const String * >& afterLines) throw()
bool addRoughlyBefore(List< const String * >& body, List< const String * >& beforeLines) throw()
bool addRoughlyAtBeginning(List< const String * >& body) throw()
bool addRoughlyAtEnd(List< const String * >& body) throw()

Protected Methods

void message(const String& m) throw()
bool findEnum(const String& enumName) throw()

Inherited from TextFileModifier:

Public Methods

virtual void save() throw(Exception)
virtual void save(const String& nameFile) throw(Exception)
virtual void place() throw()
virtual bool walkIgnoring() throw()
virtual bool walkInversIgnoring() throw()
virtual char current() const throw(Exception)
virtual bool after(const String& s) throw()
virtual bool before(const String& s) throw()
virtual bool after(List< const String * >& l) throw()
virtual bool before(List< const String * >& l) throw()
virtual void insert(ListString*>& lines) throw()
virtual void insert(const String& line) throw()
virtual void jumpBlank() throw()
virtual void jumpBlankInvers() throw()
virtual String* nextWord() throw()
virtual void keepPosition() throw()
virtual void recallPosition() throw(Exception)
virtual void limit() throw()
virtual void unlimit() throw()
virtual void goEndLine() throw()
bool findCloseBrace() throw()

Protected Classes

enum Sens
struct SensChar
char c
Sens s
bool added

Protected Fields

List < SensChar * > list
List < const String * > * mark
const String* name
List < int > listPosition

Protected Methods

virtual void insertRaw(const String& line) throw()
virtual bool walk() throw()
virtual bool walkInvers() throw()
virtual void reparse() throw()

Private Fields

int cptWalk
int minLimit
int maxLimit
int tmpLimit

Documentation

Used for addon. It modify .h files without killing comments of course ! Modification can be suppressed restoring the file like before WITHOUT HAVING SAVED THE FILE !!! It is very difficult, but I think it works.
void message(const String& m) throw()

bool findEnum(const String& enumName) throw()

HFileModifier(const String& className, ListString *>& markList) throw(Exception)

virtual ~HFileModifier() throw()

bool placeAtEnd() throw()

bool placeAfterSharps() throw()

bool addInheritance(const String& protection, const String& motherClass) throw()

bool addParameter(const String& protection, const String& type, const String& name, ListString *>& comment) throw()

bool addFunction(const String& protection, const String& declaration, ListString *>& comment) throw()

bool addDefine(const String& id, const String& value) throw()

bool addInclude(const String& file) throw()

bool addInEnumAfter(const String& enumName, const String& id, ListString *>& afterLines, ListString *>& comment) throw()

bool addInEnumBefore(const String& enumName, const String& id, ListString *>& beforeLines, ListString *>& comment) throw()

bool addInEnumAtEnd(const String& enumName, const String& id, ListString *>& comment) throw()

bool addSubclass(const String& protection, List< const String * >& wallDeclaration) throw()

bool addRoughlyAfter(List< const String * >& body, List< const String * >& afterLines) throw()

bool addRoughlyBefore(List< const String * >& body, List< const String * >& beforeLines) throw()

bool addRoughlyAtBeginning(List< const String * >& body) throw()

bool addRoughlyAtEnd(List< const String * >& body) throw()


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