gwenhywfar  4.99.8beta
Functions
tm_define.c File Reference
#include "tm_define_p.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
Include dependency graph for tm_define.c:

Go to the source code of this file.

Functions

TYPEMAKER2_DEFINETypemaker2_Define_copy (TYPEMAKER2_DEFINE *p_struct, const TYPEMAKER2_DEFINE *p_src)
 
TYPEMAKER2_DEFINETypemaker2_Define_dup (const TYPEMAKER2_DEFINE *p_src)
 
void Typemaker2_Define_free (TYPEMAKER2_DEFINE *p_struct)
 
TYPEMAKER2_DEFINETypemaker2_Define_fromXml (GWEN_XMLNODE *p_db)
 
const char * Typemaker2_Define_GetId (const TYPEMAKER2_DEFINE *p_struct)
 
TYPEMAKER2_ITEM_LIST * Typemaker2_Define_GetItems (const TYPEMAKER2_DEFINE *p_struct)
 
int Typemaker2_Define_GetLastValue (const TYPEMAKER2_DEFINE *p_struct)
 
int Typemaker2_Define_GetMode (const TYPEMAKER2_DEFINE *p_struct)
 
const char * Typemaker2_Define_GetPrefix (const TYPEMAKER2_DEFINE *p_struct)
 
int Typemaker2_Define_GetStartValue (const TYPEMAKER2_DEFINE *p_struct)
 
const char * Typemaker2_Define_GetType (const TYPEMAKER2_DEFINE *p_struct)
 
TYPEMAKER2_DEFINE_LIST * Typemaker2_Define_List_dup (const TYPEMAKER2_DEFINE_LIST *p_src)
 
int Typemaker2_Define_Mode_fromString (const char *p_s)
 
const char * Typemaker2_Define_Mode_toString (int p_i)
 
TYPEMAKER2_DEFINETypemaker2_Define_new (void)
 
