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

Go to the source code of this file.

Functions

TESTTest_dup (const TEST *p_src)
 
void Test_free (TEST *p_struct)
 
TESTTest_fromXml (GWEN_XMLNODE *p_db)
 
const char * Test_GetId (const TEST *p_struct)
 
TYPEMAKER2_ITEM_LIST * Test_GetItems (const TEST *p_struct)
 
int Test_GetMode (const TEST *p_struct)
 
const char * Test_GetPrefix (const TEST *p_struct)
 
const char * Test_GetType (const TEST *p_struct)
 
int Test_Mode_fromString (const char *p_s)
 
const char * Test_Mode_toString (int p_i)
 
TESTTest_new ()
 
void Test_ReadXml (TEST *p_struct, GWEN_XMLNODE *p_db)
 
void Test_SetId (TEST *p_struct, const char *p_src)
 
void Test_SetItems (TEST *p_struct, const TYPEMAKER2_ITEM_LIST *p_src)
 
void Test_SetMode (TEST *p_struct, int p_src)
 
void Test_SetPrefix (TEST *p_struct, const char *p_src)
 
void Test_SetType (TEST *p_struct, const char *p_src)
 
void Test_toXml (const TEST *p_struct, GWEN_XMLNODE *p_db)
 
void Test_WriteXml (const TEST *p_struct, GWEN_XMLNODE *p_db)
 

Function Documentation

TEST* Test_dup ( const TEST p_src)

Definition at line 69 of file test.c.

References NULL, and Test_new().

Here is the call graph for this function:

void Test_free ( TEST p_struct)

Destructor.

Definition at line 56 of file test.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

TEST* Test_fromXml ( GWEN_XMLNODE p_db)

Definition at line 256 of file test.c.

References Test_new(), and Test_ReadXml().

Here is the call graph for this function:

const char* Test_GetId ( const TEST p_struct)

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

Definition at line 116 of file test.c.

TYPEMAKER2_ITEM_LIST* Test_GetItems ( const TEST p_struct)

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

Definition at line 131 of file test.c.

int Test_GetMode ( const TEST p_struct)

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

Definition at line 136 of file test.c.

const char* Test_GetPrefix ( const TEST p_struct)

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

Definition at line 121 of file test.c.

const char* Test_GetType ( const TEST p_struct)

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

Definition at line 126 of file test.c.

int Test_Mode_fromString ( const char *  p_s)

Definition at line 23 of file test.c.

References Test_Mode_BitField, Test_Mode_Sequence, and Test_Mode_Unknown.

const char* Test_Mode_toString ( int  p_i)

Definition at line 33 of file test.c.

References Test_Mode_BitField, and Test_Mode_Sequence.

TEST* Test_new ( )

Constructor.

Definition at line 41 of file test.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, and NULL.

Referenced by Test_dup(), and Test_fromXml().

Here is the caller graph for this function:

void Test_ReadXml ( TEST p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 198 of file test.c.

References GWEN_XMLNode_GetProperty(), and NULL.

Referenced by Test_fromXml().

Here is the call graph for this function:

Here is the caller graph for this function:

void Test_SetId ( TEST p_struct,
const char *  p_src 
)

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

Definition at line 141 of file test.c.

References NULL.

void Test_SetItems ( TEST p_struct,
const TYPEMAKER2_ITEM_LIST *  p_src 
)

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

Definition at line 180 of file test.c.

void Test_SetMode ( TEST p_struct,
int  p_src 
)

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

Definition at line 193 of file test.c.

void Test_SetPrefix ( TEST p_struct,
const char *  p_src 
)

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

Definition at line 154 of file test.c.

References NULL.

void Test_SetType ( TEST p_struct,
const char *  p_src 
)

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

Definition at line 167 of file test.c.

References NULL.

void Test_toXml ( const TEST p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 252 of file test.c.

References Test_WriteXml().

Here is the call graph for this function:

void Test_WriteXml ( const TEST p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 234 of file test.c.

References GWEN_XMLNode_SetProperty().

Referenced by Test_toXml().

Here is the call graph for this function:

Here is the caller graph for this function: