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

Go to the source code of this file.

Functions

TYPEMAKER2_ENUMTypemaker2_Enum_copy (TYPEMAKER2_ENUM *p_struct, const TYPEMAKER2_ENUM *p_src)
 
TYPEMAKER2_ENUMTypemaker2_Enum_dup (const TYPEMAKER2_ENUM *p_src)
 
void Typemaker2_Enum_free (TYPEMAKER2_ENUM *p_struct)
 
TYPEMAKER2_ENUMTypemaker2_Enum_fromXml (GWEN_XMLNODE *p_db)
 
const char * Typemaker2_Enum_GetFromStringFn (const TYPEMAKER2_ENUM *p_struct)
 
const char * Typemaker2_Enum_GetId (const TYPEMAKER2_ENUM *p_struct)
 
TYPEMAKER2_ITEM_LIST * Typemaker2_Enum_GetItems (const TYPEMAKER2_ENUM *p_struct)
 
const char * Typemaker2_Enum_GetPrefix (const TYPEMAKER2_ENUM *p_struct)
 
const char * Typemaker2_Enum_GetToStringFn (const TYPEMAKER2_ENUM *p_struct)
 
const char * Typemaker2_Enum_GetType (const TYPEMAKER2_ENUM *p_struct)
 
TYPEMAKER2_ENUM_LIST * Typemaker2_Enum_List_dup (const TYPEMAKER2_ENUM_LIST *p_src)
 
TYPEMAKER2_ENUMTypemaker2_Enum_new (void)
 
