ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
ai
udatarw.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
14
/* */
15
16
#ifndef AIWS_USERDATARW__H
17
#define AIWS_USERDATARW__H
18
19
#include <
tc/tc_startup.h
>
20
21
#include <ai/libai_exports.h>
22
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
extern
AI_API
int
AIWS_reader_init
(
34
const
char
* xmlIn,
35
tag_t
*
id
36
);
37
38
extern
AI_API
int
AIWS_reader_num_sections
(
39
tag_t
id
,
40
int
* numSections
41
);
42
43
extern
AI_API
int
AIWS_reader_find_section
(
44
tag_t
id
,
45
const
char
* key,
46
int
* sectionNum
47
);
48
49
extern
AI_API
int
AIWS_reader_get_token_value
(
50
tag_t
id
,
51
int
sectionNum,
52
const
char
* key,
53
char
* value,
54
size_t
valSize
55
);
56
57
extern
AI_API
int
AIWS_reader_get_token_values
(
58
tag_t
id
,
59
int
sectionNum,
60
const
char
* key,
61
char
*** values,
62
size_t
* numValues
63
);
64
65
extern
AI_API
int
AIWS_reader_release
(
66
tag_t
id
67
);
68
69
extern
AI_API
int
AIWS_writer_init
(
70
tag_t
*
id
71
);
72
73
extern
AI_API
int
AIWS_writer_startSection
(
74
tag_t
id
,
75
const
char
* section
76
);
77
78
extern
AI_API
int
AIWS_writer_write_kv
(
79
tag_t
id
,
80
const
char
* key,
81
const
char
* value,
82
int
bCreateNew
83
);
84
85
extern
AI_API
int
AIWS_writer_endSection
(
86
tag_t
id
87
);
88
89
extern
AI_API
int
AIWS_writer_result
(
90
tag_t
id
,
91
char
** xmlOut
92
);
93
94
extern
AI_API
int
AIWS_writer_release
(
95
tag_t
id
96
);
97
98
#ifdef __cplusplus
99
}
100
#endif
101
104
#include <ai/libai_undef.h>
105
106
#endif