ITK Function Reference

(V10000.1.0.60_20160308.00)
cpd0cd.h
Go to the documentation of this file.
1 // Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
2 // ==================================================
3 // Copyright 2012
4 // Siemens Product Lifecycle Management Software Inc.
5 // All Rights Reserved.
6 // ==================================================
7 // Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
8 
16 #ifndef CPD0CD_CPD0CD_H
17 #define CPD0CD_CPD0CD_H
18 
19 #include <cpd0cd/libcpd0cd_exports.h>
20 
26 #ifdef __cplusplus
27 extern "C"{
28 #endif
29 
33 #define CPD0CD_MATRIX_SIZE 16
34 
46 extern CPD0CD_API int CPD_update_item_realization(
47  tag_t reuse_de_tag,
48  tag_t item_rev_tag,
49  logical update_subordinates,
50  int* num_added_subordinates,
51  tag_t** added_subordinates,
52  int* num_updated_subordinates,
53  tag_t** updated_subordinates,
54  int* num_removed_subordinates,
55  tag_t** removed_subordinates
56 );
57 
66 extern CPD0CD_API int CPD_update_item_realization2(
67  tag_t reuse_de_tag,
68  tag_t item_rev_tag,
69  logical sync_effectivity_expressions,
70  logical sync_variant_expressions,
71  logical update_subordinates,
72  int* num_added_subordinates,
73  tag_t** added_subordinates,
74  int* num_updated_subordinates,
75  tag_t** updated_subordinates,
76  int* num_removed_subordinates,
77  tag_t** removed_subordinates
78 );
79 
80 
95 extern CPD0CD_API int CPD0CD_construct_reuse_element_create_input (
96  tag_t cd,
97  tag_t item_rev,
98  tag_t bv_type,
101  tag_t revision_rule,
104  const char *de_id,
105  tag_t de_type,
106  const char *de_name,
107  const double transform[CPD0CD_MATRIX_SIZE],
108  const char *logical_designator,
109  tag_t *de_create_input
110 );
111 
126 extern CPD0CD_API int CPD0CD_construct_shape_element_create_input (
127  tag_t cd,
128  tag_t de_type,
129  const char *de_id,
131  const char *de_name,
132  const double transform[16],
133  const char *logical_designator,
134  tag_t *de_create_input
135 );
136 
152  tag_t cd,
153  tag_t de_type,
154  const char *de_id,
156  const char *de_name,
157  const char *logical_designator,
158  tag_t *de_create_input
159 );
160 
172 extern CPD0CD_API int CPD0CD_ask_design_element_all_subordinates(
173  tag_t design_element,
174  int* sub_count,
175  tag_t **subordinates
176 );
177 
178 
179 #ifdef __cplusplus
180 }
181 #endif
182 
185 #include <cpd0cd/libcpd0cd_undef.h>
186 #endif