void Typemaker2_Enum_ReadXml (TYPEMAKER2_ENUM *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Enum_SetFromStringFn (TYPEMAKER2_ENUM *p_struct, const char *p_src)
 
void Typemaker2_Enum_SetId (TYPEMAKER2_ENUM *p_struct, const char *p_src)
 
void Typemaker2_Enum_SetItems (TYPEMAKER2_ENUM *p_struct, const TYPEMAKER2_ITEM_LIST *p_src)
 
void Typemaker2_Enum_SetPrefix (TYPEMAKER2_ENUM *p_struct, const char *p_src)
 
void Typemaker2_Enum_SetToStringFn (TYPEMAKER2_ENUM *p_struct, const char *p_src)
 
void Typemaker2_Enum_SetType (TYPEMAKER2_ENUM *p_struct, const char *p_src)
 
void Typemaker2_Enum_toXml (const TYPEMAKER2_ENUM *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Enum_WriteXml (const TYPEMAKER2_ENUM *p_struct, GWEN_XMLNODE *p_db)
 

Function Documentation

TYPEMAKER2_ENUM* Typemaker2_Enum_copy ( TYPEMAKER2_ENUM p_struct,
const TYPEMAKER2_ENUM p_src 
)

Definition at line 116 of file tm_enum.c.

References NULL, and Typemaker2_Item_List_dup().

Here is the call graph for this function:

TYPEMAKER2_ENUM* Typemaker2_Enum_dup ( const TYPEMAKER2_ENUM p_src)

Definition at line 54 of file tm_enum.c.

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

Referenced by Typemaker2_Enum_List_dup().

Here is the call graph for this function:

Here is the caller graph for this function:

void Typemaker2_Enum_free ( TYPEMAKER2_ENUM p_struct)

Destructor.

Definition at line 40 of file tm_enum.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

TYPEMAKER2_ENUM* Typemaker2_Enum_fromXml ( GWEN_XMLNODE p_db)

Definition at line 377 of file tm_enum.c.

References Typemaker2_Enum_new(), and Typemaker2_Enum_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_Enum_GetFromStringFn ( const TYPEMAKER2_ENUM p_struct)

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

Definition at line 201 of file tm_enum.c.

Referenced by Typemaker2_Builder_CreateDbForCall().

Here is the caller graph for this function:

const char* Typemaker2_Enum_GetId ( const TYPEMAKER2_ENUM p_struct)

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

Definition at line 176 of file tm_enum.c.

Referenced by Typemaker2_Type_FindEnum().

Here is the caller graph for this function:

TYPEMAKER2_ITEM_LIST* Typemaker2_Enum_GetItems ( const TYPEMAKER2_ENUM p_struct)

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

Definition at line 191 of file tm_enum.c.

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

Here is the caller graph for this function:

const char* Typemaker2_Enum_GetPrefix ( const TYPEMAKER2_ENUM p_struct)

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

Definition at line 181 of file tm_enum.c.

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

Here is the caller graph for this function:

const char* Typemaker2_Enum_GetToStringFn ( const TYPEMAKER2_ENUM p_struct)

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

Definition at line 196 of file tm_enum.c.

Referenced by Typemaker2_Builder_CreateDbForCall().

Here is the caller graph for this function:

const char* Typemaker2_Enum_GetType ( const TYPEMAKER2_ENUM p_struct)

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

Definition at line 186 of file tm_enum.c.

Referenced by _buildDefineEnums(), _buildEnumFromString(), _buildEnumToString(), _buildGetter(), _buildSetter(), and _buildStruct().

Here is the caller graph for this function:

TYPEMAKER2_ENUM_LIST* Typemaker2_Enum_List_dup ( const TYPEMAKER2_ENUM_LIST *  p_src)

Definition at line 284 of file tm_enum.c.

References Typemaker2_Enum_dup().

Here is the call graph for this function:

TYPEMAKER2_ENUM* Typemaker2_Enum_new ( void  )

Constructor.

Definition at line 23 of file tm_enum.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, and NULL.

Referenced by Typemaker2_Enum_dup(), and Typemaker2_Enum_fromXml().

Here is the caller graph for this function:

void Typemaker2_Enum_ReadXml ( TYPEMAKER2_ENUM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 302 of file tm_enum.c.

References GWEN_XMLNode_GetProperty(), and NULL.

Referenced by Typemaker2_Enum_fromXml().

Here is the call graph for this function:

Here is the caller graph for this function:

void Typemaker2_Enum_SetFromStringFn ( TYPEMAKER2_ENUM p_struct,
const char *  p_src 
)

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

Definition at line 271 of file tm_enum.c.

References NULL.

Referenced by _setEnumStringFns().

Here is the caller graph for this function:

void Typemaker2_Enum_SetId ( TYPEMAKER2_ENUM p_struct,
const char *  p_src 
)

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

Definition at line 206 of file tm_enum.c.

References NULL.

void Typemaker2_Enum_SetItems ( TYPEMAKER2_ENUM p_struct,
const TYPEMAKER2_ITEM_LIST *  p_src 
)

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

Definition at line 245 of file tm_enum.c.

References Typemaker2_Item_List_dup().

Here is the call graph for this function:

void Typemaker2_Enum_SetPrefix ( TYPEMAKER2_ENUM p_struct,
const char *  p_src 
)

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

Definition at line 219 of file tm_enum.c.

References NULL.

void Typemaker2_Enum_SetToStringFn ( TYPEMAKER2_ENUM p_struct,
const char *  p_src 
)

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

Definition at line 258 of file tm_enum.c.

References NULL.

Referenced by _setEnumStringFns().

Here is the caller graph for this function:

void Typemaker2_Enum_SetType ( TYPEMAKER2_ENUM p_struct,
const char *  p_src 
)

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

Definition at line 232 of file tm_enum.c.

References NULL.

void Typemaker2_Enum_toXml ( const TYPEMAKER2_ENUM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 373 of file tm_enum.c.

References Typemaker2_Enum_WriteXml().

Here is the call graph for this function:

void Typemaker2_Enum_WriteXml ( const TYPEMAKER2_ENUM p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 354 of file tm_enum.c.

References GWEN_XMLNode_SetProperty().

Referenced by Typemaker2_Enum_toXml().

Here is the call graph for this function:

Here is the caller graph for this function: