ITK Function Reference

(V10000.1.0.60_20160308.00)
revisionanchor.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 REVISIONANCHOR_H
16 #define REVISIONANCHOR_H
17 
18 #include <ae/ae_types.h>
19 #include <ae/libae_exports.h>
20 
21 #ifdef __cplusplus
22  extern "C"{
23 #endif
24 
50 extern AE_API int AE_revisionanchor_extent(
51  int* n_instances,
52  tag_t** instances
53  );
54 
61 extern AE_API int AE_create_revisionanchor(
62  int keep_n_revs,
63  tag_t* new_revision_anchor
64  );
65 
69 extern AE_API int AE_initialize_rev_anchor(
70  tag_t revision_anchor,
71  int keep_n_revisions
72  );
73 
78 extern AE_API int AE_append_anchor_revision(
79  tag_t revision_anchor,
80  tag_t new_revision
81  );
82 
90 extern AE_API int AE_ask_anchor_revision(
91  tag_t revision_anchor,
92  int revision_index,
93  tag_t* a_revision
94  );
95 
101 extern AE_API int AE_remove_anchor_revision(
102  tag_t revision_anchor,
103  tag_t a_revision
104  );
105 
113 extern AE_API int AE_purge_anchor_revisions(
114  tag_t revision_anchor
115  );
116 
122 extern AE_API int AE_anchor_make_room(
123  tag_t revision_anchor
124  );
125 
133 extern AE_API int AE_ask_anchor_rev_index(
134  tag_t revision_anchor,
135  tag_t a_revision,
136  int* revision_index
137  );
138 
146 extern AE_API int AE_count_anchor_revisions(
147  tag_t revision_anchor,
148  int* revision_count
149  );
150 
158 extern AE_API int AE_ask_anchor_highest_revision(
159  tag_t revision_anchor,
160  int* the_highest_revision
161  );
162 
166 extern AE_API int AE_ask_anchor_keep_limit(
167  tag_t revision_anchor,
168  int* current_keep_limit
169  );
170 
174 extern AE_API int AE_set_anchor_keep_limit(
175  tag_t revision_anchor,
176  int new_keep_limit
177  );
178 
181 #ifdef __cplusplus
182 }
183 #endif
184 
185 #include <ae/libae_undef.h>
186 #endif