gwenhywfar  5.10.1
Typedefs | Functions
tm_item.h File Reference
#include <gwenhywfar/types.h>
#include <gwenhywfar/list1.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/xml.h>
Include dependency graph for tm_item.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct TYPEMAKER2_ITEM TYPEMAKER2_ITEM
 

Functions

TYPEMAKER2_ITEMTypemaker2_Item_copy (TYPEMAKER2_ITEM *p_struct, const TYPEMAKER2_ITEM *p_src)
 
TYPEMAKER2_ITEMTypemaker2_Item_dup (const TYPEMAKER2_ITEM *p_struct)
 
void Typemaker2_Item_free (TYPEMAKER2_ITEM *p_struct)
 
TYPEMAKER2_ITEMTypemaker2_Item_fromXml (GWEN_XMLNODE *p_db)
 
const char * Typemaker2_Item_GetName (const TYPEMAKER2_ITEM *p_struct)
 
const char * Typemaker2_Item_GetValue (const TYPEMAKER2_ITEM *p_struct)
 
TYPEMAKER2_ITEM_LIST * Typemaker2_Item_List_dup (const TYPEMAKER2_ITEM_LIST *p_src)
 
TYPEMAKER2_ITEMTypemaker2_Item_new (void)
 
void Typemaker2_Item_ReadXml (TYPEMAKER2_ITEM *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Item_SetName (TYPEMAKER2_ITEM *p_struct, const char *p_src)
 
void Typemaker2_Item_SetValue (TYPEMAKER2_ITEM *p_struct, const char *p_src)
 
void Typemaker2_Item_toXml (const TYPEMAKER2_ITEM *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Item_WriteXml (const TYPEMAKER2_ITEM *p_struct, GWEN_XMLNODE *p_db)
 

Typedef Documentation

◆ TYPEMAKER2_ITEM

Definition at line 22 of file tm_item.h.

Function Documentation

◆ Typemaker2_Item_copy()

TYPEMAKER2_ITEM* Typemaker2_Item_copy ( TYPEMAKER2_ITEM p_struct,
const TYPEMAKER2_ITEM p_src 
)

Definition at line 76 of file tm_item.c.

References NULL.

◆ Typemaker2_Item_dup()

TYPEMAKER2_ITEM* Typemaker2_Item_dup ( const TYPEMAKER2_ITEM p_struct)

Definition at line 49 of file tm_item.c.

References NULL, and Typemaker2_Item_new().

Referenced by Typemaker2_Item_List_dup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Item_free()

void Typemaker2_Item_free ( TYPEMAKER2_ITEM p_struct)

Destructor.

Definition at line 38 of file tm_item.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

◆ Typemaker2_Item_fromXml()

TYPEMAKER2_ITEM* Typemaker2_Item_fromXml ( GWEN_XMLNODE p_db)

Definition at line 209 of file tm_item.c.

References Typemaker2_Item_new(), and Typemaker2_Item_ReadXml().

Referenced by Typemaker2_Type_readXml().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Item_GetName()

const char* Typemaker2_Item_GetName ( const TYPEMAKER2_ITEM p_struct)

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

Definition at line 101 of file tm_item.c.

Referenced by _buildDefineDefines(), TM2C_BuildDefineEnums(), TM2C_BuildEnumFromString(), and TM2C_BuildEnumToString().

Here is the caller graph for this function:

◆ Typemaker2_Item_GetValue()

const char* Typemaker2_Item_GetValue ( const TYPEMAKER2_ITEM p_struct)

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

Definition at line 107 of file tm_item.c.

Referenced by _buildDefineDefines(), and TM2C_BuildDefineEnums().

Here is the caller graph for this function:

◆ Typemaker2_Item_List_dup()

TYPEMAKER2_ITEM_LIST* Typemaker2_Item_List_dup ( const TYPEMAKER2_ITEM_LIST *  p_src)

Definition at line 141 of file tm_item.c.

References Typemaker2_Item_dup().

Referenced by Typemaker2_Define_copy(), Typemaker2_Define_dup(), Typemaker2_Define_SetItems(), Typemaker2_Enum_copy(), Typemaker2_Enum_dup(), and Typemaker2_Enum_SetItems().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Item_new()

TYPEMAKER2_ITEM* Typemaker2_Item_new ( void  )

Constructor.

Definition at line 24 of file tm_item.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, and NULL.

Referenced by Typemaker2_Item_dup(), and Typemaker2_Item_fromXml().

Here is the caller graph for this function:

◆ Typemaker2_Item_ReadXml()

void Typemaker2_Item_ReadXml ( TYPEMAKER2_ITEM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 160 of file tm_item.c.

References GWEN_XMLNode_GetProperty(), and NULL.

Referenced by Typemaker2_Item_fromXml().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Item_SetName()

void Typemaker2_Item_SetName ( TYPEMAKER2_ITEM p_struct,
const char *  p_src 
)

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

Definition at line 113 of file tm_item.c.

References NULL.

◆ Typemaker2_Item_SetValue()

void Typemaker2_Item_SetValue ( TYPEMAKER2_ITEM p_struct,
const char *  p_src 
)

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

Definition at line 127 of file tm_item.c.

References NULL.

◆ Typemaker2_Item_toXml()

void Typemaker2_Item_toXml ( const TYPEMAKER2_ITEM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 204 of file tm_item.c.

References Typemaker2_Item_WriteXml().

Here is the call graph for this function:

◆ Typemaker2_Item_WriteXml()

void Typemaker2_Item_WriteXml ( const TYPEMAKER2_ITEM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 193 of file tm_item.c.

References GWEN_XMLNode_SetProperty().

Referenced by Typemaker2_Item_toXml().

Here is the call graph for this function:
Here is the caller graph for this function: