ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
collabctx
collabctx.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 COLLABCTX_H
15
#define COLLABCTX_H
16
17
#include <
unidefs.h
>
18
19
#include <collabctx/libcollabctx_exports.h>
20
30
#define COLLABCTX_CCObject_class_name_c "CCObject"
31
#define COLLABCTX_StructureContext_class_name_c "StructureContext"
32
#define COLLABCTX_context_relation_name "IMAN_CCContext"
33
#define COLLABCTX_structure_content_relation_name "IMAN_StructureContent"
34
#define COLLABCTX_study_relation_name "IMAN_CCStudy"
35
#define COLLABCTX_context_lov_name "Context Names"
36
#define COLLABCTX_ConfigurationContext_class_name_c "ConfigurationContext"
37
#define COLLABCTX_SCTypeData_class_name_c "SCTypeData"
38
#define COLLABCTX_ref_context_relation_name "IMAN_CCReferenceContext"
39
#define COLLABCTX_PrivateContext_class_name_c "PrivateContext"
40
#define COLLABCTX_SCTypeData_relation_name "IMAN_SCTypeData"
41
47
#define COLLABCTX_ccobject_type_name_c "CCObject"
48
#define COLLABCTX_me_ccobject_type_name_c "MECollaborationContext"
49
#define COLLABCTX_product_structure_type_name_c "MEProductContext"
50
#define COLLABCTX_factory_structure_type_name_c "MEPlantContext"
51
#define COLLABCTX_process_structure_type_name_c "MEProcessContext"
52
#define COLLABCTX_resource_structure_type_name_c "MEResourceContext"
53
#define COLLABCTX_private_structure_type_name_c "PrivateContext"
54
#define COLLABCTX_composition_structure_type_name_c "CompositionContext"
55
#define COLLABCTX_configuration_context_type_name_c "ConfigurationContext"
56
#define COLLABCTX_sctypedata_type_name_c "SCTypeData"
57
63
#define COLLABCTX_content_rel_any_stype 0
64
#define COLLABCTX_content_rel_background ( 1 << 0 )
65
#define COLLABCTX_content_rel_target ( 1 << 1 )
66
68
#ifdef __cplusplus
69
extern
"C"
{
70
#endif
71
83
extern
COLLABCTX_API
int
COLLABCTX_init_module
();
94
extern
COLLABCTX_API
int
COLLABCTX_create_ccobject
(
95
const
char
* type,
96
const
char
* name,
97
const
char
* desc,
98
tag_t
* cc
99
);
100
104
extern
COLLABCTX_API
int
COLLABCTX_create_structure_context
(
105
const
char
* type,
106
const
char
* name,
107
const
char
* desc,
108
tag_t
* context
109
);
110
114
extern
COLLABCTX_API
int
COLLABCTX_create_configuration_context
(
115
const
char
* type,
116
const
char
* name,
117
const
char
* desc,
118
tag_t
* rule
119
);
120
124
extern
COLLABCTX_API
int
COLLABCTX_create_config_context_based_on_ref
(
125
const
char
* type,
126
const
char
* name,
127
const
char
* desc,
128
tag_t
* ref_obj_tag,
129
tag_t
* context
130
);
131
142
extern
COLLABCTX_API
int
COLLABCTX_add_structure_context
(
143
tag_t
cc,
144
tag_t
context
145
);
146
150
extern
COLLABCTX_API
int
COLLABCTX_remove_structure_context
(
151
tag_t
cc,
152
tag_t
context
153
);
154
158
extern
COLLABCTX_API
int
COLLABCTX_ask_structure_contexts
(
159
tag_t
cc,
160
int
* number,
161
tag_t
** contexts
162
);
163
168
extern
COLLABCTX_API
int
COLLABCTX_ask_working_context
(
169
tag_t
cc,
170
tag_t
* context
171
);
172
176
extern
COLLABCTX_API
int
COLLABCTX_set_working_context
(
177
tag_t
cc,
178
tag_t
context
179
);
180
184
extern
COLLABCTX_API
int
COLLABCTX_ccobj_ask_config_context
(
185
tag_t
cc,
186
tag_t
* config
187
);
188
192
extern
COLLABCTX_API
int
COLLABCTX_ccobj_set_config_context
(
193
tag_t
cc,
194
tag_t
config
195
);
206
extern
COLLABCTX_API
int
COLLABCTX_context_ask_config_context
(
207
tag_t
context,
208
tag_t
* config
209
);
210
214
extern
COLLABCTX_API
int
COLLABCTX_context_set_config_context
(
215
tag_t
context,
216
tag_t
config
217
);
218
223
extern
COLLABCTX_API
int
COLLABCTX_context_add_content
(
224
tag_t
context,
225
tag_t
comp,
226
int
subType
227
);
228
233
extern
COLLABCTX_API
int
COLLABCTX_context_remove_content
(
234
tag_t
context,
235
tag_t
comp
236
);
237
241
extern
COLLABCTX_API
int
COLLABCTX_context_ask_contents
(
242
tag_t
context,
243
int
* number,
244
tag_t
** contents,
245
int
subType
246
);
247
251
extern
COLLABCTX_API
int
COLLABCTX_context_is_composition
(
252
tag_t
context,
253
logical
* isComp
254
);
255
259
extern
COLLABCTX_API
int
COLLABCTX_context_single_end_item
(
260
tag_t
context,
261
logical
* isSingle
262
);
273
extern
COLLABCTX_API
int
COLLABCTX_configuration_set_closurerule
(
274
tag_t
context,
275
tag_t
rule
276
);
277
282
extern
COLLABCTX_API
int
COLLABCTX_configuration_chg_closurerule
(
283
tag_t
context,
284
tag_t
rule
285
);
286
290
extern
COLLABCTX_API
int
COLLABCTX_configuration_ask_closurerule
(
291
tag_t
context,
292
tag_t
* rule
293
);
294
302
extern
COLLABCTX_API
int
COLLABCTX_configuration_set_revisionrule
(
303
tag_t
context,
304
tag_t
rule
305
);
306
311
extern
COLLABCTX_API
int
COLLABCTX_configuration_chg_revisionrule
(
312
tag_t
context,
313
tag_t
rule
314
);
315
319
extern
COLLABCTX_API
int
COLLABCTX_configuration_ask_revisionrule
(
320
tag_t
context,
321
tag_t
* rule
322
);
323
327
extern
COLLABCTX_API
int
COLLABCTX_configuration_set_arrangement
(
328
tag_t
context,
329
tag_t
arrangement
330
);
331
336
extern
COLLABCTX_API
int
COLLABCTX_configuration_chg_arrangement
(
337
tag_t
context,
338
tag_t
arrangement
339
);
340
344
extern
COLLABCTX_API
int
COLLABCTX_configuration_ask_arrangement
(
345
tag_t
context,
346
tag_t
* arrangement
347
);
348
364
extern
COLLABCTX_API
int
COLLABCTX_configuration_set_variantrule
(
365
tag_t
context,
366
tag_t
rule
367
);
368
378
extern
COLLABCTX_API
int
COLLABCTX_configuration_chg_variantrule
(
379
tag_t
context,
380
tag_t
rule
381
);
382
391
extern
COLLABCTX_API
int
COLLABCTX_configuration_ask_variantrule
(
392
tag_t
context,
393
tag_t
* rule
394
);
405
extern
COLLABCTX_API
int
COLLABCTX_sctype_ask_is_composition
(
406
tag_t
scType,
407
logical
* is_comp
408
);
409
413
extern
COLLABCTX_API
int
COLLABCTX_sctype_ask_single_end_item
(
414
tag_t
scType,
415
logical
* is_single
416
);
417
428
extern
COLLABCTX_API
int
COLLABCTX_copy_ccobject
(
429
tag_t
baseCC,
430
const
char
* name,
431
const
char
* desc,
432
tag_t
* newCC
433
);
434
438
extern
COLLABCTX_API
int
COLLABCTX_copy_structure_context
(
439
tag_t
baseSC,
440
const
char
* name,
441
const
char
* desc,
442
tag_t
* newSC
443
);
444
448
extern
COLLABCTX_API
int
COLLABCTX_copy_configuration_context
(
449
tag_t
baseConfig,
450
const
char
* name,
451
const
char
* desc,
452
tag_t
* newConfig
453
);
454
465
extern
COLLABCTX_API
int
COLLABCTX_acctability_check
(
466
tag_t
* srcLines,
467
int
srcLineCount,
468
tag_t
* tarLines,
469
int
tarLineCount,
470
int
options,
479
tag_t
assyCtxtLineTag,
480
tag_t
bomCtxtLineTag,
481
int
* srcRetCount,
482
tag_t
** srcRetTags,
483
int
* matRetCount,
484
tag_t
** matRetTags
485
);
486
491
extern
COLLABCTX_API
int
COLLABCTX_clear_acctability_check
(
492
tag_t
* windows,
493
int
num_win
494
);
495
499
extern
COLLABCTX_API
int
COLLABCTX_alignment_check
(
500
tag_t
source_line,
501
tag_t
target_line,
502
int
*count,
503
tag_t
**source_lines,
504
tag_t
**target_lines,
505
int
**n_mismatched_properties,
506
int
**mismatched_properties,
507
int
*n_properties,
508
char
***properties
509
);
510
514
extern
COLLABCTX_API
int
COLLABCTX_sync_aligned_occurrences
(
515
tag_t
source_line,
516
tag_t
target_line
517
);
518
528
extern
COLLABCTX_API
int
COLLABCTX_configuration_ask_variant_rules
(
529
tag_t
context,
530
int
* num_variant_rules,
531
tag_t
** variant_rules
532
);
533
546
extern
COLLABCTX_API
int
COLLABCTX_configuration_set_variant_rules
(
547
tag_t
context,
548
int
num_variant_rules,
549
tag_t
* variant_rules
550
);
551
566
extern
COLLABCTX_API
int
COLLABCTX_configuration_change_variant_rules
(
567
tag_t
context,
568
int
num_variant_rules,
569
tag_t
* variant_rules
571
);
572
577
#ifdef __cplusplus
578
}
579
#endif
580
581
#include <collabctx/libcollabctx_undef.h>
582
583
#endif