ITK Function Reference

(V10000.1.0.60_20160308.00)
me_user_exits.h
Go to the documentation of this file.
1 /*
2  Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
3  ==================================================
4  Copyright 2014.
5  Siemens Product Lifecycle Management Software Inc.
6  All Rights Reserved.
7  ==================================================
8  Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
9 */
16 /* */
17 
18 #ifndef ME_USER_EXITS_H
19 #define ME_USER_EXITS_H
20 
21 #include <unidefs.h>
22 #include <me/libme_exports.h>
23 
34 #define ME_USER_EXIT_CONTINUE 101
35 
36 #ifdef __cplusplus
37  extern "C"{
38 #endif
39 
61 extern ME_API int USER_create_or_ref_item(
62  tag_t ebom_node,
63  tag_t ebom_line_node,
64  const char* user_data,
65  int* num_mfk_keys,
66  char*** mfk_keys,
67  char*** mfk_values,
68  tag_t* to_be_created_type,
69  tag_t* create_input
70  );
71 
90 extern ME_API int USER_sync_item(
91  tag_t ebom_item,
92  tag_t ebom_line_node,
93  tag_t mbom_line_node,
94  const char* user_data
95  );
96 
97 
116 extern ME_API int USER_BOMLINE_find_candidates(
117  int n_mbom_lines,
118  const tag_t* mbom_lines,
119  int n_ebom_candidates,
120  const tag_t* ebom_candidates,
121  int n_criteria,
122  const char** property_names,
123  const int* property_types,
133  const int* operators,
145  const char** values,
146  const int* is_empty_value_valid,
147  const int* is_mandatory,
148  const char* user_data,
149  tag_t*** matching_candidates,
154  int**** property_indices
160  );
161 
162 
184 extern ME_API int USER_BOMLINE_repair_bomlines(
185  int n_lines,
186  const tag_t* mbom_lines,
187  const tag_t* ebom_lines,
188  const char** repair_actions,
189  int n_propagation_properties,
190  const char** propagation_properties,
191  int** statuses,
204  char**** error_messages
212  );
213 
231 extern ME_API int USER_item_find_equivalent_line(
232  tag_t ebom_item,
233  tag_t ebom_line_node,
234  tag_t mbom_parent_node,
235  const char* user_data,
236  tag_t* mbom_line_node
237  );
238 
256 extern ME_API int USER_item_action_on_release(
257  tag_t ebom_item,
258  tag_t ebom_line_node,
259  tag_t mbom_released_object,
260  tag_t mbom_line_node,
261  const char* user_data,
262  int suggested_action_on_release,
270  logical* modify_released,
272  int *action_on_release
279  );
280 
281 #ifdef __cplusplus
282 }
283 #endif
284 
285 
286 #include <me/libme_undef.h>
288 #endif