ITK Function Reference

(V10000.1.0.60_20160308.00)
tool.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
15 /* */
16 
17 #ifndef TOOL_H
18 #define TOOL_H
19 
20 #include <ae/ae_types.h>
21 #include <tccore/workspaceobject.h>
22 #include <ae/libae_exports.h>
23 
34 #define AE_LOAD_AS_PROCESS 1
35 #define AE_LOAD_AS_MODULE 2
36 
37 #define AE_MAX_LOAD_METHOD 2
38 
40 #ifdef __cplusplus
41  extern "C"{
42 #endif
43 
48 extern AE_API int AE_tool_extent(
49  int* n_instances,
50  tag_t** instances
51  );
52 
80 extern AE_API int AE_find_tool(
81  const char tool_name[WSO_name_size_c + 1],
82  tag_t* tool_tag
83  );
84 
85 
110 extern AE_API int AE_find_tool2(
111  const char *tool_name,
112  tag_t* tool_tag
113  );
114 
121 extern AE_API int AE_ask_tool_symbol_name(
122  tag_t tool_tag,
123  char symbol_name[AE_symbol_size_c + 1]
124  );
125 
126 
130 extern AE_API int AE_ask_tool_symbol_name2(
131  tag_t tool_tag,
132  char **symbol_name
133  );
134 
141 extern AE_API int AE_ask_tool_version(
142  tag_t tool_tag,
143  char tool_version[AE_version_size_c + 1]
144  );
145 
149 extern AE_API int AE_ask_tool_version2(
150  tag_t tool_tag,
151  char **tool_version
152  );
153 
160 extern AE_API int AE_ask_tool_classification(
161  tag_t tool_tag,
162  char site_classification[AE_siteclass_size_c + 1]
163  );
164 
165 
169 extern AE_API int AE_ask_tool_classification2(
170  tag_t tool_tag,
171  char **site_classification
172  );
173 
180 extern AE_API int AE_ask_tool_vendor(
181  tag_t tool_tag,
182  char tool_vendor[AE_vendor_name_size_c + 1]
183  );
184 
185 
189 extern AE_API int AE_ask_tool_vendor2(
190  tag_t tool_tag,
191  char **tool_vendor
192  );
193 
198 extern AE_API int AE_ask_tool_install_date(
199  tag_t tool_tag,
200  date_t* install_date
201  );
202 
207 extern AE_API int AE_ask_tool_shell(
208  tag_t tool_tag,
209  tag_t* shell_tool
210  );
211 
218 extern AE_API int AE_ask_tool_input_formats(
219  tag_t tool_tag,
220  int* format_count,
221  char*** input_formats
222  );
223 
228 extern AE_API int AE_ask_tool_output_formats(
229  tag_t tool_tag,
230  int* format_count,
231  char*** output_formats
232  );
233 
237 extern AE_API int AE_ask_tool_parameters(
238  tag_t tool_tag,
239  int* parameter_count,
240  char*** parameters,
241  char*** default_values
242  );
243 
248 extern AE_API int AE_ask_tool_shell_flag(
249  tag_t tool_tag,
250  logical* shell_flag
251  );
252 
255 #ifdef __cplusplus
256 }
257 #endif
258 
259 #include <ae/libae_undef.h>
260 #endif