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

Go to the source code of this file.

Macros

#define TYPEMAKER2_SLOT_FLAGS_USE_PARAM3   0x00000001
#define TYPEMAKER2_SLOT_FLAGS_USE_PARAM4   0x00000002

Typedefs

typedef struct TYPEMAKER2_SLOT TYPEMAKER2_SLOT

Functions

void Typemaker2_Slot_AddFlags (TYPEMAKER2_SLOT *p_struct, uint32_t p_src)
TYPEMAKER2_SLOTTypemaker2_Slot_copy (TYPEMAKER2_SLOT *p_struct, const TYPEMAKER2_SLOT *p_src)
TYPEMAKER2_SLOTTypemaker2_Slot_dup (const TYPEMAKER2_SLOT *p_struct)
void Typemaker2_Slot_free (TYPEMAKER2_SLOT *p_struct)
TYPEMAKER2_SLOTTypemaker2_Slot_fromXml (GWEN_XMLNODE *p_db)
uint32_t Typemaker2_Slot_GetFlags (const TYPEMAKER2_SLOT *p_struct)
const char * Typemaker2_Slot_GetName (const TYPEMAKER2_SLOT *p_struct)
const char * Typemaker2_Slot_GetParamType1 (const TYPEMAKER2_SLOT *p_struct)
const char * Typemaker2_Slot_GetParamType2 (const TYPEMAKER2_SLOT *p_struct)
TYPEMAKER2_SLOT_LIST * Typemaker2_Slot_List_dup (const TYPEMAKER2_SLOT_LIST *p_src)
TYPEMAKER2_SLOTTypemaker2_Slot_new (void)
void Typemaker2_Slot_ReadXml (TYPEMAKER2_SLOT *p_struct, GWEN_XMLNODE *p_db)
void Typemaker2_Slot_SetFlags (TYPEMAKER2_SLOT *p_struct, uint32_t p_src)
void Typemaker2_Slot_SetName (TYPEMAKER2_SLOT *p_struct, const char *p_src)
void Typemaker2_Slot_SetParamType1 (TYPEMAKER2_SLOT *p_struct, const char *p_src)
void Typemaker2_Slot_SetParamType2 (TYPEMAKER2_SLOT *p_struct, const char *p_src)
void Typemaker2_Slot_SubFlags (TYPEMAKER2_SLOT *p_struct, uint32_t p_src)
void Typemaker2_Slot_toXml (const TYPEMAKER2_SLOT *p_struct, GWEN_XMLNODE *p_db)
void Typemaker2_Slot_WriteXml (const TYPEMAKER2_SLOT *p_struct, GWEN_XMLNODE *p_db)

Macro Definition Documentation

◆ TYPEMAKER2_SLOT_FLAGS_USE_PARAM3

#define TYPEMAKER2_SLOT_FLAGS_USE_PARAM3   0x00000001

◆ TYPEMAKER2_SLOT_FLAGS_USE_PARAM4

#define TYPEMAKER2_SLOT_FLAGS_USE_PARAM4   0x00000002

Typedef Documentation

◆ TYPEMAKER2_SLOT

Definition at line 27 of file tm_slot.h.

Function Documentation

◆ Typemaker2_Slot_AddFlags()

void Typemaker2_Slot_AddFlags ( TYPEMAKER2_SLOT * p_struct,
uint32_t p_src )

Add flags. Use this function to add flags to the member "flags"

Definition at line 200 of file tm_slot.c.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Slot_copy()

TYPEMAKER2_SLOT * Typemaker2_Slot_copy ( TYPEMAKER2_SLOT * p_struct,
const TYPEMAKER2_SLOT * p_src )

Definition at line 91 of file tm_slot.c.

References NULL.

◆ Typemaker2_Slot_dup()

TYPEMAKER2_SLOT * Typemaker2_Slot_dup ( const TYPEMAKER2_SLOT * p_struct)

Definition at line 52 of file tm_slot.c.

References NULL, and Typemaker2_Slot_new().

Referenced by Typemaker2_Slot_List_dup().

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

◆ Typemaker2_Slot_free()

void Typemaker2_Slot_free ( TYPEMAKER2_SLOT * p_struct)

Destructor.

Definition at line 40 of file tm_slot.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

◆ Typemaker2_Slot_fromXml()

TYPEMAKER2_SLOT * Typemaker2_Slot_fromXml ( GWEN_XMLNODE * p_db)

