gwenhywfar  4.13.1
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 
16 /* define GWEN_PARSER_ELEMENT_RTFLAGS */
17 
18 
19 /* define GWEN_PARSER_ELEMENT_FLAGS */
20 
21 
22 /* needed system headers */
23 #include <gwenhywfar/types.h>
24 #include <gwenhywfar/list1.h>
25 #include <gwenhywfar/list2.h>
26 #include <gwenhywfar/tree.h>
27 #include <gwenhywfar/db.h>
28 
29 /* pre-headers */
31 
35 GWEN_TREE_FUNCTION_LIB_DEFS(GWEN_PARSER_ELEMENT, GWEN_ParserElement, GWENHYWFAR_API)
36 
37 
38 typedef enum {
45 
46 
47 /* post-headers */
48 #include <gwenhywfar/gwen_parser_element_fns.h>
49 
50 
52 
54 
57 
60 
62 
64 
66 
71 
76 
81 
86 
91 
96 
101 
106 
111 
116 
121 
125 GWENHYWFAR_API void GWEN_ParserElement_SetFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src);
126 
130 GWENHYWFAR_API void GWEN_ParserElement_AddFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src);
131 
135 GWENHYWFAR_API void GWEN_ParserElement_SubFlags(GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src);
136 
141 
145 GWENHYWFAR_API void GWEN_ParserElement_SetName(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
146 
150 GWENHYWFAR_API void GWEN_ParserElement_SetType(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
151 
155 GWENHYWFAR_API void GWEN_ParserElement_SetDbName(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
156 
161 
166 
171 
176 
180 GWENHYWFAR_API void GWEN_ParserElement_SetData(GWEN_PARSER_ELEMENT *p_struct, const char *p_src);
181 
186 
191 
196 
197 /* list1 functions */
199 
201 
203 
205 
207 
208 #ifdef __cplusplus
209 }
210 #endif
211 
212 #endif
213 
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)