gwenhywfar  4.20.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

◆ GWEN_PARSER_ELEMENT

Definition at line 108 of file gwen_parser_element.h.

Enumeration Type Documentation

◆ GWEN_PARSER_ELEMENT_TYPE

Enumerator
GWEN_ParserElementType_Unknown 
GWEN_ParserElementType_Element 
GWEN_ParserElementType_Attribute 
GWEN_ParserElementType_Data 
GWEN_ParserElementType_Choice 

Definition at line 115 of file gwen_parser_element.h.

Function Documentation

◆ GWEN_ParserElement_AddFlags()

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"

◆ GWEN_ParserElement_AddRuntimeFlags()

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"

◆ GWEN_ParserElement_Attach()

GWENHYWFAR_API void GWEN_ParserElement_Attach ( GWEN_PARSER_ELEMENT p_struct)

◆ GWEN_ParserElement_copy()

GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_copy ( GWEN_PARSER_ELEMENT p_struct,
const GWEN_PARSER_ELEMENT p_src 
)

◆ GWEN_ParserElement_dup()

GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_dup ( const GWEN_PARSER_ELEMENT p_struct)

◆ GWEN_ParserElement_free()

GWENHYWFAR_API void GWEN_ParserElement_free ( GWEN_PARSER_ELEMENT p_struct)

Destructor.

◆ GWEN_ParserElement_fromDb()

GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_fromDb ( GWEN_DB_NODE p_db)

◆ GWEN_ParserElement_GetData()

GWENHYWFAR_API const char* GWEN_ParserElement_GetData ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "data" (see GWEN_PARSER_ELEMENT_data)

◆ GWEN_ParserElement_GetDbName()

GWENHYWFAR_API const char* GWEN_ParserElement_GetDbName ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "dbName" (see GWEN_PARSER_ELEMENT_dbName)

◆ GWEN_ParserElement_GetElementType()

GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElement_GetElementType ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "elementType" (see GWEN_PARSER_ELEMENT_elementType)

◆ GWEN_ParserElement_GetFlags()

GWENHYWFAR_API uint32_t GWEN_ParserElement_GetFlags ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "flags" (see GWEN_PARSER_ELEMENT_flags)

◆ GWEN_ParserElement_GetMaxOccurs()

GWENHYWFAR_API int GWEN_ParserElement_GetMaxOccurs ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "maxOccurs" (see GWEN_PARSER_ELEMENT_maxOccurs)

◆ GWEN_ParserElement_GetMaxSize()

GWENHYWFAR_API int GWEN_ParserElement_GetMaxSize ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "maxSize" (see GWEN_PARSER_ELEMENT_maxSize)

◆ GWEN_ParserElement_GetMinOccurs()

GWENHYWFAR_API int GWEN_ParserElement_GetMinOccurs ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "minOccurs" (see GWEN_PARSER_ELEMENT_minOccurs)

◆ GWEN_ParserElement_GetMinSize()

GWENHYWFAR_API int GWEN_ParserElement_GetMinSize ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "minSize" (see GWEN_PARSER_ELEMENT_minSize)

◆ GWEN_ParserElement_GetName()

GWENHYWFAR_API const char* GWEN_ParserElement_GetName ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "name" (see GWEN_PARSER_ELEMENT_name)

◆ GWEN_ParserElement_GetRuntimeFlags()

GWENHYWFAR_API uint32_t GWEN_ParserElement_GetRuntimeFlags ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "runtimeFlags" (see GWEN_PARSER_ELEMENT_runtimeFlags)

◆ GWEN_ParserElement_GetType()

GWENHYWFAR_API const char* GWEN_ParserElement_GetType ( const GWEN_PARSER_ELEMENT p_struct)

Getter. Use this function to get the member "type" (see GWEN_PARSER_ELEMENT_type)

◆ GWEN_ParserElement_List_dup()

GWENHYWFAR_API GWEN_PARSER_ELEMENT_LIST* GWEN_ParserElement_List_dup ( const GWEN_PARSER_ELEMENT_LIST p_src)

◆ GWEN_ParserElement_new()

GWENHYWFAR_API GWEN_PARSER_ELEMENT* GWEN_ParserElement_new ( void  )

Constructor.

◆ GWEN_ParserElement_ReadDb()

GWENHYWFAR_API void GWEN_ParserElement_ReadDb ( GWEN_PARSER_ELEMENT p_struct,
GWEN_DB_NODE p_db 
)

◆ GWEN_ParserElement_SetData()

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

Setter. Use this function to set the member "data" (see GWEN_PARSER_ELEMENT_data)

◆ GWEN_ParserElement_SetDbName()

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

Setter. Use this function to set the member "dbName" (see GWEN_PARSER_ELEMENT_dbName)

◆ GWEN_ParserElement_SetElementType()

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" (see GWEN_PARSER_ELEMENT_elementType)

◆ GWEN_ParserElement_SetFlags()

GWENHYWFAR_API void GWEN_ParserElement_SetFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "flags" (see GWEN_PARSER_ELEMENT_flags)

◆ GWEN_ParserElement_SetMaxOccurs()

GWENHYWFAR_API void GWEN_ParserElement_SetMaxOccurs ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "maxOccurs" (see GWEN_PARSER_ELEMENT_maxOccurs)

◆ GWEN_ParserElement_SetMaxSize()

GWENHYWFAR_API void GWEN_ParserElement_SetMaxSize ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "maxSize" (see GWEN_PARSER_ELEMENT_maxSize)

◆ GWEN_ParserElement_SetMinOccurs()

GWENHYWFAR_API void GWEN_ParserElement_SetMinOccurs ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "minOccurs" (see GWEN_PARSER_ELEMENT_minOccurs)

◆ GWEN_ParserElement_SetMinSize()

GWENHYWFAR_API void GWEN_ParserElement_SetMinSize ( GWEN_PARSER_ELEMENT p_struct,
int  p_src 
)

Setter. Use this function to set the member "minSize" (see GWEN_PARSER_ELEMENT_minSize)

◆ GWEN_ParserElement_SetName()

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

Setter. Use this function to set the member "name" (see GWEN_PARSER_ELEMENT_name)

◆ GWEN_ParserElement_SetRuntimeFlags()

GWENHYWFAR_API void GWEN_ParserElement_SetRuntimeFlags ( GWEN_PARSER_ELEMENT p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "runtimeFlags" (see GWEN_PARSER_ELEMENT_runtimeFlags)

◆ GWEN_ParserElement_SetType()

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

Setter. Use this function to set the member "type" (see GWEN_PARSER_ELEMENT_type)

◆ GWEN_ParserElement_SubFlags()

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"

◆ GWEN_ParserElement_SubRuntimeFlags()

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"

◆ GWEN_ParserElement_toDb()

GWENHYWFAR_API int GWEN_ParserElement_toDb ( const GWEN_PARSER_ELEMENT p_struct,
GWEN_DB_NODE p_db 
)

◆ GWEN_ParserElement_WriteDb()

GWENHYWFAR_API int GWEN_ParserElement_WriteDb ( const GWEN_PARSER_ELEMENT p_struct,
GWEN_DB_NODE p_db 
)

◆ GWEN_ParserElementType_fromString()

GWENHYWFAR_API GWEN_PARSER_ELEMENT_TYPE GWEN_ParserElementType_fromString ( const char *  p_s)

◆ GWEN_ParserElementType_toString()

GWENHYWFAR_API const char* GWEN_ParserElementType_toString ( GWEN_PARSER_ELEMENT_TYPE  p_i)