ITK Function Reference

(V10000.1.0.60_20160308.00)
ics_enquiry.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 _ICS_ENQUIRY_H_INCLUDED
15 #define _ICS_ENQUIRY_H_INCLUDED
16 
31 typedef struct ICS_value_list_entry_s{
32  int unct;
33  int n_values;
34  char** values;
35  char **displayValues;
37 
38 typedef struct ICS_value_list_s{
39  int n_entries;
40  ICS_value_list_entry_p_t entries;
42 
43 #include <ics/libics_exports.h>
44 
45 #ifdef __cplusplus
46  extern "C"{
47 #endif
48 
54  char** thePomClassName
55  );
56 
62 ICS_API int ICS_enquiry_set_ics_expr(
63  const char* theQueryName,
64  const char* theExprName,
65  const char* theClassId,
66  const ICS_value_list_p_t theICSQueryList,
67  int theOptions
70  );
71 
77  const char* theClassId,
78  int theCount,
79  const int* theUnctList,
80  char*** thePomColumnNames
81  );
82 
89 ICS_API int ICS_enquiry_create_enquiry(
90  const char* theQueryName,
91  const char* theClassId,
92  const ICS_value_list_p_t theICSQueryList,
93  int theOptions
96  );
97 
102 ICS_API int ICS_enquiry_add_select_attrs(
103  const char* theQueryName,
104  const char* theClassId,
105  int theSelectAttrCount,
106  const int* theSelectAttrs
107  );
108 
113 ICS_API int ICS_enquiry_add_select_expr(
114  const char* theQueryName,
115  const char* theClassId,
116  int theAttributeId,
117  int theSelectExpr
118  );
119 
179  const char* theQueryName,
180  const char* theExprName,
181  const char* theClassId,
182  int theAttributeId,
183  const char* theICSExpr,
184  int theOptions
186  );
187 
191 ICS_API int ICS_enquiry_set_attr_icsexpr(
192  const char* theQueryName,
193  const char* theExprName,
194  const char* thePOMClassName,
195  const char* thePOMAttrName,
196  const char* theICSExpr,
197  int theEnqOptions
198  );
199 
210 ICS_API int ICS_enquiry_set_attr_expr(
211  const char* theQueryName,
212  const char* theExprName,
213  const char* theClassId,
214  int theAttributeId,
215  int thePomOperator,
216  const char* thePomExpression,
223  int theOptions
225  );
226 
235 ICS_API int ICS_enquiry_search(
236  const char* theClassId,
237  const ICS_value_list_p_t theICSQueryList,
238  int theOrderAttrCount,
239  const int* theOrderAttrs,
240  const int* theOrder,
242  int theOptions,
246  int* theResultCount,
247  tag_t** theResults
248  );
249 
255 ICS_API int ICS_enquiry_add_order_attrs(
256  const char* theQueryName,
257  const char* theClassId,
258  int theOrderAttrCount,
259  const int* theOrderAttrs,
260  const int* theOrder
261  );
262 
268 ICS_API int ICS_enquiry_select_distinct(
269  const char* theClassId,
270  const ICS_value_list_p_t theEnquiryValues,
271  int theAttributeId,
272  int theOptions,
276  int* theResultCount,
277  char*** theResults
278  );
279 
284 ICS_API int ICS_enquiry_set_expr_for_class(
285  const char* theQueryName,
286  const char* theExprName,
287  const char* theClassId,
288  int theOptions
291  );
292 
296 ICS_API int ICS_get_value_list(
297  int theEntryCount,
298  const int* theAttrIds,
299  const char** theValues,
300  ICS_value_list_p_t * theValueList
301  );
302 
305 #ifdef __cplusplus
306 }
307 #endif
308 
309 #include <ics/libics_undef.h>
310 #endif