ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
ecm
ic.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
29
/* */
30
31
#ifndef IC_H
32
#define IC_H
33
34
#include <
fclasses/tc_basic.h
>
35
59
typedef
enum
IC_change_type_e
60
{
61
IC_add
= 1,
62
IC_remove
63
}
IC_change_type_t
;
64
65
/*
66
** IC_list_type_t is used to describe the types of incremental changes
67
** made to an affected object.
68
** Currently not used by any IC ITK
69
*/
70
typedef
enum
IC_list_type_e
71
{
72
IC_list_none
= 0,
73
IC_list_adds
= 1,
74
IC_list_removes
= 2,
75
IC_list_both
= 3
/* IC_list_adds | IC_list_removes */
76
}
IC_list_type_t
;
77
78
83
#define IC_PRT_folder_contents "Folder::contents"
84
89
#define IC_PRT_occ_predecessor "PSOccurrence::pred_list"
90
91
#include <ecm/libecm_exports.h>
92
93
#ifdef __cplusplus
94
extern
"C"
{
95
#endif
96
100
extern
ECM_API
int
IC_create_ice
(
101
tag_t
ic_rev_tag,
102
tag_t
affected_obj,
103
IC_change_type_t
change_type,
104
tag_t
* ice
105
);
106
111
extern
ECM_API
int
IC_create_ice_pr
(
112
tag_t
ic_rev_tag,
113
tag_t
child_obj,
115
tag_t
parent_obj,
117
const
char
* pseudo_reln_type,
119
IC_change_type_t
change_type,
120
tag_t
* ice
121
);
122
127
extern
ECM_API
int
IC_delete_ice
(
128
tag_t
ice
129
);
130
138
extern
ECM_API
int
IC_ask_ice_affected_object
(
139
tag_t
ice,
140
tag_t
* affected_obj,
141
tag_t
* parent_obj,
142
char
** pseudo_reln_type
143
);
144
148
extern
ECM_API
int
IC_ask_ice_change_type
(
149
tag_t
ice,
150
IC_change_type_t
* change_type
151
);
152
157
extern
ECM_API
int
IC_find_ice
(
158
tag_t
ic_rev_tag,
159
tag_t
affected_obj,
160
tag_t
* ice
161
);
162
166
extern
ECM_API
int
IC_find_ice_pr
(
167
tag_t
ic_rev_tag,
168
tag_t
child_obj,
169
tag_t
parent_obj,
170
const
char
* pseudo_reln_type,
171
tag_t
* ice
172
);
173
177
extern
ECM_API
int
IC_list_ices_of_ic_rev
(
178
tag_t
ic_rev_tag,
179
int
* n_ices,
180
tag_t
** ices
181
);
182
186
extern
ECM_API
int
IC_find_ices_affecting_obj
(
187
tag_t
affected_obj,
188
int
* n_ices,
189
tag_t
** ices
190
);
191
195
extern
ECM_API
int
IC_find_ices_affecting_pr
(
196
tag_t
child_obj,
197
tag_t
parent_obj,
198
const
char
* pseudo_reln_type,
199
int
* n_ices,
200
tag_t
** ices
201
);
202
207
extern
ECM_API
int
IC_is_configured
(
208
tag_t
affected_obj,
209
tag_t
rev_rule,
210
logical
* is_configured
211
);
212
216
extern
ECM_API
int
IC_is_configured_pr
(
217
tag_t
child_obj,
218
tag_t
parent_obj,
219
const
char
* pseudo_reln_type,
220
tag_t
rev_rule,
221
logical
* is_configured
222
);
223
238
extern
ECM_API
int
IC_how_configured
(
239
tag_t
affected_obj,
240
tag_t
rev_rule,
241
logical
* is_configured,
242
tag_t
* how_configured
243
);
244
258
extern
ECM_API
int
IC_how_configured_pr
(
259
tag_t
child_obj,
260
tag_t
parent_obj,
261
const
char
* pseudo_reln_type,
262
tag_t
rev_rule,
263
logical
* is_configured,
264
tag_t
* how_configured
265
);
266
270
extern
ECM_API
int
IC_split_ic
(
271
tag_t
ic_rev,
272
int
n_ices,
273
tag_t
* ices,
274
tag_t
ic_rev_target
275
);
276
279
#ifdef __cplusplus
280
}
281
#endif
282
283
#include <ecm/libecm_undef.h>
284
#endif