ITK Function Reference

(V10000.1.0.60_20160308.00)
tctrushape_errors.h
Go to the documentation of this file.
1 /*==================================================================================================
2 
3  Copyright (c) 2001 EDS
4  Unpublished - All rights reserved
5 
6 ====================================================================================================
7 File description:
8 
9  TcTrushape errors.
10 
11 ====================================================================================================
12  Date Name Description of Change
13 30-Oct-2001 Max Ishutin TCTRUSHAPE module is born
14 07-Nov-2001 Max Ishutin Add more error codes
15 06-Feb-2002 Max Ishutin Add trushape library error codes
16 21-May-2002 Max Ishutin Reflect actual error codes in the commentaries (83xxx to 85xxx)
17 31-May-2002 Max Ishutin Add error codes for item revision post procssing
18 24-Jun-2002 kao added error code
19 06-Aug-2002 Aaron Ruckman Split libtc.dll project
20 28-Aug-2002 Aaron Ruckman splittc.dll project
21 05-Sep-2002 Aaron Ruckman Update headers as part of dll splittc project
22 22-Nov-2002 Tim Baverstock Normalise inclusion
23 01-Apr-2003 Max Ishutin JT based spatial search
24 08-Aug-2003 Max Ishutin Update spatial search ITK interface
25 13-Feb-2006 Johann Chemin-Danielson de-Imanization
26 $HISTORY$
27 ==================================================================================================*/
28 
29 
30 #ifndef TCTRUSHAPE_ERRORS_H
31 #define TCTRUSHAPE_ERRORS_H
32 
33 #include <common/emh_const.h>
34 #include <tctrushape/libtctrushape_exports.h>
35 
36 /*
37  * ----------------------------------------------------------------------------
38  * Appearances Search Errors
39  * ----------------------------------------------------------------------------
40  */
41 
42 #define TCTRUSHAPE_invalid_end_item_search_result_tag (EMH_TCTRUSHAPE_error_base + 1) /* 85001 */
43  /* Tag supplied is not that of an existing or valid search result object
44  */
45 
46 #define TCTRUSHAPE_proximity_search_failed (EMH_TCTRUSHAPE_error_base + 2) /* 85002 */
47  /* Proximity spatial search has failed. More detailed information is available on the error stack
48  */
49 
50 #define TCTRUSHAPE_3dbox_search_failed (EMH_TCTRUSHAPE_error_base + 3) /* 85003 */
51  /* 3D box spatial search has failed. More detailed information is available on the error stack
52  */
53 
54 #define TCTRUSHAPE_appearance_extent_search_failed (EMH_TCTRUSHAPE_error_base + 4) /* 85004 */
55  /* Appearance extent call has failed.
56  */
57 
58 #define TCTRUSHAPE_appearance_bomline_mapping_failed (EMH_TCTRUSHAPE_error_base + 5) /* 85005 */
59  /* BoMLine-Appearance mapping failed
60  */
61 
62 #define TCTRUSHAPE_invalid_bom_window_tag (EMH_TCTRUSHAPE_error_base + 6) /* 85006 */
63  /* Tag supplied is not that of an existing or valid bomWindow object
64  */
65 
66 #define TCTRUSHAPE_failed_to_find_appearance_set (EMH_TCTRUSHAPE_error_base + 7) /* 85007 */
67  /* Supplied information is not enough to find suitable appearance set
68  */
69 
70 #define TCTRUSHAPE_failed_to_open_occupancy_cache (EMH_TCTRUSHAPE_error_base + 8) /* 85008 */
71  /* Failed to find or open occupancy cache for the passed appearance set
72  */
73 
74 #define TCTRUSHAPE_item_name_search_failed (EMH_TCTRUSHAPE_error_base + 9) /* 85009 */
75  /* Item name search failed
76  */
77 
78 #define TCTRUSHAPE_occupancy_cache_file_error (EMH_TCTRUSHAPE_error_base + 10) /* 85010 */
79  /* Error encountered when handling occupancy data files
80  */
81 
82 #define TCTRUSHAPE_can_not_write_to_cache_opened_for_read (EMH_TCTRUSHAPE_error_base + 11) /* 85011 */
83  /* Can not write to cache opened for read
84  */
85 
86 #define TCTRUSHAPE_can_not_reopen_occupancy_cache (EMH_TCTRUSHAPE_error_base + 12) /* 85012 */
87  /* Error encountered when trying to reopen file with different access type
88  */
89 
90 #define TCTRUSHAPE_failed_to_initialize (EMH_TCTRUSHAPE_error_base + 13) /* 85013 */
91  /* Failed to initialize TcTrushape module
92  */
93 
94 #define TCTRUSHAPE_failed_to_retrieve_trushape_file_tag (EMH_TCTRUSHAPE_error_base + 14) /* 85014 */
95  /* Failed to retrieve trushape file tag
96  */
97 
98 #define TCTRUSHAPE_out_of_memory (EMH_TCTRUSHAPE_error_base + 15) /* 85015 */
99  /* Failed to allocate memory
100  */
101 
102 #define TCTRUSHAPE_bad_index_file_header (EMH_TCTRUSHAPE_error_base + 16) /* 85016 */
103  /* Index file header is not "IT"
104  */
105 
106 #define TCTRUSHAPE_incompatible_version (EMH_TCTRUSHAPE_error_base + 17) /* 85017 */
107  /* Occupancy cache was created in the version of software
108  * that is later AND incompatible with the current one
109  */
110 
111 #define TCTRUSHAPE_internal_error (EMH_TCTRUSHAPE_error_base + 18) /* 85018 */
112  /* Internal error - Report to UGS
113  */
114 
115 #define TCTRUSHAPE_failed_to_recreate_existing_cache (EMH_TCTRUSHAPE_error_base + 19) /* 85019 */
116  /* Failed to recreate existing occupancy cache
117  */
118 
119 #define TCTRUSHAPE_failed_to_create_index_file (EMH_TCTRUSHAPE_error_base + 20) /* 85020 */
120  /* Failed to create occupance cache index file
121  */
122 
123 #define TCTRUSHAPE_failed_to_create_data_file (EMH_TCTRUSHAPE_error_base + 21) /* 85021 */
124  /* Failed to create occupance cache date file
125  */
126 
127 #define TCTRUSHAPE_failed_to_open_index_file (EMH_TCTRUSHAPE_error_base + 22) /* 85022 */
128  /* Failed to open occupance cache index file
129  */
130 
131 #define TCTRUSHAPE_failed_to_open_data_file (EMH_TCTRUSHAPE_error_base + 23) /* 85023 */
132  /* Failed to open occupance cache date file
133  */
134 
135 #define TCTRUSHAPE_failed_to_find_cache_to_open (EMH_TCTRUSHAPE_error_base + 24) /* 85024 */
136  /* Failed to find occupance cache
137  */
138 
139 #define TCTRUSHAPE_failed_to_create_occupancy_cache (EMH_TCTRUSHAPE_error_base + 25) /* 85025 */
140  /* Failed to create occupance cache
141  */
142 
143 #define TCTRUSHAPE_failed_to_check_occupancy_cache_existence (EMH_TCTRUSHAPE_error_base + 26) /* 85026 */
144  /* Failed to check occupancy cache existence
145  */
146 
147 #define TCTRUSHAPE_failed_to_write_appearance_occupancy_data (EMH_TCTRUSHAPE_error_base + 27) /* 85027 */
148  /* Failed to wrire appearance occupancy data
149  */
150 
151 #define TCTRUSHAPE_failed_to_close_occupancy_cache (EMH_TCTRUSHAPE_error_base + 28) /* 85028 */
152  /* Failed to close occupancy cache
153  */
154 
155 #define TCTRUSHAPE_failed_to_search_with_update_in_progress (EMH_TCTRUSHAPE_error_base + 29) /* 85029 */
156  /* Search is unavailable when occupancy cache is being updated
157  */
158 
159 #define TCTRUSHAPE_failed_to_search_unopened_cache (EMH_TCTRUSHAPE_error_base + 30) /* 85030 */
160  /* Search is unavailable if occupancy cache is not open
161  */
162 
163 #define TCTRUSHAPE_failed_to_retrieve_cache_extents (EMH_TCTRUSHAPE_error_base + 31) /* 85031 */
164  /* Failed to retrieve cache extents
165  */
166 
167 #define TCTRUSHAPE_trushape_library_not_found (EMH_TCTRUSHAPE_error_base + 32) /* 85032 */
168  /* Failed to find/load trushape library
169  */
170 
171 #define TCTRUSHAPE_item_revision_post_processing_failed (EMH_TCTRUSHAPE_error_base + 33) /* 85033 */
172  /* Failed to post process item revisions
173  */
174 
175 #define TCTRUSHAPE_spatial_data_already_exists (EMH_TCTRUSHAPE_error_base + 34) /* 85034 */
176 
177 #define TCTRUSHAPE_spatial_data_already_opened (EMH_TCTRUSHAPE_error_base + 35) /* 85035 */
178 
179 #define TCTRUSHAPE_spatial_data_not_opened (EMH_TCTRUSHAPE_error_base + 36) /* 85036 */
180 
181 #define TCTRUSHAPE_unsupported_spatial_data_access_mode (EMH_TCTRUSHAPE_error_base + 37) /* 85037 */
182 
183 #define TCTRUSHAPE_spatial_data_not_found (EMH_TCTRUSHAPE_error_base + 38) /* 85038 */
184 
185 #define TCTRUSHAPE_jt2ug_load_failure (EMH_TCTRUSHAPE_error_base + 39) /* 85039 */
186  /* Failed to load jt2ug module
187  */
188 
189 #define TCTRUSHAPE_jt_file_load_failure (EMH_TCTRUSHAPE_error_base + 40) /* 85040 */
190  /* Failed to load jt file
191  */
192 
193 #define TCTRUSHAPE_invalid_zone_relative_position (EMH_TCTRUSHAPE_error_base + 41) /* 85041 */
194  /* ITK was passed unsupported zone relative position
195  */
196 
197 #define TCTRUSHAPE_unsupported_search_criteria_combination (EMH_TCTRUSHAPE_error_base + 42) /* 85042 */
198  /* ITK was passed unsupported zone relative position
199  */
200 
201 #define TCTRUSHAPE_translation_jt2tso_failed (EMH_TCTRUSHAPE_error_base + 43) /* 85043 */
202  /* failed to translate the trushape file from JT file
203  */
204 
205 #define TCTRUSHAPE_failed_to_open_file (EMH_TCTRUSHAPE_error_base + 44) /* 85044 */
206  /* failed to open a file for either read or write
207  */
208 
209 #define TCTRUSHAPE_dataset_multiple_jt_files (EMH_TCTRUSHAPE_error_base + 45) /* 85045 */
210  /* directmodel dataset with multiple JT files
211  */
212 
213 #define TCTRUSHAPE_dataset_no_jt_file (EMH_TCTRUSHAPE_error_base + 46) /* 85046 */
214  /* directmodel dataset with no JT files
215  */
216 #define TCTRUSHAPE_err_max_cells_exceeded (EMH_TCTRUSHAPE_error_base + 47) /* 85047 */
217  /* Number of cells exceeds allowable spacemap size limits.
218  */
219 #include <tctrushape/libtctrushape_undef.h>
220 #endif /* TCTRUSHAPE_ERRORS_H */
221