gwenhywfar  4.14.0
Typedefs | Enumerations | Functions
gwen_parser_element.h File Reference
#include <gwenhywfar/types.h>
#include <gwenhywfar/list1.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/tree.h>
#include <gwenhywfar/db.h>
#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/gwen_parser_element_fns.h>

Go to the source code of this file.

Typedefs

typedef struct GWEN_PARSER_ELEMENT GWEN_PARSER_ELEMENT
 

Enumerations

enum  GWEN_PARSER_ELEMENT_TYPE {
  GWEN_ParserElementType_Unknown = -1, GWEN_ParserElementType_Element, GWEN_ParserElementType_Attribute, GWEN_ParserElementType_Data,
  GWEN_ParserElementType_Choice
}
 

Functions

GWENHYWFAR_API void GWEN_ParserElement_AddFlags (GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_AddRuntimeFlags (GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_Attach (GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API GWEN_PARSER_ELEMENTGWEN_ParserElement_copy (GWEN_PARSER_ELEMENT *p_struct, const GWEN_PARSER_ELEMENT *p_src)
 
GWENHYWFAR_API GWEN_PARSER_ELEMENTGWEN_ParserElement_dup (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API void GWEN_ParserElement_free (GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API GWEN_PARSER_ELEMENTGWEN_ParserElement_fromDb (GWEN_DB_NODE *p_db)
 
GWENHYWFAR_API const char * GWEN_ParserElement_GetData (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API const char * GWEN_ParserElement_GetDbName (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElement_GetElementType (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API uint32_t GWEN_ParserElement_GetFlags (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API int GWEN_ParserElement_GetMaxOccurs (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API int GWEN_ParserElement_GetMaxSize (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API int GWEN_ParserElement_GetMinOccurs (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API int GWEN_ParserElement_GetMinSize (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API const char * GWEN_ParserElement_GetName (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API uint32_t GWEN_ParserElement_GetRuntimeFlags (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API const char * GWEN_ParserElement_GetType (const GWEN_PARSER_ELEMENT *p_struct)
 
GWENHYWFAR_API GWEN_PARSER_ELEMENT_LISTGWEN_ParserElement_List_dup (const GWEN_PARSER_ELEMENT_LIST *p_src)
 
GWENHYWFAR_API GWEN_PARSER_ELEMENTGWEN_ParserElement_new (void)
 
GWENHYWFAR_API void GWEN_ParserElement_ReadDb (GWEN_PARSER_ELEMENT *p_struct, GWEN_DB_NODE *p_db)
 
GWENHYWFAR_API void GWEN_ParserElement_SetData (GWEN_PARSER_ELEMENT *p_struct, const char *p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SetDbName (GWEN_PARSER_ELEMENT *p_struct, const char *p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SetElementType (GWEN_PARSER_ELEMENT *p_struct, GWEN_PARSER_ELEMENT_TYPE p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SetFlags (GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SetMaxOccurs (GWEN_PARSER_ELEMENT *p_struct, int p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SetMaxSize (GWEN_PARSER_ELEMENT *p_struct, int p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SetMinOccurs (GWEN_PARSER_ELEMENT *p_struct, int p_src)
 
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 void GWEN_ParserElement_SetRuntimeFlags (GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SetType (GWEN_PARSER_ELEMENT *p_struct, const char *p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SubFlags (GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
 
GWENHYWFAR_API void GWEN_ParserElement_SubRuntimeFlags (GWEN_PARSER_ELEMENT *p_struct, uint32_t p_src)
 
GWENHYWFAR_API int GWEN_ParserElement_toDb (const GWEN_PARSER_ELEMENT *p_struct, GWEN_DB_NODE *p_db)
 
GWENHYWFAR_API int GWEN_ParserElement_WriteDb (const GWEN_PARSER_ELEMENT *p_struct, GWEN_DB_NODE *p_db)
 
GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElementType_fromString (const char *p_s)
 
GWENHYWFAR_API const char * GWEN_ParserElementType_toString (GWEN_PARSER_ELEMENT_TYPE p_i)
 

Typedef Documentation

Definition at line 32 of file gwen_parser_element.h.

Enumeration Type Documentation

Enumerator
GWEN_ParserElementType_Unknown 
GWEN_ParserElementType_Element 
GWEN_ParserElementType_Attribute 
GWEN_ParserElementType_Data 
GWEN_ParserElementType_Choice 

Definition at line 38 of file gwen_parser_element.h.

Function Documentation

GWENHYWFAR_API void GWEN_ParserElement_AddFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Add flags. Use this function to add flags to the member "flags"

GWENHYWFAR_API void GWEN_ParserElement_AddRuntimeFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Add flags. Use this function to add flags to the member "runtimeFlags"

GWENHYWFAR_API void GWEN_ParserElement_Attach ( GWEN_PARSER_ELEMENT p_struct)
GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_copy ( GWEN_PARSER_ELEMENT p_struct,
const GWEN_PARSER_ELEMENT p_src 
)
GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_dup ( const GWEN_PARSER_ELEMENT p_struct)
GWENHYWFAR_API void GWEN_ParserElement_free ( GWEN_PARSER_ELEMENT p_struct)

Destructor.

GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_fromDb ( GWEN_DB_NODE p_db)
GWENHYWFAR_API const char* GWEN_ParserElement_GetData ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "data"

GWENHYWFAR_API const char* GWEN_ParserElement_GetDbName ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "dbName"

GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElement_GetElementType ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "elementType"

GWENHYWFAR_API uint32_t GWEN_ParserElement_GetFlags ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "flags"

GWENHYWFAR_API int GWEN_ParserElement_GetMaxOccurs ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "maxOccurs"

GWENHYWFAR_API int GWEN_ParserElement_GetMaxSize ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "maxSize"

GWENHYWFAR_API int GWEN_ParserElement_GetMinOccurs ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "minOccurs"

GWENHYWFAR_API int GWEN_ParserElement_GetMinSize ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "minSize"

GWENHYWFAR_API const char* GWEN_ParserElement_GetName ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "name"

GWENHYWFAR_API uint32_t GWEN_ParserElement_GetRuntimeFlags ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "runtimeFlags"

GWENHYWFAR_API const char* GWEN_ParserElement_GetType ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "type"

GWENHYWFAR_API GWEN_PARSER_ELEMENT_LIST* GWEN_ParserElement_List_dup ( const GWEN_PARSER_ELEMENT_LIST p_src)
GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_new ( void  )

Constructor.

GWENHYWFAR_API void GWEN_ParserElement_ReadDb ( GWEN_PARSER_ELEMENT p_struct,
GWEN_DB_NODE p_db 
)
GWENHYWFAR_API void GWEN_ParserElement_SetData ( GWEN_PARSER_ELEMENT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "data"

GWENHYWFAR_API void GWEN_ParserElement_SetDbName ( GWEN_PARSER_ELEMENT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "dbName"

GWENHYWFAR_API void GWEN_ParserElement_SetElementType ( GWEN_PARSER_ELEMENT p_struct,
GWEN_PARSER_ELEMENT_TYPE  p_src 
)

Setter. Use this function to set the member "elementType"

GWENHYWFAR_API void GWEN_ParserElement_SetFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "flags"

GWENHYWFAR_API void GWEN_ParserElement_SetMaxOccurs ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "maxOccurs"

GWENHYWFAR_API void GWEN_ParserElement_SetMaxSize ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "maxSize"

GWENHYWFAR_API void GWEN_ParserElement_SetMinOccurs ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "minOccurs"

GWENHYWFAR_API void GWEN_ParserElement_SetMinSize ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "minSize"

GWENHYWFAR_API void GWEN_ParserElement_SetName ( GWEN_PARSER_ELEMENT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "name"

GWENHYWFAR_API void GWEN_ParserElement_SetRuntimeFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "runtimeFlags"

GWENHYWFAR_API void GWEN_ParserElement_SetType ( GWEN_PARSER_ELEMENT p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "type"

GWENHYWFAR_API void GWEN_ParserElement_SubFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Sub flags. Use this function to sub flags from the member "flags"

GWENHYWFAR_API void GWEN_ParserElement_SubRuntimeFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Sub flags. Use this function to sub flags from the member "runtimeFlags"

GWENHYWFAR_API int GWEN_ParserElement_toDb ( const GWEN_PARSER_ELEMENT p_struct,
GWEN_DB_NODE p_db 
)
GWENHYWFAR_API int GWEN_ParserElement_WriteDb ( const GWEN_PARSER_ELEMENT p_struct,
GWEN_DB_NODE p_db 
)
GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElementType_fromString ( const char *  p_s)
GWENHYWFAR_API const char* GWEN_ParserElementType_toString ( GWEN_PARSER_ELEMENT_TYPE  p_i)