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

Go to the source code of this file.

Typedefs

typedef struct TYPEMAKER2_DEFINE TYPEMAKER2_DEFINE
 

Enumerations

enum  { Typemaker2_Define_Mode_Unknown = -1 , Typemaker2_Define_Mode_Sequence = 1 , Typemaker2_Define_Mode_BitField }
 

Functions

TYPEMAKER2_DEFINETypemaker2_Define_copy (TYPEMAKER2_DEFINE *p_struct, const TYPEMAKER2_DEFINE *p_src)
 
TYPEMAKER2_DEFINETypemaker2_Define_dup (const TYPEMAKER2_DEFINE *p_struct)
 
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)
 

Typedef Documentation

◆ TYPEMAKER2_DEFINE

Definition at line 24 of file tm_define.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Typemaker2_Define_Mode_Unknown 
Typemaker2_Define_Mode_Sequence 
Typemaker2_Define_Mode_BitField 

Definition at line 28 of file tm_define.h.

Function Documentation

◆ Typemaker2_Define_copy()

TYPEMAKER2_DEFINE * Typemaker2_Define_copy ( TYPEMAKER2_DEFINE p_struct,
const TYPEMAKER2_DEFINE p_src 
)

Definition at line 132 of file tm_define.c.

References NULL, and Typemaker2_Item_List_dup().

Here is the call graph for this function:

◆ Typemaker2_Define_dup()

TYPEMAKER2_DEFINE * Typemaker2_Define_dup ( const TYPEMAKER2_DEFINE p_struct)

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

◆ Typemaker2_Define_free()

void Typemaker2_Define_free ( TYPEMAKER2_DEFINE p_struct)

Destructor.

Definition at line 65 of file tm_define.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

◆ Typemaker2_Define_fromXml()

TYPEMAKER2_DEFINE * Typemaker2_Define_fromXml ( GWEN_XMLNODE p_db)

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

◆ Typemaker2_Define_GetId()

const char * Typemaker2_Define_GetId ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 184 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

◆ Typemaker2_Define_GetItems()

TYPEMAKER2_ITEM_LIST * Typemaker2_Define_GetItems ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 202 of file tm_define.c.

Referenced by _buildDefineDefines(), and Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Define_GetLastValue()

int Typemaker2_Define_GetLastValue ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 220 of file tm_define.c.

◆ Typemaker2_Define_GetMode()

int Typemaker2_Define_GetMode ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 208 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

◆ Typemaker2_Define_GetPrefix()

const char * Typemaker2_Define_GetPrefix ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 190 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

◆ Typemaker2_Define_GetStartValue()

int Typemaker2_Define_GetStartValue ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 214 of file tm_define.c.

Referenced by _buildDefineDefines().

Here is the caller graph for this function:

◆ Typemaker2_Define_GetType()

const char * Typemaker2_Define_GetType ( const TYPEMAKER2_DEFINE p_struct)

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

Definition at line 196 of file tm_define.c.

◆ Typemaker2_Define_List_dup()

TYPEMAKER2_DEFINE_LIST * Typemaker2_Define_List_dup ( const TYPEMAKER2_DEFINE_LIST *  p_src)

Definition at line 300 of file tm_define.c.

References Typemaker2_Define_dup().

Here is the call graph for this function:

◆ Typemaker2_Define_Mode_fromString()

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:

◆ Typemaker2_Define_Mode_toString()

const char * Typemaker2_Define_Mode_toString ( int  p_i)

Definition at line 34 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_new()

TYPEMAKER2_DEFINE * Typemaker2_Define_new ( void  )

Constructor.

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

◆ Typemaker2_Define_ReadXml()

void Typemaker2_Define_ReadXml ( TYPEMAKER2_DEFINE p_struct,
GWEN_XMLNODE p_db 
)

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

◆ Typemaker2_Define_SetId()

void Typemaker2_Define_SetId ( TYPEMAKER2_DEFINE p_struct,
const char *  p_src 
)

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

Definition at line 226 of file tm_define.c.

References NULL.

◆ Typemaker2_Define_SetItems()

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 268 of file tm_define.c.

References Typemaker2_Item_List_dup().

Here is the call graph for this function:

◆ Typemaker2_Define_SetLastValue()

void Typemaker2_Define_SetLastValue ( TYPEMAKER2_DEFINE p_struct,
int  p_src 
)

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

Definition at line 294 of file tm_define.c.

◆ Typemaker2_Define_SetMode()

void Typemaker2_Define_SetMode ( TYPEMAKER2_DEFINE p_struct,
int  p_src 
)

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

Definition at line 282 of file tm_define.c.

◆ Typemaker2_Define_SetPrefix()

void Typemaker2_Define_SetPrefix ( TYPEMAKER2_DEFINE p_struct,
const char *  p_src 
)

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

Definition at line 240 of file tm_define.c.

References NULL.

◆ Typemaker2_Define_SetStartValue()

void Typemaker2_Define_SetStartValue ( TYPEMAKER2_DEFINE p_struct,
int  p_src 
)

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

Definition at line 288 of file tm_define.c.

◆ Typemaker2_Define_SetType()

void Typemaker2_Define_SetType ( TYPEMAKER2_DEFINE p_struct,
const char *  p_src 
)

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

Definition at line 254 of file tm_define.c.

References NULL.

◆ Typemaker2_Define_toXml()

void Typemaker2_Define_toXml ( const TYPEMAKER2_DEFINE p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 414 of file tm_define.c.

References Typemaker2_Define_WriteXml().

Here is the call graph for this function:

◆ Typemaker2_Define_WriteXml()

void Typemaker2_Define_WriteXml ( const TYPEMAKER2_DEFINE p_struct,
GWEN_XMLNODE p_db 
)

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