ITK Function Reference

(V10000.1.0.60_20160308.00)
epm_toolkit_utils.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 EPM_TOOLKIT_UTILS_H
15 #define EPM_TOOLKIT_UTILS_H
16 
17 #include <itk/mem.h>
18 #include <pom/pom/pom.h>
19 #include <epm/epm.h>
30 #define IS_A_TARGET (1)
31 #define GROUP_DATA_TYPE "Group"
32 #define ROLE_DATA_TYPE "Role"
33 #define USER_DATA_TYPE "User"
34 #define PERSON_DATA_TYPE "Person"
35 #define ADLIST_DATA_TYPE "AddressList"
36 #define ALLMEMBERS_DATA_TYPE "Allmembers"
37 #define RESOURCEPOOL_DATA_TYPE "RESOURCEPOOL"
38 
39 #define SAFE_SM_FREE( a ) \
40 do \
41 { \
42  if ( (a) != NULL ) \
43  { \
44  MEM_free( (a) ); \
45  (a) = NULL; \
46  } \
47 } \
48 while ( 0 )
49 
51  int count;
52  char** list;
53 };
54 
56 
58 
60  int count;
62 };
63 
65 
67 
68 #include <user_exits/libuser_exits_exports.h>
69 
70 #ifdef __cplusplus
71  extern "C"{
72 #endif
73 
74 #if 0
75 extern USER_EXITS_API int EPM__get_task_and_att(
76  const char* value,
77  tag_t curr_task,
78  tag_t* task_tag,
79  int* attachment_type
80  );
81 #endif
82 
83 extern USER_EXITS_API int EPM__ask_if_target(
84  tag_t related_objects,
85  tag_t* target_objects,
86  int target_count
87  );
88 
89 extern USER_EXITS_API int EPM__ask_data_type_and_value(
90  const char* normal_value,
91  char** data_type,
92  char** value
93  );
94 
95 #if 0
96 extern USER_EXITS_API int EPM__display_form_should_show(
98  int* n_forms,
99  tag_t** forms
100  );
101 #endif
102 
103 extern USER_EXITS_API int EPM__add_to_tag_list(
104  tag_t tag,
105  counted_tag_list_t* tag_list
106  );
107 
108 extern USER_EXITS_API int EPM__parse_string(
109  const char *pszInputString,
110  char *pszSeparator,
111  int *piStringCount,
112  char ***pppStringList
113  );
114 
115 
116 
117 
118 extern USER_EXITS_API int EPM_register_toolkit_handlers(void);
119 
120 #ifdef __cplusplus
121 }
122 #endif
123 
126 #include <user_exits/libuser_exits_undef.h>
127 
128 #endif
129