File: tm_code.h

package info (click to toggle)
libgwenhywfar 5.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,300 kB
  • sloc: ansic: 135,622; cpp: 11,186; sh: 5,025; objc: 2,548; makefile: 2,357; xml: 1,882
file content (116 lines) | stat: -rw-r--r-- 3,232 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/**********************************************************
 * This file has been automatically created by "typemaker2"
 * from the file "tm_code.xml".
 * Please do not edit this file, all changes will be lost.
 * Better edit the mentioned source file instead.
 **********************************************************/

#ifndef TM_CODE_H
#define TM_CODE_H


#ifdef __cplusplus
extern "C" {
#endif

/* needed system headers */
#include <gwenhywfar/types.h>
#include <gwenhywfar/list1.h>
#include <gwenhywfar/xml.h>

/* pre-headers */
#include "tm_item.h"

typedef struct TYPEMAKER2_CODE TYPEMAKER2_CODE;
GWEN_LIST_FUNCTION_DEFS(TYPEMAKER2_CODE, Typemaker2_Code)


/* post-headers */


/** Constructor. */
TYPEMAKER2_CODE *Typemaker2_Code_new(void);

/** Destructor. */
void Typemaker2_Code_free(TYPEMAKER2_CODE *p_struct);

TYPEMAKER2_CODE *Typemaker2_Code_dup(const TYPEMAKER2_CODE *p_struct);

TYPEMAKER2_CODE *Typemaker2_Code_copy(TYPEMAKER2_CODE *p_struct, const TYPEMAKER2_CODE *p_src);

/** Getter.
 * Use this function to get the member "id"
*/
const char *Typemaker2_Code_GetId(const TYPEMAKER2_CODE *p_struct);

/** Getter.
 * Use this function to get the member "memberFlagsMask"
*/
const char *Typemaker2_Code_GetMemberFlagsMask(const TYPEMAKER2_CODE *p_struct);

/** Getter.
 * Use this function to get the member "memberFlagsValue"
*/
const char *Typemaker2_Code_GetMemberFlagsValue(const TYPEMAKER2_CODE *p_struct);

/** Getter.
 * Use this function to get the member "code"
*/
const char *Typemaker2_Code_GetCode(const TYPEMAKER2_CODE *p_struct);

/** Getter.
 * Use this function to get the member "memberFlagsMaskInt"
*/
uint32_t Typemaker2_Code_GetMemberFlagsMaskInt(const TYPEMAKER2_CODE *p_struct);

/** Getter.
 * Use this function to get the member "memberFlagsValueInt"
*/
uint32_t Typemaker2_Code_GetMemberFlagsValueInt(const TYPEMAKER2_CODE *p_struct);

/** Setter.
 * Use this function to set the member "id"
*/
void Typemaker2_Code_SetId(TYPEMAKER2_CODE *p_struct, const char *p_src);

/** Setter.
 * Use this function to set the member "memberFlagsMask"
*/
void Typemaker2_Code_SetMemberFlagsMask(TYPEMAKER2_CODE *p_struct, const char *p_src);

/** Setter.
 * Use this function to set the member "memberFlagsValue"
*/
void Typemaker2_Code_SetMemberFlagsValue(TYPEMAKER2_CODE *p_struct, const char *p_src);

/** Setter.
 * Use this function to set the member "code"
*/
void Typemaker2_Code_SetCode(TYPEMAKER2_CODE *p_struct, const char *p_src);

/** Setter.
 * Use this function to set the member "memberFlagsMaskInt"
*/
void Typemaker2_Code_SetMemberFlagsMaskInt(TYPEMAKER2_CODE *p_struct, uint32_t p_src);

/** Setter.
 * Use this function to set the member "memberFlagsValueInt"
*/
void Typemaker2_Code_SetMemberFlagsValueInt(TYPEMAKER2_CODE *p_struct, uint32_t p_src);

TYPEMAKER2_CODE_LIST *Typemaker2_Code_List_dup(const TYPEMAKER2_CODE_LIST *p_src);

void Typemaker2_Code_ReadXml(TYPEMAKER2_CODE *p_struct, GWEN_XMLNODE *p_db);

void Typemaker2_Code_WriteXml(const TYPEMAKER2_CODE *p_struct, GWEN_XMLNODE *p_db);

void Typemaker2_Code_toXml(const TYPEMAKER2_CODE *p_struct, GWEN_XMLNODE *p_db);

TYPEMAKER2_CODE *Typemaker2_Code_fromXml(GWEN_XMLNODE *p_db);

#ifdef __cplusplus
}
#endif

#endif