ITK Function Reference

(V10000.1.0.60_20160308.00)
bomclone.h
Go to the documentation of this file.
1 // ==================================================
2 // Copyright 2014.
3 // Siemens Product Lifecycle Management Software Inc.
4 // All Rights Reserved.
5 // ==================================================
6 
15 #ifndef BOMCLONE_H
16 #define BOMCLONE_H
17 
18 #include <unidefs.h>
19 #include <bom/libbom_exports.h>
20 
61  {
70 
76  {
78  char *prefix;
79  char *suffix;
80  char *from;
81  char *to;
83 
91  typedef struct BOM_duplicate_item_map_s
92  {
94  char *newItemId;
95  char *newItemName;
97 
103  {
109 
117  {
119  int error_num;
120  char *error_msg;
122 
123 #ifdef __cplusplus
124 extern "C"
125 {
126 #endif
127 
149 extern BOM_API int BOM_validate_structure (
150  tag_t bom_line,
151  BOM_duplicate_default_name_t default_name,
153  logical expandAllLevels,
154  int n_map,
155  const BOM_duplicate_item_map_t* input_map,
156  int n_dep_types,
157  const BOM_duplicate_dependent_type_t* dep_types,
158  int* n_duplicate_map,
159  BOM_duplicate_item_map_t** duplicate_map,
160  int* n_error_irs,
161  BOM_error_item_revision_t** error_irs
162 );
163 
180 extern BOM_API int BOM_duplicate_structure (
181  tag_t bom_line,
182  logical rename_datasets,
183  BOM_duplicate_default_name_t default_name,
185  logical expandAllLevels,
186  int n_map,
187  const BOM_duplicate_item_map_t* map,
188  int n_dep_types,
189  const BOM_duplicate_dependent_type_t* dep_types,
190  tag_t* new_item_rev,
191  int* n_error_irs,
192  BOM_error_item_revision_t** error_irs
193 );
194 
197 #ifdef __cplusplus
198 }
199 #endif
200 #include <bom/libbom_undef.h>
201 #endif
202