ITK Function Reference

(V10000.1.0.60_20160308.00)
gcs_itk.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
13 /* */
14 
15 #ifndef I_GCS_ITK_HXX
16 #define I_GCS_ITK_HXX
17 
18 #include <pom/pom/pom.h>
19 #include <ics/ics_errors.h>
20 #include <ics/libics_exports.h>
21 
41 #ifdef __cplusplus
42 extern "C"{
43 #endif
44 
45 
46 
55 extern ICS_API int GCS_ct_ask
56 (int *theCTCount,
57  tag_t **theCTTags
58 );
59 
60 
67 extern ICS_API int GCS_ct_describe
68 (tag_t theCTTag,
69  char **theCTId,
70  char **theCTName,
71  int *theAttributeCount,
72  int **theAttributeIds,
73  char ***theAttributeNames,
74  char ***theComparisonCriteria
75 );
76 
77 
81 extern ICS_API int GCS_ct_create
82 (char *theCTName,
83  int theAttributeCount,
84  int *theAttributeIds,
85  char **theComparisonCriteria,
86  tag_t *theCTTag,
87  char **theCTId
88 );
89 
90 
94 extern ICS_API int GCS_ct_set
95 (tag_t theCTTag,
96  char *theCTName,
97  int theAttributeCount,
98  int *theAttributeIds,
99  char **theComparisonCriteria
100 );
101 
102 
108 extern ICS_API int GCS_ct_remove
109 (tag_t theCTTag
110 );
111 
112 
116 extern ICS_API int GCS_ct_update
117 (tag_t theCTTag
118 );
119 
125 extern ICS_API int GCS_ct_update_wsos
126 (tag_t theCTTag,
127  logical theCreateWsos
128 );
129 
133 extern ICS_API int GCS_ct_where_referenced
134 (tag_t theCTTag,
135  int *theClassCount,
136  char ***theClassIDs,
137  tag_t **theClassTags,
138  int *theCPDCount,
139  tag_t **theCPDTags
140 );
141 
142 
146 extern ICS_API int GCS_ct_ask_tag_for_name
147 (const char* theCTName,
148  tag_t* theCTTag
149 );
150 
161 extern ICS_API int GCS_cpd_ask
162 (tag_t theComponentClassTag,
163  int *theCPDCount,
164  tag_t **theCPDTags
165 );
166 
167 
172 extern ICS_API int GCS_cpd_describe
173 (tag_t theCPDTag,
174  tag_t *theClassTag,
175  tag_t *theCTTag,
176  int *theCPDIndex,
177  char **theCPQuantity,
178  char **theDirection,
179  char **theShape,
180  int *theAttributeCount,
181  int **theAttributeIds,
182  char ***theAttributeMappings
183  );
184 
185 
194 extern ICS_API int GCS_cpd_add
195 (tag_t theClassTag,
196  tag_t theCTTag,
197  int theCPDIndex,
198  char *theCPQuantity,
199  char *theDirection,
200  char *theShape,
201  int theAttributeCount,
202  int *theAttributeIds,
203  char **theAttributeMappings,
204  tag_t *theCPDTag
205 );
206 
207 
217 extern ICS_API int GCS_cpd_add_wsos
218 (tag_t theClassTag,
219  tag_t theCTTag,
220  int theCPDIndex,
221  char *theCPQuantity,
222  char *theDirection,
223  char *theShape,
224  int theAttributeCount,
225  int *theAttributeIds,
226  char **theAttributeMappings,
227  logical theCreateWsos,
228  tag_t *theCPDTag
229 );
230 
231 
239 extern ICS_API int GCS_cpd_set
240 (tag_t theCPDTag,
241  tag_t theClassTag,
242  tag_t theCTTag,
243  int theCPDIndex,
244  char *theCPQuantity,
245  char *theDirection,
246  char *theShape,
247  int theAttributeCount,
248  int *theAttributeIds,
249  char **theAttributeMappings
250  );
251 
252 
261 extern ICS_API int GCS_cpd_set_wsos
262 (tag_t theCPDTag,
263  tag_t theClassTag,
264  tag_t theCTTag,
265  int theCPDIndex,
266  char *theCPQuantity,
267  char *theDirection,
268  char *theShape,
269  int theAttributeCount,
270  int *theAttributeIds,
271  char **theAttributeMappings,
272  logical theCreateWsos
273 );
274 
275 
281 extern ICS_API int GCS_cpd_remove
282 (tag_t theCPDTag
283 );
284 
285 
291 extern ICS_API int GCS_cpd_update
292 (tag_t theCPDTag
293 );
294 
295 
301 extern ICS_API int GCS_cpd_update_wsos
302 (tag_t theCPDTag,
303  logical theCreateWsos
304 );
305 
306 
310 extern ICS_API int GCS_cpd_ask_instances
311 (tag_t theCPDTag,
312  int *theCPCount,
313  tag_t **theCPTags,
314  tag_t **theICOTags
315 );
316 
327 extern ICS_API int GCS_cp_ask
328 (tag_t theICOTag,
329  int *theCPCount,
330  tag_t **theCPTags
331 );
332 
333 
338 extern ICS_API int GCS_cp_describe
339 (tag_t theCPTag,
340  tag_t *theComponentTag,
341  tag_t *theCPDTag,
342  tag_t *theCTTag,
343  int *theCPDIndex,
344  int *theCPIndex,
345  char **theDirection,
346  char **theShape,
347  int *theAttributeCount,
348  int **theAttributeIds,
349  char ***theAttributeValues
350 );
351 
352 
356 extern ICS_API int GCS_cp_ask_cp_of_occ
357 (tag_t theOccurrenceTag,
358  tag_t *theCPTag,
359  tag_t *theComponentTag,
360  tag_t *theCPDTag,
361  tag_t *theCTTag,
362  int *theCPDIndex,
363  int *theCPIndex,
364  char **theDirection,
365  char **theShape,
366  int *theAttributeCount,
367  int **theAttributeIds,
368  char ***theAttributeValues
369 );
370 
371 
375 extern ICS_API int GCS_cp_create_for_ICO
376 (tag_t theICOTag
377 );
378 
379 
383 extern ICS_API int GCS_cp_create_for_ICO_and_CPD
384 (tag_t theICOTag,
385  tag_t theCPDTag
386 );
387 
388 
392 extern ICS_API int GCS_cp_update
393 (tag_t theCPTag
394 );
395 
396 
400 extern ICS_API int GCS_cp_update_for_ICO
401 (tag_t theICOTag
402 );
403 
404 
408 extern ICS_API int GCS_cp_update_for_ICO_and_CPD
409 (tag_t theICOTag,
410  tag_t theCPDTag
411 );
412 
413 
417 extern ICS_API int GCS_cp_remove
418 (tag_t theCPTag
419 );
420 
421 
425 extern ICS_API int GCS_cp_remove_for_ICO
426 (tag_t theICOTag
427 );
428 
441 extern ICS_API int GCS_init_module();
442 
443 
447 extern ICS_API int GCS_search
448 (tag_t theCPTag,
449  int *theMatchingCount,
450  tag_t **theMatchingCPTags,
451  tag_t **theMatchingICOTags
452 );
453 
454 
458 extern ICS_API int GCS_class_search
459 (tag_t theCPTag,
460  int *theCPCount,
461  tag_t **theCPTags,
462  int *theICOCount,
463  tag_t **theICOTags,
464  int *theClassCount,
465  char ***theClassIDs
466 );
467 
468 
472 extern ICS_API int GCS_class_search_by_occ
473 (tag_t theOccurrenceTag,
474  int *theCPCount,
475  tag_t **theCPTags,
476  int *theICOCount,
477  tag_t **theICOTags,
478  int *theClassCount,
479  char ***theClassIDs
480 );
481 
486 #ifdef __cplusplus
487 }
488 #endif
489 
490 #include <ics/libics_undef.h>
491 
492 #endif /* I_GCS_ITK_HXX */