|
EvEmu
0.8.4
11 September 2021
|
#include "CloneGenerator.h"


Public Member Functions | |
| ClassCloneGenerator (FILE *outputFile=NULL) | |
Public Member Functions inherited from Generator | |
| Generator (FILE *outputFile=NULL) | |
| Primary constructor. More... | |
| void | SetOutputFile (FILE *outputFile) |
| Sets output file. More... | |
Public Member Functions inherited from XMLParserEx | |
| template<typename T > | |
| void | AddMemberParser (const char *name, T &instance, bool(T::*method)(const TiXmlElement *)) |
| Adds a member parser. More... | |
| template<typename T > | |
| void | AddValueParser (const char *name, T &value) |
| Adds a value parser. More... | |
Public Member Functions inherited from XMLParser | |
| XMLParser () | |
| Primary constructor. More... | |
| virtual | ~XMLParser () |
| A destructor. More... | |
| bool | ParseFile (const char *file) |
| Parses file using registered parsers. More... | |
| bool | ParseElement (const TiXmlElement *element) const |
| Parses element using registered parsers. More... | |
| bool | ParseElementChildren (const TiXmlElement *element, size_t max=0) const |
| Parses element's children using registered parsers. More... | |
| void | AddParser (const char *name, ElementParser *parser) |
| Adds a parser. More... | |
| void | RemoveParser (const char *name) |
| Removes a parser. More... | |
| void | ClearParsers () |
| Clears all parsers. More... | |
Protected Member Functions | |
| void | RegisterProcessors () |
| bool | ProcessElementDef (const TiXmlElement *field) |
| bool | ProcessElement (const TiXmlElement *field) |
| bool | ProcessElementPtr (const TiXmlElement *field) |
| bool | ProcessRaw (const TiXmlElement *field) |
| bool | ProcessInt (const TiXmlElement *field) |
| bool | ProcessLong (const TiXmlElement *field) |
| bool | ProcessReal (const TiXmlElement *field) |
| bool | ProcessBool (const TiXmlElement *field) |
| bool | ProcessNone (const TiXmlElement *field) |
| bool | ProcessBuffer (const TiXmlElement *field) |
| bool | ProcessString (const TiXmlElement *field) |
| bool | ProcessStringInline (const TiXmlElement *field) |
| bool | ProcessWString (const TiXmlElement *field) |
| bool | ProcessWStringInline (const TiXmlElement *field) |
| bool | ProcessToken (const TiXmlElement *field) |
| bool | ProcessTokenInline (const TiXmlElement *field) |
| bool | ProcessObject (const TiXmlElement *field) |
| bool | ProcessObjectInline (const TiXmlElement *field) |
| bool | ProcessObjectEx (const TiXmlElement *field) |
| bool | ProcessTuple (const TiXmlElement *field) |
| bool | ProcessTupleInline (const TiXmlElement *field) |
| bool | ProcessList (const TiXmlElement *field) |
| bool | ProcessListInline (const TiXmlElement *field) |
| bool | ProcessListInt (const TiXmlElement *field) |
| bool | ProcessListLong (const TiXmlElement *field) |
| bool | ProcessListStr (const TiXmlElement *field) |
| bool | ProcessDict (const TiXmlElement *field) |
| bool | ProcessDictInline (const TiXmlElement *field) |
| bool | ProcessDictInlineEntry (const TiXmlElement *field) |
| bool | ProcessDictRaw (const TiXmlElement *field) |
| bool | ProcessDictInt (const TiXmlElement *field) |
| bool | ProcessDictStr (const TiXmlElement *field) |
| bool | ProcessSubStreamInline (const TiXmlElement *field) |
| bool | ProcessSubStructInline (const TiXmlElement *field) |
Protected Member Functions inherited from Generator | |
| void | RegisterProcessors () |
Protected Member Functions inherited from XMLParserEx | |
| template<typename T > | |
| void | AddMemberParser (const char *name, bool(T::*method)(const TiXmlElement *)) |
| Adds a member parser, assuming that instance is this. More... | |
Additional Inherited Members | |
Public Attributes inherited from XMLParser | |
| std::unique_ptr< TiXmlDocument > | m_pXML_Document |
Static Protected Member Functions inherited from Generator | |
| static const char * | GetEncodeType (const TiXmlElement *element) |
| Obtains encode type of given element. More... | |
Protected Attributes inherited from Generator | |
| FILE * | mOutputFile |
Definition at line 31 of file CloneGenerator.h.
| ClassCloneGenerator::ClassCloneGenerator | ( | FILE * | outputFile = NULL | ) |
Definition at line 29 of file CloneGenerator.cpp.
References RegisterProcessors().

|
protectedvirtual |
Implements Generator.
Definition at line 198 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 220 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 495 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 522 of file CloneGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protected |
Definition at line 527 of file CloneGenerator.cpp.
References key(), and XMLParser::ParseElementChildren().
Referenced by RegisterProcessors().


|
protectedvirtual |
Implements Generator.
Definition at line 556 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 539 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 587 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 68 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 42 of file CloneGenerator.cpp.
References Generator::mOutputFile, and XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 90 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 147 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 413 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 439 of file CloneGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 444 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 461 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 478 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 164 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 215 of file CloneGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 321 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 352 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 347 of file CloneGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 121 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 181 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 246 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 263 of file CloneGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 617 of file CloneGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 622 of file CloneGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 290 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 316 of file CloneGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 382 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 408 of file CloneGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 268 of file CloneGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 285 of file CloneGenerator.cpp.
|
protected |
Definition at line 35 of file CloneGenerator.cpp.
References XMLParserEx::AddMemberParser(), ProcessDictInlineEntry(), and Generator::RegisterProcessors().
Referenced by ClassCloneGenerator().

