ITK Function Reference

(V10000.1.0.60_20160308.00)
gcr.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 GCR_H
16 #define GCR_H
17 
18 #include <stdarg.h>
19 #include <fclasses/tc_basic.h>
20 #include <tccore/grm.h>
21 
28 #define GCR_class_name_c "ComponentRelation"
29 
30 #include <ps/libps_exports.h>
31 
32 #ifdef __cplusplus
33  extern "C"{
34 #endif
35 
36 extern int GCR_exit_module();
37 
38 extern int GCR__initialized();
39 
40 extern int GCR__exit();
41 
42 extern PS_API int GCR_create_relation(
43  tag_t primary_object,
44  tag_t secondary_object,
45  tag_t relation_type,
46  tag_t user_data,
47  tag_t* relation
48  );
49 
50 extern PS_API int GCR_save_relation(
51  tag_t relation
52  );
53 
54 extern PS_API int GCR_delete_relation(
55  tag_t relation
56  );
57 
58 extern PS_API int GCR_find_relation_type(
59  const char* typeName,
60  tag_t* relationType
61  );
62 
63 extern PS_API int GCR_set_relation_subtype(
64  tag_t relation,
65  int stype
66  );
67 
68 extern PS_API int GCR_ask_relation_subtype(
69  tag_t relation,
70  int* stype
71  );
72 
75 #ifdef __cplusplus
76  }
77 #endif
78 
79 #include <ps/libps_undef.h>
80 
81 #endif