void Typemaker2_Define_ReadXml (TYPEMAKER2_DEFINE *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Define_SetId (TYPEMAKER2_DEFINE *p_struct, const char *p_src)
 
void Typemaker2_Define_SetItems (TYPEMAKER2_DEFINE *p_struct, const TYPEMAKER2_ITEM_LIST *p_src)
 
void Typemaker2_Define_SetLastValue (TYPEMAKER2_DEFINE *p_struct, int p_src)
 
void Typemaker2_Define_SetMode (TYPEMAKER2_DEFINE *p_struct, int p_src)
 
void Typemaker2_Define_SetPrefix (TYPEMAKER2_DEFINE *p_struct, const char *p_src)
 
void Typemaker2_Define_SetStartValue (TYPEMAKER2_DEFINE *p_struct, int p_src)
 
void Typemaker2_Define_SetType (TYPEMAKER2_DEFINE *p_struct, const char *p_src)
 
void Typemaker2_Define_toXml (const TYPEMAKER2_DEFINE *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Define_WriteXml (const TYPEMAKER2_DEFINE *p_struct, GWEN_XMLNODE *p_db)
 

Function Documentation

TYPEMAKER2_DEFINE* Typemaker2_Define_copy ( TYPEMAKER2_DEFINE p_struct,
const TYPEMAKER2_DEFINE p_src 
)

Definition at line 124 of file tm_define.c.

References NULL, and Typemaker2_Item_List_dup().

Here is the call graph for this function:

TYPEMAKER2_DEFINE* Typemaker2_Define_dup ( const TYPEMAKER2_DEFINE p_src)

Definition at line 71 of file tm_define.c.

References NULL, Typemaker2_Define_new(), and Typemaker2_Item_List_dup().

Referenced by Typemaker2_Define_List_dup().

Here is the call graph for this function:

Here is the caller graph for this function:

void Typemaker2_Define_free ( TYPEMAKER2_DEFINE p_struct)

Destructor.

Definition at line 59 of file tm_define.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

TYPEMAKER2_DEFINE* Typemaker2_Define_fromXml ( GWEN_XMLNODE p_db)

Definition at line 370 of file tm_define.c.

References Typemaker2_Define_new(), and Typemaker2_Define_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_Define_GetId ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 175 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

TYPEMAKER2_ITEM_LIST* Typemaker2_Define_GetItems ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 190 of file tm_define.c.

Referenced by _buildDefineDefines(), and Typemaker2_Type_readXml().

Here is the caller graph for this function:

int Typemaker2_Define_GetLastValue ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 205 of file tm_define.c.

int Typemaker2_Define_GetMode ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 195 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

const char* Typemaker2_Define_GetPrefix ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 180 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

int Typemaker2_Define_GetStartValue ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 200 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

const char* Typemaker2_Define_GetType ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 185 of file tm_define.c.

TYPEMAKER2_DEFINE_LIST* Typemaker2_Define_List_dup ( const TYPEMAKER2_DEFINE_LIST *  p_src)

Definition at line 277 of file tm_define.c.

References Typemaker2_Define_dup().

Here is the call graph for this function:

int Typemaker2_Define_Mode_fromString ( const char *  p_s)

Definition at line 23 of file tm_define.c.

References Typemaker2_Define_Mode_BitField, Typemaker2_Define_Mode_Sequence, and Typemaker2_Define_Mode_Unknown.

Referenced by Typemaker2_Define_ReadXml().

Here is the caller graph for this function:

const char* Typemaker2_Define_Mode_toString ( int  p_i)

Definition at line 33 of file tm_define.c.

References Typemaker2_Define_Mode_BitField, and Typemaker2_Define_Mode_Sequence.

Referenced by Typemaker2_Define_WriteXml().

Here is the caller graph for this function:

TYPEMAKER2_DEFINE* Typemaker2_Define_new ( void  )

Constructor.

Definition at line 41 of file tm_define.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, NULL, and Typemaker2_Define_Mode_Unknown.

Referenced by Typemaker2_Define_dup(), and Typemaker2_Define_fromXml().

Here is the caller graph for this function:

void Typemaker2_Define_ReadXml ( TYPEMAKER2_DEFINE p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 295 of file tm_define.c.

References GWEN_XMLNode_GetIntValue(), GWEN_XMLNode_GetProperty(), NULL, Typemaker2_Define_Mode_fromString(), and Typemaker2_Define_Mode_Unknown.

Referenced by Typemaker2_Define_fromXml().

Here is the call graph for this function:

Here is the caller graph for this function:

void Typemaker2_Define_SetId ( TYPEMAKER2_DEFINE p_struct,
const char *  p_src 
)

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

Definition at line 210 of file tm_define.c.

References NULL.

void Typemaker2_Define_SetItems ( TYPEMAKER2_DEFINE p_struct,
const TYPEMAKER2_ITEM_LIST *  p_src 
)

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

Definition at line 249 of file tm_define.c.

References Typemaker2_Item_List_dup().

Here is the call graph for this function:

void Typemaker2_Define_SetLastValue ( TYPEMAKER2_DEFINE p_struct,
int  p_src 
)

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

Definition at line 272 of file tm_define.c.

void Typemaker2_Define_SetMode ( TYPEMAKER2_DEFINE p_struct,
int  p_src 
)

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

Definition at line 262 of file tm_define.c.

void Typemaker2_Define_SetPrefix ( TYPEMAKER2_DEFINE p_struct,
const char *  p_src 
)

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

Definition at line 223 of file tm_define.c.

References NULL.

void Typemaker2_Define_SetStartValue ( TYPEMAKER2_DEFINE p_struct,
int  p_src 
)

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

Definition at line 267 of file tm_define.c.

void Typemaker2_Define_SetType ( TYPEMAKER2_DEFINE p_struct,
const char *  p_src 
)

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

Definition at line 236 of file tm_define.c.

References NULL.

void Typemaker2_Define_toXml ( const TYPEMAKER2_DEFINE p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 366 of file tm_define.c.

References Typemaker2_Define_WriteXml().

Here is the call graph for this function:

void Typemaker2_Define_WriteXml ( const TYPEMAKER2_DEFINE p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 343 of file tm_define.c.

References GWEN_XMLNode_SetIntValue(), GWEN_XMLNode_SetProperty(), and Typemaker2_Define_Mode_toString().

Referenced by Typemaker2_Define_toXml().

Here is the call graph for this function:

Here is the caller graph for this function: