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


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

|
protectedvirtual |
Implements Generator.
Definition at line 120 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 130 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 281 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 297 of file DestructGenerator.cpp.
References XMLParser::ParseElementChildren().

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


|
protectedvirtual |
Implements Generator.
Definition at line 319 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 314 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 340 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 68 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 43 of file DestructGenerator.cpp.
References Generator::mOutputFile, and XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 73 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 105 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 246 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 262 of file DestructGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 267 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 272 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 277 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 110 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 125 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 187 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 209 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 204 of file DestructGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 89 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 115 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 146 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 151 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 361 of file DestructGenerator.cpp.
References XMLParser::ParseElementChildren().

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

|
protectedvirtual |
Implements Generator.
Definition at line 166 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 182 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 225 of file DestructGenerator.cpp.
References Generator::mOutputFile.
|
protectedvirtual |
Implements Generator.
Definition at line 241 of file DestructGenerator.cpp.
References XMLParser::ParseElementChildren().

|
protectedvirtual |
Implements Generator.
Definition at line 156 of file DestructGenerator.cpp.
|
protectedvirtual |
Implements Generator.
Definition at line 161 of file DestructGenerator.cpp.
|
protected |
Definition at line 36 of file DestructGenerator.cpp.
References XMLParserEx::AddMemberParser(), ProcessDictInlineEntry(), and Generator::RegisterProcessors().
Referenced by ClassDestructGenerator().

