EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ConstructGenerator.h
Go to the documentation of this file.
1 /*
2  ------------------------------------------------------------------------------------
3  LICENSE:
4  ------------------------------------------------------------------------------------
5  This file is part of EVEmu: EVE Online Server Emulator
6  Copyright 2006 - 2021 The EVEmu Team
7  For the latest information visit https://evemu.dev
8  ------------------------------------------------------------------------------------
9  This program is free software; you can redistribute it and/or modify it under
10  the terms of the GNU Lesser General Public License as published by the Free Software
11  Foundation; either version 2 of the License, or (at your option) any later
12  version.
13 
14  This program is distributed in the hope that it will be useful, but WITHOUT
15  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License along with
19  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20  Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21  http://www.gnu.org/copyleft/lesser.txt.
22  ------------------------------------------------------------------------------------
23  Author: Zhur
24 */
25 
26 #ifndef __CONSTRUCTGENERATOR_H_INCL__
27 #define __CONSTRUCTGENERATOR_H_INCL__
28 
29 #include "Generator.h"
30 
32 : public Generator
33 {
34 public:
35  ClassConstructGenerator( FILE* outputFile = NULL );
36 
37 protected:
38  void RegisterProcessors();
39 
40  bool ProcessElementDef( const TiXmlElement* field );
41  bool ProcessElement( const TiXmlElement* field );
42  bool ProcessElementPtr( const TiXmlElement* field );
43 
44  bool ProcessRaw( const TiXmlElement* field );
45  bool ProcessInt( const TiXmlElement* field );
46  bool ProcessLong( const TiXmlElement* field );
47  bool ProcessReal( const TiXmlElement* field );
48  bool ProcessBool( const TiXmlElement* field );
49  bool ProcessNone( const TiXmlElement* field );
50  bool ProcessBuffer( const TiXmlElement* field );
51 
52  bool ProcessString( const TiXmlElement* field );
53  bool ProcessStringInline( const TiXmlElement* field );
54  bool ProcessWString( const TiXmlElement* field );
55  bool ProcessWStringInline( const TiXmlElement* field );
56  bool ProcessToken( const TiXmlElement* field );
57  bool ProcessTokenInline( const TiXmlElement* field );
58 
59  bool ProcessObject( const TiXmlElement* field );
60  bool ProcessObjectInline( const TiXmlElement* field );
61  bool ProcessObjectEx( const TiXmlElement* field );
62 
63  bool ProcessTuple( const TiXmlElement* field );
64  bool ProcessTupleInline( const TiXmlElement* field );
65  bool ProcessList( const TiXmlElement* field );
66  bool ProcessListInline( const TiXmlElement* field );
67  bool ProcessListInt( const TiXmlElement* field );
68  bool ProcessListLong( const TiXmlElement* field );
69  bool ProcessListStr( const TiXmlElement* field );
70  bool ProcessDict( const TiXmlElement* field );
71  bool ProcessDictInline( const TiXmlElement* field );
72  bool ProcessDictInlineEntry( const TiXmlElement* field );
73  bool ProcessDictRaw( const TiXmlElement* field );
74  bool ProcessDictInt( const TiXmlElement* field );
75  bool ProcessDictStr( const TiXmlElement* field );
76 
77  bool ProcessSubStreamInline( const TiXmlElement* field );
78  bool ProcessSubStructInline( const TiXmlElement* field );
79 };
80 
81 #endif
bool ProcessTuple(const TiXmlElement *field)
bool ProcessTupleInline(const TiXmlElement *field)
bool ProcessListInt(const TiXmlElement *field)
bool ProcessDictStr(const TiXmlElement *field)
bool ProcessTokenInline(const TiXmlElement *field)
bool ProcessDict(const TiXmlElement *field)
bool ProcessNone(const TiXmlElement *field)
bool ProcessObjectInline(const TiXmlElement *field)
bool ProcessBuffer(const TiXmlElement *field)
bool ProcessBool(const TiXmlElement *field)
bool ProcessSubStreamInline(const TiXmlElement *field)
bool ProcessToken(const TiXmlElement *field)
bool ProcessString(const TiXmlElement *field)
bool ProcessWStringInline(const TiXmlElement *field)
bool ProcessDictInt(const TiXmlElement *field)
bool ProcessElement(const TiXmlElement *field)
bool ProcessLong(const TiXmlElement *field)
bool ProcessSubStructInline(const TiXmlElement *field)
bool ProcessObject(const TiXmlElement *field)
bool ProcessDictInline(const TiXmlElement *field)
bool ProcessRaw(const TiXmlElement *field)
bool ProcessListStr(const TiXmlElement *field)
bool ProcessDictInlineEntry(const TiXmlElement *field)
bool ProcessList(const TiXmlElement *field)
bool ProcessListInline(const TiXmlElement *field)
bool ProcessElementPtr(const TiXmlElement *field)
bool ProcessReal(const TiXmlElement *field)
bool ProcessListLong(const TiXmlElement *field)
ClassConstructGenerator(FILE *outputFile=NULL)
Generic class for eve-xmlpktgen's generators.
Definition: Generator.h:37
bool ProcessDictRaw(const TiXmlElement *field)
bool ProcessElementDef(const TiXmlElement *field)
bool ProcessInt(const TiXmlElement *field)
bool ProcessObjectEx(const TiXmlElement *field)
bool ProcessWString(const TiXmlElement *field)
bool ProcessStringInline(const TiXmlElement *field)