ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
qry
pff.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
12
/* */
13
14
#ifndef PFF_H
15
#define PFF_H
16
17
#include <
unidefs.h
>
18
29
#define PFF_name_size_c 128
30
#define PFF_desc_size_c 240
31
#define PFF_class_size_c 32
32
#define PFF_clause_size_c 240
33
35
#include <qry/libqry_exports.h>
36
40
typedef
int (*
REPORT_user_column_function_t
) (
41
tag_t
pff_tag,
42
tag_t
* obj_tags,
43
int
n_tags,
44
char
** output
45
);
46
47
typedef
struct
REPORT_user_column_entry_s
48
{
49
char
*
column_name
;
50
REPORT_user_column_function_t
user_method
;
51
}
REPORT_user_column_entry_t
;
52
53
#ifdef __cplusplus
54
extern
"C"
{
55
#endif
56
57
62
extern
QRY_API
int
PFF_ask_name
(
63
tag_t
pff_tag,
64
char
qname[
PFF_name_size_c
+ 1]
65
);
66
70
extern
QRY_API
int
PFF_ask_name2
(
71
tag_t
pff_tag,
72
char
**qname
73
);
74
79
extern
QRY_API
int
PFF_set_name
(
80
tag_t
pff_tag,
81
const
char
qname[
PFF_name_size_c
+ 1]
82
);
83
84
88
extern
QRY_API
int
PFF_set_name2
(
89
tag_t
pff_tag,
90
const
char
*qname
91
);
92
93
98
extern
QRY_API
int
PFF_ask_description
(
99
tag_t
pff_tag,
100
char
qdesc[
PFF_desc_size_c
+ 1]
101
);
102
103
107
extern
QRY_API
int
PFF_ask_description2
(
108
tag_t
pff_tag,
109
char
**qdesc
110
);
111
112
117
extern
QRY_API
int
PFF_set_description
(
118
tag_t
pff_tag,
119
const
char
qdesc[
PFF_desc_size_c
+ 1]
120
);
121
122
126
extern
QRY_API
int
PFF_set_description2
(
127
tag_t
pff_tag,
128
const
char
*qdesc
129
);
130
131
136
extern
QRY_API
int
PFF_ask_class
(
137
tag_t
pff_tag,
138
char
qclass[
PFF_class_size_c
+ 1]
139
);
140
141
145
extern
QRY_API
int
PFF_ask_class2
(
146
tag_t
pff_tag,
147
char
**qclass
148
);
149
150
155
extern
QRY_API
int
PFF_set_class
(
156
tag_t
pff_tag,
157
const
char
qclass[
PFF_class_size_c
+ 1]
158
);
159
160
164
extern
QRY_API
int
PFF_set_class2
(
165
tag_t
pff_tag,
166
const
char
*qclass
167
);
168
169
extern
QRY_API
int
PFF_ask_clauses
(
170
tag_t
pff_tag,
171
char
** qclauses
172
);
173
174
extern
QRY_API
int
PFF_set_clauses
(
175
tag_t
pff_tag,
176
const
char
* qclauses
177
);
178
179
184
extern
QRY_API
int
PFF_find
(
185
const
char
name[
PFF_name_size_c
+ 1],
186
tag_t
* pff_tag
187
);
188
189
190
extern
QRY_API
int
PFF_find2
(
191
const
char
*name,
192
tag_t
* pff_tag
193
);
194
195
extern
QRY_API
int
PFF_extent
(
196
int
* pff_count,
197
tag_t
** pff_tag
198
);
199
200
extern
QRY_API
int
PFF_write_xml
(
201
tag_t
pff_tag,
202
int
num_tuples,
203
int
num_tags_per_tuple,
204
tag_t
* tuples,
205
char
* output_file_name
206
);
207
208
extern
QRY_API
int
PFF_write_xml_with_clauses
(
209
tag_t
pff_tag,
210
int
num_tuples,
211
int
num_tags_per_tuple,
212
tag_t
* tuples,
213
int
num_clauses,
214
char
** clauses,
215
char
* output_file_name
216
);
217
218
extern
QRY_API
int
PFF_describe_pff
(
219
tag_t
pff_tag,
220
int
* num_clauses,
221
char
*** column_names,
222
char
*** relation_to_base
223
);
224
225
230
extern
QRY_API
int
PFF_create
(
231
const
char
name[
PFF_name_size_c
+ 1],
232
const
char
qdesc[
PFF_desc_size_c
+ 1],
233
const
char
qclass[
PFF_class_size_c
+ 1],
234
const
char
* qclauses,
235
tag_t
* pff_tag
236
);
237
238
239
extern
QRY_API
int
PFF_create2
(
240
const
char
*name,
241
const
char
*qdesc,
242
const
char
*qclass,
243
const
char
* qclauses,
244
tag_t
* pff_tag
245
);
246
247
extern
QRY_API
void
PFF_register_user_columns
(
248
int
n_columns,
249
REPORT_user_column_entry_t
* column_methods
250
);
251
254
#ifdef __cplusplus
255
}
256
#endif
257
258
#include <qry/libqry_undef.h>
259
260
#endif