ITK Function Reference

(V10000.1.0.60_20160308.00)
tcidcreator.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
12 /* */
13 
14 #ifndef TCIDCREATOR_H
15 #define TCIDCREATOR_H
16 
17 #include <tc/tcid_errors.h>
18 #include <tc/libtc_exports.h>
19 
54 #define RUNNING (1)
55 
61 #define STATIC (2)
62 
63 #ifdef __cplusplus
64 extern "C"{
65 #endif
66 
73 extern TC_API int TCID_create(
74  int number_of_digits,
75  tag_t* new_tcid
76  );
77 
82 extern TC_API int TCID_ask_sequence(
83  tag_t tcid,
84  int index,
85  char** digSeq,
86  char** start,
87  int* type
88  );
89 
93 extern TC_API int TCID_add_sequence(
94  tag_t tcid,
95  char* digSeq,
96  char* start,
97  int type
101  );
102 
106 extern TC_API int TCID_number_of_sequences(
107  tag_t tcid,
108  int* n_sequences
109  );
110 
114 extern TC_API int TCID_save(
115  tag_t tcid
116  );
117 
121 extern TC_API int TCID_delete(
122  tag_t tcid
123  );
124 
128 extern TC_API int TCID_get_next_value(
129  tag_t tcid,
130  char** nextValue
131  );
132 
136 extern TC_API int TCID_ask_id_length(
137  tag_t tcid,
138  int* length
139  );
140 
146 extern TC_API int TCID_get_initial_value(
147  tag_t tcid,
148  char** initialValue
149  );
150 
155 extern TC_API int TCID_get_succeeding_value(
156  tag_t tcid,
157  char* value,
158  char** newValue
159  );
160 
163 #ifdef __cplusplus
164 }
165 #endif
166 
167 #include <tc/libtc_undef.h>
168 
169 #endif