ITK Function Reference

(V10000.1.0.60_20160308.00)
gde.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
6 /* */
7 
8 #ifndef GDE_H
9 #define GDE_H
10 
11 #include <unidefs.h>
12 #include <tccoreext/libtccoreext_exports.h>
13 
14 #ifdef __cplusplus
15  extern "C"{
16 #endif
17 
29 extern TCCOREEXT_API int GDE_ask_gde_bvr (
30  tag_t gde_tag,
31  tag_t* gde_bvr_tag
32  );
33 
37 extern TCCOREEXT_API int GDE_ask_item_rev_of_bvr (
38  tag_t gde_bvr_tag,
39  tag_t* item_rev_tag
40  );
41 
45 extern TCCOREEXT_API int GDE_ask_occurrence_child (
46  tag_t gde_occ_tag,
47  tag_t* gde_child_tag
48  );
49 
53 extern TCCOREEXT_API int GDE_ask_occurrence_name (
54  tag_t gde_occ_tag,
55  char** gde_occ_name
56  );
57 
61 extern TCCOREEXT_API int GDE_ask_occurrence_note_text (
62  tag_t gde_occ_tag,
63  tag_t note_type,
64  char** note_text
65  );
66 
70 extern TCCOREEXT_API int GDE_ask_occurrence_type (
71  tag_t gde_occ_tag,
72  tag_t* gde_occ_type
73  );
74 
78 extern TCCOREEXT_API int GDE_ask_view_type (
79  tag_t gde_bvr_tag,
80  tag_t* view_type_tag
81  );
82 
89 extern TCCOREEXT_API int GDE_create (
90  const char* gde_name,
91  const char* description,
92  const char* gde_type,
93  tag_t* gde_obj_tag
94  );
95 
108 extern TCCOREEXT_API int GDE_create_gde_bvr (
109  tag_t gde_tag,
110  tag_t view_type,
111  tag_t* gde_bvr_tag
112  );
113 
120 extern TCCOREEXT_API int GDE_create_occurrence (
121  tag_t gde_bvr_tag,
122  tag_t child_gde_tag,
123  tag_t child_view_type,
124  tag_t occurrence_type,
125  double quantity,
126  int instance_no,
127  tag_t* gde_occ_tag
128  );
129 
133 extern TCCOREEXT_API int GDE_delete_occurrence_note (
134  tag_t gde_occ_tag,
135  tag_t note_type
136  );
137 
141 extern TCCOREEXT_API int GDE_list_occurrence_notes (
142  tag_t gde_occ_tag,
143  int* notes_count,
144  tag_t** note_types
145  );
146 
150 extern TCCOREEXT_API int GDE_list_occurrences_of_bvr (
151  tag_t gde_bvr_tag,
152  int* occ_count,
153  tag_t** gde_occs
154  );
155 
159 extern TCCOREEXT_API int GDE_remove_occurrences (
160  tag_t gde_bvr_tag,
161  int occ_count,
162  tag_t* gde_occs
163  );
164 
168 extern TCCOREEXT_API int GDE_set_occurrence_child (
169  tag_t gde_occ_tag,
170  tag_t gde_child_tag
171  );
172 
176 extern TCCOREEXT_API int GDE_set_occurrence_name (
177  tag_t gde_occ_tag,
178  const char* gde_occ_name
179  );
180 
184 extern TCCOREEXT_API int GDE_set_occurrence_note_text (
185  tag_t gde_occ_tag,
186  tag_t note_type,
187  const char* note_text
188  );
189 
193 extern TCCOREEXT_API int GDE_set_occurrence_type (
194  tag_t gde_occ_tag,
195  tag_t gde_occ_type
196  );
197 
201 extern TCCOREEXT_API int GDE_set_view_type (
202  tag_t gde_bvr_tag,
203  tag_t view_type_tag
204  );
205 
208 #ifdef __cplusplus
209 }
210 #endif
211 
212 #include <tccoreext/libtccoreext_undef.h>
213 
214 #endif