ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
tccore
idfr.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 IDFR_H
17
#define IDFR_H
18
19
#include <
tc/tc_startup.h
>
20
#include <
common/emh_const.h
>
21
#include <
tccore/idfr_errors.h
>
22
#include <
user_exits/user_exits.h
>
23
#include <tccore/libtccore_exports.h>
24
71
#define IDENTIFIER_class_name_c "Identifier"
72
#define IDENTIFIER_rev_type_name_c "IdentifierRev"
73
#define IDENTIFIER_id "idfr_id"
74
#define IDENTIFIER_idcontext "idcontext"
75
#define IDENTIFIER_altidof "altid_of"
76
#define IDENTIFIER_dispdefault "disp_default"
77
#define IDENTIFIER_supplcontext "suppl_context"
78
#define ALIASID_relation "IMAN_aliasid"
79
85
#define IDENTIFIER_create_alternate_msg "IDENTIFIER_create_alternate"
86
#define IDENTIFIER_revise_alternate_msg "IDENTIFIER_revise_alternate"
87
#define IDENTIFIER_saveas_alternate_msg "IDENTIFIER_saveas_alternate"
88
#define IDENTIFIER_create_alias_msg "IDENTIFIER_create_alias"
89
91
#ifdef __cplusplus
92
extern
"C"
{
93
#endif
94
107
extern
TCCORE_API
int
IDFR_create_aliasid
(
108
const
char
* identifier_type,
109
tag_t
* new_identifier_tag
110
);
111
136
extern
TCCORE_API
int
IDFR_create_altid
(
137
const
char
* identifier_type,
138
tag_t
idfbl_tag,
139
tag_t
idfbl_rev_tag,
140
tag_t
idcontext_tag,
141
tag_t
* altid_tag,
142
tag_t
* altid_rev_tag
143
);
144
153
extern
TCCORE_API
int
IDFR_revise_altid
(
154
tag_t
altid_or_rev_tag,
155
tag_t
idfbl_rev_tag,
156
tag_t
* new_altid_rev_tag
157
);
158
165
extern
TCCORE_API
int
IDFR_saveas_altid
(
166
tag_t
altid_rev_tag,
167
tag_t
idfbl_rev_tag,
168
tag_t
* new_altid_rev_tag
169
);
170
174
extern
TCCORE_API
int
IDFR_ask_aliasidof
(
175
tag_t
identifier_tag,
176
int
* num_identifiables,
177
tag_t
** identifiable_tags
178
);
179
187
extern
TCCORE_API
int
IDFR_ask_altidof
(
188
tag_t
identifier_tag,
189
tag_t
* identifiable_tag
190
);
191
195
extern
TCCORE_API
int
IDFR_ask_id
(
196
tag_t
identifier_tag,
197
char
** identifier_id
198
);
199
207
extern
TCCORE_API
int
IDFR_ask_idcontext
(
208
tag_t
identifier_tag,
209
tag_t
* idcontext_tag
210
);
211
221
extern
TCCORE_API
int
IDFR_ask_supplcontext
(
222
tag_t
identifier_tag,
223
tag_t
* supplcontext_tag
224
);
225
226
extern
TCCORE_API
int
IDFR_set_altidof
(
227
tag_t
identifier_tag,
228
tag_t
identifiable_tag
229
);
230
237
extern
TCCORE_API
int
IDFR_set_id
(
238
tag_t
identifier_tag,
239
const
char
* identifier_id
240
);
241
242
extern
TCCORE_API
int
IDFR_set_idcontext
(
243
tag_t
identifier_tag,
244
tag_t
idcontext_tag
245
);
246
247
extern
TCCORE_API
int
IDFR_set_supplcontext
(
248
tag_t
identifier_tag,
249
tag_t
supplcontext_tag
250
);
251
255
extern
TCCORE_API
int
IDFR_new_alt_id
(
256
tag_t
idcontext_tag,
257
const
char
* idfr_type,
258
char
** new_id
259
);
260
266
extern
TCCORE_API
int
IDFR_new_alt_ids
(
267
tag_t
idcontext_tag,
268
const
char
* idfr_type,
269
char
** new_id,
270
char
** new_rev_id
271
);
272
276
extern
TCCORE_API
int
IDFR_new_rev_id
(
277
tag_t
idfr_rev_tag,
278
char
** new_rev_id
279
);
280
281
extern
TCCORE_API
int
IDFR_validate_alt_id
(
282
tag_t
idcontext_tag,
283
const
char
* idfr_type,
284
const
char
* new_id,
285
const
char
* pattern_name,
286
char
** modified_id,
287
IDValid_e
* status
288
);
289
290
extern
TCCORE_API
int
IDFR_validate_alt_ids
(
291
tag_t
idcontext_tag,
292
const
char
* idfr_type,
293
const
char
* new_id,
294
const
char
* new_rev_id,
295
const
char
* pattern_name,
296
char
** modified_id,
297
char
** modified_rev_id,
298
IDValid_e
* status
299
);
300
301
extern
TCCORE_API
int
IDFR_validate_rev_id
(
302
tag_t
idfr_rev_tag,
303
const
char
* new_rev_id,
304
const
char
* pattern_name,
305
char
** modified_id,
306
IDValid_e
* status
307
);
308
312
extern
TCCORE_API
int
IDFR_add_aliasidof
(
313
tag_t
identifier_tag,
314
int
num_identifiables,
315
tag_t
* identifiable_tags
316
);
317
321
extern
TCCORE_API
int
IDFR_remove_aliasidof
(
322
tag_t
identifier_tag,
323
int
num_identifiables,
324
tag_t
* identifiable_tags
325
);
326
333
extern
TCCORE_API
int
IDFR_find_identifiers
(
334
const
char
*
id
,
335
tag_t
idcontext_tag,
336
int
* num_identifiers,
337
tag_t
** identifier_tags
338
);
339
343
extern
TCCORE_API
int
IDFR_list_suppl_identifiers
(
344
tag_t
master_idfr_tag,
345
int
* num_suppl,
346
tag_t
** suppl_idfr_tags
347
);
348
353
extern
TCCORE_API
int
IDFR_find_suppl_identifiers
(
354
tag_t
master_idfr_tag,
355
const
char
* suppl_id,
357
int
* num_suppl,
358
tag_t
** suppl_idfr_tags
359
);
360
365
extern
TCCORE_API
int
IDFR_idfbl_ask_disp_default
(
366
tag_t
identifiable_tag,
367
tag_t
* altid_tag
368
);
369
376
extern
TCCORE_API
int
IDFR_idfbl_set_disp_default
(
377
tag_t
identifiable_tag,
378
tag_t
altid_tag
379
);
380
386
extern
TCCORE_API
int
IDFR_idfbl_ask_disp_altid
(
387
tag_t
identifiable_tag,
388
tag_t
iddisprule_tag,
389
tag_t
* altid_tag
390
);
391
396
extern
TCCORE_API
int
IDFR_idfbl_list_altids
(
397
tag_t
identifiable_tag,
398
int
* num_altids,
399
tag_t
** altid_tags
400
);
401
406
extern
TCCORE_API
int
IDFR_idfbl_list_aliasids
(
407
tag_t
identifiable_tag,
408
int
* num_aliases,
409
tag_t
** aliasid_tags
410
);
411
417
extern
TCCORE_API
int
IDFR_idfbl_find_altids
(
418
tag_t
identifiable_tag,
419
const
char
*
id
,
420
tag_t
idcontext_tag,
421
int
* num_altids,
422
tag_t
** altid_tags
423
);
424
433
extern
TCCORE_API
int
IDFR_idfbl_find_altidsof
(
434
const
char
*
id
,
435
tag_t
idcontext_tag,
436
tag_t
identifiable_class_tag,
437
int
* num_identifiables,
438
tag_t
** identifiable_tags
439
);
440
443
#ifdef __cplusplus
444
}
445
#endif
446
447
#include <tccore/libtccore_undef.h>
448
449
#endif