gwenhywfar  4.20.0
gwen_parser_element.h
Go to the documentation of this file.
1 /**********************************************************
2  * This file has been automatically created by "typemaker2"
3  * from the file "gwen_parser_element.xml".
4  * Please do not edit this file, all changes will be lost.
5  * Better edit the mentioned source file instead.
6  **********************************************************/
7 
8 #ifndef GWEN_PARSER_ELEMENT_H
9 #define GWEN_PARSER_ELEMENT_H
10 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
92 /* define GWEN_PARSER_ELEMENT_RTFLAGS */
93 
94 
95 /* define GWEN_PARSER_ELEMENT_FLAGS */
96 
97 
98 /* needed system headers */
99 #include <gwenhywfar/types.h>
100 #include <gwenhywfar/list1.h>
101 #include <gwenhywfar/list2.h>
102 #include <gwenhywfar/tree.h>
103 #include <gwenhywfar/db.h>
104 
105 /* pre-headers */
107 
112 
113 
114 
115 typedef enum {
122 
123 
124 /* post-headers */
125 #include <gwenhywfar/gwen_parser_element_fns.h>
126 
127 
128 GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElementType_fromString(const char *p_s);
129 
130 GWENHYWFAR_API const char *GWEN_ParserElementType_toString(GWEN_PARSER_ELEMENT_TYPE p_i);
131 
134 
137 
139 
141 
143 
148 
152 GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElement_GetElementType(const GWEN_PARSER_ELEMENT *p_struct);
153 
158 
163 
168 
173 
178 
183 
188 
193 
198 
202 GWENHYWFAR_API void GWEN_ParserElement_SetFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src);
203 
207 GWENHYWFAR_API void GWEN_ParserElement_AddFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src);
208 
212 GWENHYWFAR_API void GWEN_ParserElement_SubFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src);
213 
217 GWENHYWFAR_API void GWEN_ParserElement_SetElementType(GWEN_PARSER_ELEMENT *p_struct, GWEN_PARSER_ELEMENT_TYPE p_src);
218 
222 GWENHYWFAR_API void GWEN_ParserElement_SetName(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
223 
227 GWENHYWFAR_API void GWEN_ParserElement_SetType(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
228 
232 GWENHYWFAR_API void GWEN_ParserElement_SetDbName(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
233 
238 
243 
248 
253 
257 GWENHYWFAR_API void GWEN_ParserElement_SetData(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
258 
263 
268 
273 
274 /* list1 functions */
276 
278 
280 
282 
284 
285 /* end-headers */
286 
287 
288 #ifdef __cplusplus
289 }
290 #endif
291 
292 #endif
293 
GWENHYWFAR_API void GWEN_ParserElement_SetMinSize(GWEN_PARSER_ELEMENT *p_struct, int p_src)
GWENHYWFAR_API void GWEN_ParserElement_SetName(GWEN_PARSER_ELEMENT *p_struct, const char *p_src)
GWENHYWFAR_API GWEN_PARSER_ELEMENT_LIST * GWEN_ParserElement_List_dup(const GWEN_PARSER_ELEMENT_LIST *p_src)
struct GWEN_DB_NODE GWEN_DB_NODE
Definition: db.h:228
GWENHYWFAR_API void GWEN_ParserElement_SetElementType(GWEN_PARSER_ELEMENT *p_struct, GWEN_PARSER_ELEMENT_TYPE p_src)
struct GWEN_PARSER_ELEMENT GWEN_PARSER_ELEMENT
GWENHYWFAR_API void GWEN_ParserElement_SubFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
GWENHYWFAR_API GWEN_PARSER_ELEMENT * GWEN_ParserElement_copy(GWEN_PARSER_ELEMENT *p_struct, const GWEN_PARSER_ELEMENT *p_src)
GWENHYWFAR_API const char * GWEN_ParserElementType_toString(GWEN_PARSER_ELEMENT_TYPE p_i)
GWENHYWFAR_API int GWEN_ParserElement_GetMaxSize(const GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API void GWEN_ParserElement_SetMaxOccurs(GWEN_PARSER_ELEMENT *p_struct, int p_src)
#define GWEN_TREE_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: tree.h:375
GWENHYWFAR_API void GWEN_ParserElement_SubRuntimeFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
GWENHYWFAR_API void GWEN_ParserElement_SetMaxSize(GWEN_PARSER_ELEMENT *p_struct, int p_src)
GWENHYWFAR_API const char * GWEN_ParserElement_GetType(const GWEN_PARSER_ELEMENT *p_struct)
#define GWEN_LIST2_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list2.h:56
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElementType_fromString(const char *p_s)
GWENHYWFAR_API const char * GWEN_ParserElement_GetName(const GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API const char * GWEN_ParserElement_GetDbName(const GWEN_PARSER_ELEMENT *p_struct)
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
Definition: list1.h:349
GWENHYWFAR_API void GWEN_ParserElement_AddRuntimeFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
GWENHYWFAR_API void GWEN_ParserElement_SetRuntimeFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
GWENHYWFAR_API int GWEN_ParserElement_GetMinSize(const GWEN_PARSER_ELEMENT *p_struct)
This file contains some macros concerning lists.
GWENHYWFAR_API void GWEN_ParserElement_ReadDb(GWEN_PARSER_ELEMENT *p_struct, GWEN_DB_NODE *p_db)
GWENHYWFAR_API int GWEN_ParserElement_GetMaxOccurs(const GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API void GWEN_ParserElement_AddFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
GWENHYWFAR_API void GWEN_ParserElement_free(GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API void GWEN_ParserElement_Attach(GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API void GWEN_ParserElement_SetType(GWEN_PARSER_ELEMENT *p_struct, const char *p_src)
GWENHYWFAR_API GWEN_PARSER_ELEMENT * GWEN_ParserElement_new(void)
GWENHYWFAR_API int GWEN_ParserElement_WriteDb(const GWEN_PARSER_ELEMENT *p_struct, GWEN_DB_NODE *p_db)
GWENHYWFAR_API void GWEN_ParserElement_SetFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElement_GetElementType(const GWEN_PARSER_ELEMENT *p_struct)
GWEN_PARSER_ELEMENT_TYPE
GWENHYWFAR_API uint32_t GWEN_ParserElement_GetRuntimeFlags(const GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API int GWEN_ParserElement_toDb(const GWEN_PARSER_ELEMENT *p_struct, GWEN_DB_NODE *p_db)
GWENHYWFAR_API void GWEN_ParserElement_SetDbName(GWEN_PARSER_ELEMENT *p_struct, const char *p_src)
GWENHYWFAR_API GWEN_PARSER_ELEMENT * GWEN_ParserElement_fromDb(GWEN_DB_NODE *p_db)
GWENHYWFAR_API void GWEN_ParserElement_SetData(GWEN_PARSER_ELEMENT *p_struct, const char *p_src)
GWENHYWFAR_API int GWEN_ParserElement_GetMinOccurs(const GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API uint32_t GWEN_ParserElement_GetFlags(const GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API void GWEN_ParserElement_SetMinOccurs(GWEN_PARSER_ELEMENT *p_struct, int p_src)
GWENHYWFAR_API GWEN_PARSER_ELEMENT * GWEN_ParserElement_dup(const GWEN_PARSER_ELEMENT *p_struct)
GWENHYWFAR_API const char * GWEN_ParserElement_GetData(const GWEN_PARSER_ELEMENT *p_struct)