ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
ps
absocc.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 ABSOCC_H
15
#define ABSOCC_H
16
17
#include <
fclasses/tc_basic.h
>
18
#include <ps/libps_exports.h>
19
28
#define ME_meappearancepathnode_class_name_c "MEAppearancePathNode"
29
#define ME_meappearancepathroot_class_name_c "MEAppearancePathRoot"
30
#define ME_appearance_group_class_name_c "AppearanceGroup"
31
#define ABSOCC_max_attribute_name_length 60
32
33
34
typedef
enum
ABSOCC_dataTypes
35
{
36
ABSOCC_childItem
,
37
ABSOCC_flags
,
38
ABSOCC_gdeobject
,
39
ABSOCC_grm
,
40
ABSOCC_instanceNo
,
41
ABSOCC_name
,
42
ABSOCC_note
,
43
ABSOCC_quantity
,
44
ABSOCC_seqNo
,
45
ABSOCC_type
,
46
ABSOCC_variantCondition
,
47
ABSOCC_xform
,
48
ABSOCC_posRef
,
49
ABSOCC_archRef
,
50
ABSOCC_source
,
51
ABSOCC_UoM
,
52
ABSOCC_isDesInPlace
,
53
ABSOCC_reqPosDesign
,
54
55
ABSOCC_NUM_TYPES
56
}
ABSOCC_dataTypes_t
;
57
58
#ifdef __cplusplus
59
extern
"C"
{
60
#endif
61
65
extern
PS_API
int
ME_get_meapprpathnode_from_appearance
(
66
tag_t
comp,
67
tag_t
* new_apprpathnode
68
);
69
73
extern
PS_API
int
ME_get_meapprpathnode_from_bomline
(
74
tag_t
comp,
75
tag_t
* new_apprpathnode
76
);
77
83
extern
PS_API
int
ME_get_meapprpathnode_with_root_line
(
84
tag_t
comp,
85
tag_t
root_line,
86
tag_t
* new_apprpathnode
87
);
88
95
extern
PS_API
int
ME_create_meapprpathnode
(
96
tag_t
path_root,
97
tag_t
parent,
98
tag_t
occ_thread,
99
tag_t
* new_apprpathnode
100
);
101
112
extern
PS_API
int
ME_create_meapprpathnode_from_appearance
(
113
tag_t
comp,
114
tag_t
* new_apprpathnode
115
);
116
127
extern
PS_API
int
ME_create_meapprpathnode_from_bomline
(
128
tag_t
lineTag,
129
tag_t
* new_apprpathnode
130
);
131
144
extern
PS_API
int
ME_create_meapprpathnode_with_root_line
(
145
tag_t
line_tag,
146
tag_t
root_line,
147
tag_t
* new_apprpathnode
148
);
149
163
extern
PS_API
int
ME_update_meapprpathnode_from_bomline
(
164
tag_t
bom_line,
165
tag_t
* new_apprpathnode
166
);
167
181
extern
PS_API
int
ME_update_meapprpathnode_with_root_line
(
182
tag_t
bom_line,
183
tag_t
root_line,
184
tag_t
* new_apprpathnode
185
);
186
187
extern
PS_API
int
ME_meapprpathnode_ask_parent
(
188
tag_t
pathNode,
189
tag_t
* parent
190
);
191
192
extern
PS_API
int
ME_meapprpathnode_ask_pathroot
(
193
tag_t
pathNode,
194
tag_t
* pathRoot
195
);
196
197
extern
PS_API
int
ME_meapprpathnode_ask_occurrence
(
198
tag_t
pathNode,
199
tag_t
* occ
200
);
201
202
extern
PS_API
int
ME_meapprpathnode_ask_apprs
(
203
tag_t
pathNode,
204
int
* numApprs,
205
tag_t
** appearances
206
);
207
208
extern
PS_API
int
ME_meapprpathnode_ask_config_appr
(
209
tag_t
pathNode,
210
tag_t
rev_rule,
211
tag_t
* appearance
212
);
213
214
extern
PS_API
int
ME_meapprpathnode_ask_childnodes
(
215
tag_t
pathNode,
216
int
* numChildren,
217
tag_t
** children
218
);
219
220
extern
PS_API
int
ME_meapprpathnode_remove_appr
(
221
tag_t
pathNode,
222
tag_t
appearance
223
);
224
225
extern
PS_API
int
ME_meapprpathnode_ask_item_revision
(
226
tag_t
pathNode,
227
tag_t
rev_rule,
228
tag_t
* item_rev
229
);
230
237
extern
PS_API
int
ME_create_meapprpathroot
(
238
tag_t
tracked_item,
239
tag_t
tracked_bv,
240
tag_t
* new_apprpathroot
241
);
242
243
extern
PS_API
int
ME_get_meapprpathroot
(
244
tag_t
tracked_item,
245
tag_t
tracked_bv,
246
tag_t
* apprpathroot
247
);
248
255
extern
PS_API
int
ME_create_meapprpathroot_from_apprroot
(
256
tag_t
apprRoot,
257
tag_t
* new_apprpathroot
258
);
259
260
extern
PS_API
int
ME_get_meapprpathroot_from_apprroot
(
261
tag_t
apprRoot,
262
tag_t
* apprpathroot
263
);
264
272
extern
PS_API
int
ME_update_meapprpathroot
(
273
tag_t
apprRoot,
274
tag_t
* new_apprpathroot
275
);
276
282
extern
PS_API
int
ME_create_meapprpathroot_from_window
(
283
tag_t
bom_window,
284
tag_t
* new_apprpathroot,
285
tag_t
* top_pathnode
286
);
287
288
extern
PS_API
int
ME_meapprpathroot_ask_item
(
289
tag_t
pathRoot,
290
tag_t
* item
291
);
292
293
extern
PS_API
int
ME_meapprpathroot_ask_bomview
(
294
tag_t
pathRoot,
295
tag_t
* bv
296
);
297
298
extern
PS_API
int
ME_meapprpathroot_ask_pathnodes
(
299
tag_t
pathRoot,
300
int
* childCount,
301
tag_t
** path_nodes
302
);
303
304
extern
PS_API
int
ME_get_path_node_item
(
305
tag_t
p1,
306
tag_t
* p1Item
307
);
308
309
extern
PS_API
int
ME_get_appr_path_node_parent_hierarchy
(
310
tag_t
p1,
311
tag_t
** parentPathNodes,
312
tag_t
** parentItems,
313
tag_t
** parentThreads,
314
int
* parentCount
315
);
316
317
extern
PS_API
int
ME_get_appr_path_nodes_for_component
(
318
tag_t
componentItem,
319
tag_t
topItem,
320
tag_t
** pathNodes,
321
int
* pathCount
322
);
323
326
#ifdef __cplusplus
327
}
328
#endif
329
330
#include <ps/libps_undef.h>
331
332
#endif