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


Public Member Functions | |
| ClassConstructGenerator (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 ConstructGenerator.h.
| ClassConstructGenerator::ClassConstructGenerator | ( | FILE * | outputFile = NULL | ) |
Definition at line 30 of file ConstructGenerator.cpp.
References RegisterProcessors().

|
protectedvirtual |
Implements Generator.
Definition at line 171 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 196 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 378 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 394 of file ConstructGenerator.cpp.
References XMLParser::ParseElementChildren().

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


|
protectedvirtual |
Implements Generator.
Definition at line 416 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 411 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 421 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 74 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 43 of file ConstructGenerator.cpp.
References Generator::mOutputFile, and XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 79 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 111 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 342 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 358 of file ConstructGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 363 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 368 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 373 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 131 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 191 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 283 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 305 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 300 of file ConstructGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 95 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 151 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 212 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 232 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 426 of file ConstructGenerator.cpp.
References XMLParser::ParseElementChildren().

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

|
protectedvirtual |
Implements Generator.
Definition at line 262 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 278 of file ConstructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 321 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 337 of file ConstructGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 237 of file ConstructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 257 of file ConstructGenerator.cpp.
|
protected |
Definition at line 36 of file ConstructGenerator.cpp.
References XMLParserEx::AddMemberParser(), ProcessDictInlineEntry(), and Generator::RegisterProcessors().
Referenced by ClassConstructGenerator().

