gwenhywfar  5.3.0
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_dup()

TEST* Test_dup ( const TEST p_src)

Definition at line 76 of file test.c.

References NULL, and Test_new().

Here is the call graph for this function:

◆ Test_free()

void Test_free ( TEST p_struct)

Destructor.

Definition at line 62 of file test.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

◆ Test_fromXml()

TEST* Test_fromXml ( GWEN_XMLNODE p_db)

Definition at line 292 of file test.c.

References Test_new(), and Test_ReadXml().

Here is the call graph for this function:

◆ Test_GetId()

const char* Test_GetId ( const TEST p_struct)

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

Definition at line 124 of file test.c.

◆ Test_GetItems()

TYPEMAKER2_ITEM_LIST* Test_GetItems ( const TEST p_struct)

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

Definition at line 142 of file test.c.

◆ Test_GetMode()

int Test_GetMode ( const TEST p_struct)

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

Definition at line 148 of file test.c.

◆ Test_GetPrefix()

const char* Test_GetPrefix ( const TEST p_struct)

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

Definition at line 130 of file test.c.

◆ Test_GetType()

const char* Test_GetType ( const TEST p_struct)

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

Definition at line 136 of file test.c.

◆ Test_Mode_fromString()

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.

◆ Test_Mode_toString()

const char* Test_Mode_toString ( int  p_i)

Definition at line 34 of file test.c.

References Test_Mode_BitField, and Test_Mode_Sequence.

◆ Test_new()

TEST* Test_new ( )

Constructor.

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

◆ Test_ReadXml()

void Test_ReadXml ( TEST p_struct,
GWEN_XMLNODE p_db 
)

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

◆ Test_SetId()

void Test_SetId ( TEST p_struct,
const char *  p_src 
)

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

Definition at line 154 of file test.c.

References NULL.

◆ Test_SetItems()

void Test_SetItems ( TEST p_struct,
const TYPEMAKER2_ITEM_LIST *  p_src 
)

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

Definition at line 196 of file test.c.

◆ Test_SetMode()

void Test_SetMode ( TEST p_struct,
int  p_src 
)

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

Definition at line 210 of file test.c.

◆ Test_SetPrefix()

void Test_SetPrefix ( TEST p_struct,
const char *  p_src 
)

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

Definition at line 168 of file test.c.

References NULL.

◆ Test_SetType()

void Test_SetType ( TEST p_struct,
const char *  p_src 
)

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

Definition at line 182 of file test.c.

References NULL.

◆ Test_toXml()

void Test_toXml ( const TEST p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 287 of file test.c.

References Test_WriteXml().

Here is the call graph for this function:

◆ Test_WriteXml()

void Test_WriteXml ( const TEST p_struct,
GWEN_XMLNODE p_db 
)

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