Definition at line 303 of file tm_slot.c.

References Typemaker2_Slot_new(), and Typemaker2_Slot_ReadXml().

Here is the call graph for this function:

◆ Typemaker2_Slot_GetFlags()

uint32_t Typemaker2_Slot_GetFlags ( const TYPEMAKER2_SLOT * p_struct)

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

Definition at line 146 of file tm_slot.c.

Referenced by TM2C_AddVirtualFnsFromSlots(), and TM2C_BuildSlotFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Slot_GetName()

const char * Typemaker2_Slot_GetName ( const TYPEMAKER2_SLOT * p_struct)

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

Definition at line 128 of file tm_slot.c.

Referenced by _addSlotInits(), TM2C_AddVirtualFnsFromSlots(), and TM2C_BuildSlotFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Slot_GetParamType1()

const char * Typemaker2_Slot_GetParamType1 ( const TYPEMAKER2_SLOT * p_struct)

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

Definition at line 134 of file tm_slot.c.

Referenced by _addSlotInits(), TM2C_AddVirtualFnsFromSlots(), and TM2C_BuildSlotFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Slot_GetParamType2()

const char * Typemaker2_Slot_GetParamType2 ( const TYPEMAKER2_SLOT * p_struct)

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

Definition at line 140 of file tm_slot.c.

Referenced by _addSlotInits(), TM2C_AddVirtualFnsFromSlots(), and TM2C_BuildSlotFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Slot_List_dup()

TYPEMAKER2_SLOT_LIST * Typemaker2_Slot_List_dup ( const TYPEMAKER2_SLOT_LIST * p_src)

Definition at line 212 of file tm_slot.c.

References Typemaker2_Slot_dup().

Here is the call graph for this function:

◆ Typemaker2_Slot_new()

TYPEMAKER2_SLOT * Typemaker2_Slot_new ( void )

Constructor.

Definition at line 24 of file tm_slot.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, NULL, and Typemaker2_Slot_new().

Referenced by Typemaker2_Slot_dup(), Typemaker2_Slot_fromXml(), Typemaker2_Slot_new(), and Typemaker2_Type_readXml().

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

◆ Typemaker2_Slot_ReadXml()

void Typemaker2_Slot_ReadXml ( TYPEMAKER2_SLOT * p_struct,
GWEN_XMLNODE * p_db )

Definition at line 231 of file tm_slot.c.

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

Referenced by Typemaker2_Slot_fromXml().

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

◆ Typemaker2_Slot_SetFlags()

void Typemaker2_Slot_SetFlags ( TYPEMAKER2_SLOT * p_struct,
uint32_t p_src )

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

Definition at line 194 of file tm_slot.c.

◆ Typemaker2_Slot_SetName()

void Typemaker2_Slot_SetName ( TYPEMAKER2_SLOT * p_struct,
const char * p_src )

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

Definition at line 152 of file tm_slot.c.

References NULL.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Slot_SetParamType1()

void Typemaker2_Slot_SetParamType1 ( TYPEMAKER2_SLOT * p_struct,
const char * p_src )

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

Definition at line 166 of file tm_slot.c.

References NULL.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Slot_SetParamType2()

void Typemaker2_Slot_SetParamType2 ( TYPEMAKER2_SLOT * p_struct,
const char * p_src )

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

Definition at line 180 of file tm_slot.c.

References NULL.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Slot_SubFlags()

void Typemaker2_Slot_SubFlags ( TYPEMAKER2_SLOT * p_struct,
uint32_t p_src )

Sub flags. Use this function to sub flags to the member "flags"

Definition at line 206 of file tm_slot.c.

◆ Typemaker2_Slot_toXml()

void Typemaker2_Slot_toXml ( const TYPEMAKER2_SLOT * p_struct,
GWEN_XMLNODE * p_db )

Definition at line 298 of file tm_slot.c.

References Typemaker2_Slot_WriteXml().

Here is the call graph for this function:

◆ Typemaker2_Slot_WriteXml()

void Typemaker2_Slot_WriteXml ( const TYPEMAKER2_SLOT * p_struct,
GWEN_XMLNODE * p_db )

Definition at line 281 of file tm_slot.c.

References GWEN_XMLNode_SetIntValue(), and GWEN_XMLNode_SetProperty().

Referenced by Typemaker2_Slot_toXml().

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