ITK Function Reference

(V10000.1.0.60_20160308.00)
cm.h
Go to the documentation of this file.
1 /*=======================================================================================
2 
3  Copyright (c) 2007 UGS Corporation
4  Unpublished - All rights reserved
5 
6 =========================================================================================
7 
8 File description:
9 
10  Filename: cm.h
11  Module : Change Management (cm)
12  Description:
13 
14  This file contains declaration of ITK functions corresponding to Change Managment,
15  BidPackage classes for Change Management Module.
16 
17 
18 =========================================================================================
19  Date Name Description of Change
20  05-Mar-2008 Yared Estifanos Initial Version
21 
22 $HISTORY$
23 =======================================================================================*/
24 
25 #ifndef CM_H
26 #define CM_H
27 
28 
29 #include <tc/tc_startup.h>
30 #include <cm/cm_errors.h>
31 #include <cm/libcm_exports.h>
32 
36 typedef enum AddType{ ADD = 0, REMOVE }AddType_t;
37 
41 typedef struct RelationshipDataList
42 {
45  char* relTypeName;
48 
52 typedef struct AttributeNameValueList
53 {
54  char * propertyName;
55  char **newValues;
56  int valueCount;
58 
63 typedef enum CM_bom_change_type_e{
76 
80 typedef struct CM_note_change_info_s{
87  char** noteTypeNames;
88  char** beforeValues;
89  char** afterValues;
90  char** formFldNames;
91  char** formFldValues;
93 
94 
95 #ifdef __cplusplus
96  extern "C"{
97 #endif
98 
99 
100 
106 extern CM_API int CM_get_prev_bvr( tag_t chngRevTag,
107  tag_t bvr_tag,
108  tag_t* prev_bvr_tag
109  );
110 
111 
112 
113 
114 
121 extern CM_API int CM_get_bomedits ( tag_t chngRevTag,
122  tag_t affected_bvr,
123  CM_bom_change_type_t bomch_type,
124  int* num_of_bomch,
125  tag_t** bomch_tags
126  );
127 
128 
132 extern CM_API int CM_save_BOMEdits( tag_t chngRevTag,
133  tag_t bomWindow ,
134  tag_t probBomWindow,
135  int* num_of_bom_tags,
136  tag_t** bomchanges
137  );
138 
142 extern CM_API int CM_get_occurrence_of_bomedit( tag_t bomch_tag,
143  tag_t* occ_tag
144  );
145 
146 
147 
158 extern CM_API int CM_get_note_change_details(
159  tag_t note_change_tag,
160  CM_note_change_info_t* notechange_details
161  );
162 
163 
168  );
169 
184 extern CM_API int CM_get_relations_to_propagate(
185  tag_t source_object_tag,
186  int * number_of_relations,
187  char ***relations_to_propagate,
190  logical *propagation_enabled
191 );
192 
202 (
203  tag_t change_rev_tag,
204  int *n_items,
205  tag_t **items
206 );
207 
217 (
218  tag_t change_rev_tag,
219  int *n_items,
220  tag_t **items
221 );
222 
223 #ifdef __cplusplus
224 }
225 #endif
226 
229 #include <cm/libcm_undef.h>
230 #endif