ITK Function Reference

(V10000.1.0.60_20160308.00)
folder.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 FOLDER_H
16 #define FOLDER_H
17 
18 #ifndef FOLDER_ERRORS_H
19  #include <tc/folder_errors.h>
20 #endif
21 
22 #ifndef INFOMANAGER_H
23 #include <tc/tc_startup.h>
24 #endif
25 
26 #ifndef WORKSPACEOBJECT_H
27  #include <tccore/workspaceobject.h>
28 #endif
29 
70 typedef enum FL_sort_criteria_e {
72 
79 
82 
84 
85 typedef enum FL_sort_order_e {
86 
90 
92 
94 
96 #ifdef OBSOLETE
97  const int FSC_asOrdered = FL_fsc_as_ordered;
98  const int FSC_byName = FL_fsc_by_name;
99  const int FSC_byObject = FL_fsc_by_object;
100  const int FSC_byType = FL_fsc_by_type;
101  const int FSC_byDateCreated = FL_fsc_by_date_created;
102  const int FSC_byDateModified= FL_fsc_by_date_modified;
103  const int FSC_byDateReleased= FL_fsc_by_date_released;
104  const int FSO_ascending = FL_fso_ascending;
105  const int FSO_descending = FL_fso_descending;
106 #endif
107 
108 #include <tc/libtc_exports.h>
109 
110 #ifdef __cplusplus
111  extern "C"{
112 #endif
113 
119 extern TC_API int FL_init_module();
120 
126 extern TC_API int FL_exit_module();
127 
134 extern TC_API int FL_create(
135  const char name[WSO_name_size_c + 1],
136  const char description[WSO_desc_size_c + 1],
137  tag_t* pfolder_tag
138  );
139 
154 extern TC_API int FL_initialize(
155  tag_t folder_tag,
156  const char name[WSO_name_size_c + 1],
157  const char description[WSO_desc_size_c + 1]
158  );
159 
160 
172 extern TC_API int FL_initialize2(
173  tag_t folder_tag,
174  const char *name,
175  const char *description
176  );
177 
188 extern TC_API int FL_extent(
189  int* num_of_folders,
190  tag_t** ppfolder_tags
191  );
192 
200 extern TC_API int FL_insert(
201  tag_t folder_tag,
202  tag_t workspaceobject_tag,
203  int position
204  );
205 
213 extern TC_API int FL_insert_instances(
214  tag_t folder_tag,
215  int nInstances,
216  tag_t* workspaceobject_tags,
217  int position
218  );
219 
223 extern TC_API int FL_remove(
224  tag_t folder_tag,
225  tag_t workspaceobject_tag
226  );
227 
264 extern TC_API int FL_move(
265  tag_t folder_tag,
266  int old_start_index,
267  int old_end_index,
268  int new_start_index
269  );
270 
277 extern TC_API int FL_copy(
278  tag_t folder_tag,
279  const char new_folder_name[WSO_name_size_c + 1],
280  tag_t* new_folder_tag
281  );
282 
286 extern TC_API int FL_copy2(
287  tag_t folder_tag,
288  const char *new_folder_name,
289  tag_t* new_folder_tag
290  );
291 
299 extern TC_API int FL_ask_references(
300  tag_t folder_tag,
301  FL_sort_criteria_t sort_criteria,
302  int* num_of_references,
303  tag_t** list_of_references
304  );
305 
309 extern TC_API int FL_ask_index(
310  tag_t folder_tag,
311  tag_t workspaceobject_tag,
312  FL_sort_criteria_t sort_criteria,
313  int* ref_index
314  );
315 
319 extern TC_API int FL_set_sort_order(
320  tag_t folder_tag,
321  FL_sort_order_t sort_order
322  );
323 
327 extern TC_API int FL_ask_sort_order(
328  tag_t folder_tag,
329  FL_sort_order_t* sort_order
330  );
331 
335 extern TC_API int FL_set_sort_criteria(
336  tag_t folder_tag,
337  FL_sort_criteria_t sort_criteria
338  );
339 
343 extern TC_API int FL_ask_sort_criteria(
344  tag_t folder_tag,
345  FL_sort_criteria_t* sort_criteria
346  );
347 
351 extern TC_API int FL_ask_size(
352  tag_t folder_tag,
353  int* number_of_entries
354  );
355 
359 extern TC_API int FL_user_update_newstuff_folder (
360  tag_t folder_tag
361  );
362 
365 #ifdef __cplusplus
366 }
367 #endif
368 
369 #include <tc/libtc_undef.h>
370 
371 #endif