gwenhywfar  4.99.8beta
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

Definition at line 22 of file tm_item.h.

Function Documentation

TYPEMAKER2_ITEM* Typemaker2_Item_copy ( TYPEMAKER2_ITEM p_struct,
const TYPEMAKER2_ITEM p_src 
)

Definition at line 73 of file tm_item.c.

References NULL.

TYPEMAKER2_ITEM* Typemaker2_Item_dup ( const TYPEMAKER2_ITEM p_struct)

Definition at line 47 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:

void Typemaker2_Item_free ( TYPEMAKER2_ITEM p_struct)

Destructor.

Definition at line 37 of file tm_item.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

TYPEMAKER2_ITEM* Typemaker2_Item_fromXml ( GWEN_XMLNODE p_db)

Definition at line 187 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:

const char* Typemaker2_Item_GetName ( const TYPEMAKER2_ITEM p_struct)

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

Definition at line 97 of file tm_item.c.

Referenced by _buildDefineDefines(), _buildDefineEnums(), _buildEnumFromString(), and _buildEnumToString().

Here is the caller graph for this function:

const char* Typemaker2_Item_GetValue ( const TYPEMAKER2_ITEM p_struct)

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

Definition at line 102 of file tm_item.c.

Referenced by _buildDefineDefines(), and _buildDefineEnums().

Here is the caller graph for this function:

TYPEMAKER2_ITEM_LIST* Typemaker2_Item_List_dup ( const TYPEMAKER2_ITEM_LIST *  p_src)

Definition at line 133 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* 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:

void Typemaker2_Item_ReadXml ( TYPEMAKER2_ITEM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 151 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:

void Typemaker2_Item_SetName ( TYPEMAKER2_ITEM p_struct,
const char *  p_src 
)

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

Definition at line 107 of file tm_item.c.

References NULL.

void Typemaker2_Item_SetValue ( TYPEMAKER2_ITEM p_struct,
const char *  p_src 
)

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

Definition at line 120 of file tm_item.c.

References NULL.

void Typemaker2_Item_toXml ( const TYPEMAKER2_ITEM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 183 of file tm_item.c.

References Typemaker2_Item_WriteXml().

Here is the call graph for this function:

void Typemaker2_Item_WriteXml ( const TYPEMAKER2_ITEM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 173 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: