DgnPlatformErrors.r.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 // ------------------------------------------------------------
11 // This file is included by both .h/cpp and .r files
12 // ------------------------------------------------------------
13 
14 #if !defined (resource)
15 #include <Bentley/Bentley.h>
16 #include "DgnPlatformBaseType.r.h"
17 #else
18 enum BentleyStatus
19  {
20  SUCCESS = 0,
21  BSISUCCESS = 0,
22  ERROR = 0x8000,
23  BSIERROR = 0x8000,
24  };
25 #endif
26 
28 
29 /*=================================================================================**/
33  {
35  DGNLOAD_ERROR_BASE = 0x12000,
37  DGNFILE_ERROR_BASE = 0x14000,
58  DCMODEL_ERROR_BASE = 0x29000,
60  WORKSET_ERROR_BASE = 0x31000,
61  };
62 
63 /*=================================================================================**/
67  {
70 
71  DGNOPEN_STATUS_SharingViolation = DGNOPEN_STATUS_BASE + 0x03, // couldn't open due to sharing problems
72  DGNOPEN_STATUS_AccessViolation = DGNOPEN_STATUS_BASE + 0x04, // couldn't open at all due to permissions
73  DGNOPEN_STATUS_AlreadyOpen = DGNOPEN_STATUS_BASE + 0x05, // the file is already open by this process
78 
87 
91  DGNOPEN_STATUS_FileHasNewFeatures = DGNOPEN_STATUS_BASE + 0x23, // Something in the file can't be handled by previous version
98 
101  DGNFILE_ERROR_AlreadyLoaded = DGNFILE_ERROR_BASE + 0x03, // a file is already open for this object
117 
125 
131 
139  };
140 
141 /*=================================================================================**/
147  {
160  DGNMODEL_STATUS_ComplexComponent = DGNMODEL_ERROR_BASE + 0x0d, /* error deleting component of a complex element */
161  DGNMODEL_STATUS_WrongElemId = DGNMODEL_ERROR_BASE + 0x0e, /* expected ID did not match actual ID */
186  };
187 
188 /*=================================================================================**/
192  {
203  };
204 
205 /*=================================================================================**/
209  {
224  };
225 
226 /*=================================================================================**/
230 {
236 };
237 
238 /*=================================================================================**/
242  {
244  DGNHANDLERS_STATUS_BadElement = (-105), // these values match the equivalent MDLERR_ values
254  };
255 
256 /*=================================================================================**/
260  {
262  DGNPLATFORM_STATUS_BadArg = (-126), // these values match the equivalent MDLERR_ values
270  };
271 
272 /*=================================================================================**/
276  {
279  };
280 
281 /*=================================================================================**/
285  {
307  };
308 
309 /*=================================================================================**/
312 enum DgnPlatformToolsStatus // these values match the equivalent MDLERR_ values
313  {
320  DGNPLATFORMTOOLS_STATUS_BadStringListIndex = (-134), // Bad string list index
334  };
335 
336 /*=================================================================================**/
339 enum RscStatus // Values from -900 to -1000; must match mdlerrs values
340  {
364  };
365 
366 /*=================================================================================**/
370  {
374  };
375 
376 /*=================================================================================**/
380  {
382  STYLETABLE_ERROR_BadIndex = (-134), /* Bad string list index */
388  };
389 
390 /*=================================================================================**/
394  {
397  };
398 
399 /*=================================================================================**/
402 enum SignatureErrors // WIP_DGNPLATFORM_TOOLS
403  {
409  };
410 
Definition: DgnPlatformErrors.r.h:89
DgnFileStatus
Definition: DgnPlatformErrors.r.h:66
Definition: DgnPlatformErrors.r.h:106
Definition: DgnPlatformErrors.r.h:44
Definition: DgnPlatformErrors.r.h:262
Definition: DgnPlatformErrors.r.h:138
Definition: DgnPlatformErrors.r.h:152
Definition: DgnPlatformErrors.r.h:49
Definition: DgnPlatformErrors.r.h:219
Definition: DgnPlatformErrors.r.h:55
Definition: DgnPlatformErrors.r.h:54
Definition: DgnPlatformErrors.r.h:252
Definition: DgnPlatformErrors.r.h:292
Definition: DgnPlatformErrors.r.h:352
Definition: DgnPlatformErrors.r.h:235
Definition: DgnPlatformErrors.r.h:100
Definition: Bentley.h:212
Definition: DgnPlatformErrors.r.h:342
Definition: DgnPlatformErrors.r.h:82
Definition: DgnPlatformErrors.r.h:111
Definition: DgnPlatformErrors.r.h:163
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
Definition: DgnPlatformErrors.r.h:130
Definition: DgnPlatformErrors.r.h:212
Definition: DgnPlatformErrors.r.h:79
Definition: DgnPlatformErrors.r.h:361
RscStatus
Definition: DgnPlatformErrors.r.h:339
Definition: DgnPlatformErrors.r.h:164
Definition: DgnPlatformErrors.r.h:381
Definition: DgnPlatformErrors.r.h:154
Definition: DgnPlatformErrors.r.h:347
Definition: DgnPlatformErrors.r.h:150
Definition: DgnPlatformErrors.r.h:95
Definition: DgnPlatformErrors.r.h:200
Definition: DgnPlatformErrors.r.h:267
Definition: DgnPlatformErrors.r.h:181
DgnPlatformStatus
Definition: DgnPlatformErrors.r.h:259
Definition: DgnPlatformErrors.r.h:59
Definition: DgnPlatformErrors.r.h:128
Definition: DgnPlatformErrors.r.h:160
Definition: DgnPlatformErrors.r.h:264
Definition: DgnPlatformErrors.r.h:161
Definition: DgnPlatformErrors.r.h:104
Definition: DgnPlatformErrors.r.h:68
Definition: DgnPlatformErrors.r.h:180
Definition: DgnPlatformErrors.r.h:136
Definition: DgnPlatformErrors.r.h:167
Definition: DgnPlatformErrors.r.h:263
Definition: DgnPlatformErrors.r.h:306
DgnHandlersStatus
Definition: DgnPlatformErrors.r.h:241
Definition: DgnPlatformErrors.r.h:101
Definition: DgnPlatformErrors.r.h:94
Definition: DgnPlatformErrors.r.h:176
BSplineStatus
Definition: DgnPlatformErrors.r.h:284
Definition: DgnPlatformErrors.r.h:58
Definition: DgnPlatformErrors.r.h:35
Definition: DgnPlatformErrors.r.h:289
Definition: DgnPlatformErrors.r.h:159
Definition: DgnPlatformErrors.r.h:215
Definition: DgnPlatformErrors.r.h:77
Definition: DgnPlatformErrors.r.h:299
Definition: DgnPlatformErrors.r.h:121
Definition: DgnPlatformErrors.r.h:134
Definition: DgnPlatformErrors.r.h:321
Definition: DgnPlatformErrors.r.h:38
Definition: DgnPlatformErrors.r.h:110
Definition: DgnPlatformErrors.r.h:113
Definition: DgnPlatformErrors.r.h:42
Definition: DgnPlatformErrors.r.h:75
Definition: DgnPlatformErrors.r.h:296
Definition: DgnPlatformErrors.r.h:383
Definition: DgnPlatformErrors.r.h:251
SignatureErrors
Definition: DgnPlatformErrors.r.h:402
Definition: DgnPlatformErrors.r.h:96
Definition: DgnPlatformErrors.r.h:45
Definition: DgnPlatformErrors.r.h:72
Definition: DgnPlatformErrors.r.h:218
Definition: DgnPlatformErrors.r.h:294
Definition: DgnPlatformErrors.r.h:355
Definition: DgnPlatformErrors.r.h:115
Definition: DgnPlatformErrors.r.h:221
Definition: DgnPlatformErrors.r.h:155
Definition: DgnPlatformErrors.r.h:120
Definition: DgnPlatformErrors.r.h:156
Definition: DgnPlatformErrors.r.h:118
Definition: DgnPlatformErrors.r.h:112
Definition: DgnPlatformErrors.r.h:47
Definition: DgnPlatformErrors.r.h:371
Definition: DgnPlatformErrors.r.h:198
Definition: DgnPlatformErrors.r.h:34
Definition: DgnPlatformErrors.r.h:384
Definition: DgnPlatformErrors.r.h:354
Definition: DgnPlatformErrors.r.h:351
Definition: DgnPlatformErrors.r.h:102
Definition: DgnPlatformErrors.r.h:244
Definition: DgnPlatformErrors.r.h:116
Definition: DgnPlatformErrors.r.h:277
Definition: DgnPlatformErrors.r.h:201
Definition: DgnPlatformErrors.r.h:297
Definition: DgnPlatformErrors.r.h:350
Definition: DgnPlatformErrors.r.h:202
Definition: DgnPlatformErrors.r.h:169
StyleTableErrors
Definition: DgnPlatformErrors.r.h:379
Definition: DgnPlatformErrors.r.h:300
Definition: DgnPlatformErrors.r.h:407
Definition: DgnPlatformErrors.r.h:195
Definition: DgnPlatformErrors.r.h:231
Definition: DgnPlatformErrors.r.h:343
Definition: DgnPlatformErrors.r.h:114
LineStyleStatus
Definition: DgnPlatformErrors.r.h:208
Definition: DgnPlatformErrors.r.h:359
Definition: DgnPlatformErrors.r.h:214
Definition: DgnPlatformErrors.r.h:286
Definition: DgnPlatformErrors.r.h:303
Definition: DgnPlatformErrors.r.h:39
Definition: DgnPlatformErrors.r.h:103
ViewFrustumError
Definition: DgnPlatformErrors.r.h:229
BentleyStatus
Definition: Bentley.h:208
DgnErrorCategories
Definition: DgnPlatformErrors.r.h:32
Definition: DgnPlatformErrors.r.h:301
Definition: DgnPlatformErrors.r.h:171
Definition: DgnPlatformErrors.r.h:266
Definition: DgnPlatformErrors.r.h:40
Definition: DgnPlatformErrors.r.h:362
Definition: DgnPlatformErrors.r.h:73
Definition: DgnPlatformErrors.r.h:210
Definition: DgnPlatformErrors.r.h:178
Definition: DgnPlatformErrors.r.h:107
Definition: DgnPlatformErrors.r.h:105
Definition: DgnPlatformErrors.r.h:349
Definition: DgnPlatformErrors.r.h:360
Definition: Bentley.h:211
Definition: DgnPlatformErrors.r.h:71
Definition: DgnPlatformErrors.r.h:291
Definition: DgnPlatformErrors.r.h:148
Defines typedefs and constants that can be used across other namespaces. All Bentley-authored C++ sou...
DgnPlatformToolsStatus
Definition: DgnPlatformErrors.r.h:312
Definition: DgnPlatformErrors.r.h:319
Definition: DgnPlatformErrors.r.h:348
Definition: DgnPlatformErrors.r.h:363
Definition: DgnPlatformErrors.r.h:220
Definition: DgnPlatformErrors.r.h:151
Definition: DgnPlatformErrors.r.h:245
Definition: DgnPlatformErrors.r.h:122
Definition: DgnPlatformErrors.r.h:99
DgnModelStatus
Errors generated by accessing or attempting to modify a DgnModel.
Definition: DgnPlatformErrors.r.h:146
Definition: DgnPlatformErrors.r.h:36
Definition: DgnPlatformErrors.r.h:80
Definition: DgnPlatformErrors.r.h:50
Definition: DgnPlatformErrors.r.h:372
Definition: DgnPlatformErrors.r.h:165
Definition: DgnPlatformErrors.r.h:43
Definition: DgnPlatformErrors.r.h:132
Definition: DgnPlatformErrors.r.h:74
Definition: DgnPlatformErrors.r.h:346
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
Definition: DgnPlatformErrors.r.h:382
Definition: DgnPlatformErrors.r.h:373
Definition: DgnPlatformErrors.r.h:287
Definition: DgnPlatformErrors.r.h:37
Definition: DgnPlatformErrors.r.h:232
Definition: DgnPlatformErrors.r.h:60
Definition: DgnPlatformErrors.r.h:211
AkimaCurveStatus
Definition: DgnPlatformErrors.r.h:369
Definition: DgnPlatformErrors.r.h:135
Definition: DgnPlatformErrors.r.h:199
Definition: DgnPlatformErrors.r.h:248
Definition: DgnPlatformErrors.r.h:46
Definition: DgnPlatformErrors.r.h:137
Definition: DgnPlatformErrors.r.h:123
DgnAttachmentErrors
Definition: DgnPlatformErrors.r.h:393
Definition: DgnPlatformErrors.r.h:288
Definition: DgnPlatformErrors.r.h:404
Definition: DgnPlatformErrors.r.h:126
Definition: DgnPlatformErrors.r.h:57
Definition: DgnPlatformErrors.r.h:385
Definition: DgnPlatformErrors.r.h:386
Definition: Bentley.h:210
Definition: DgnPlatformErrors.r.h:127
Definition: DgnPlatformErrors.r.h:41
Definition: DgnPlatformErrors.r.h:56
GeoCoordAttachmentErrors
Definition: DgnPlatformErrors.r.h:275
Definition: DgnPlatformErrors.r.h:243
Definition: DgnPlatformErrors.r.h:81
Definition: DgnPlatformErrors.r.h:234
Definition: DgnPlatformErrors.r.h:97
Definition: DgnPlatformErrors.r.h:268
Definition: DgnPlatformErrors.r.h:357
Definition: DgnPlatformErrors.r.h:295
Definition: DgnPlatformErrors.r.h:356
Definition: DgnPlatformErrors.r.h:51
Definition: DgnPlatformErrors.r.h:179
Definition: DgnPlatformErrors.r.h:344
Definition: DgnPlatformErrors.r.h:405
Definition: DgnPlatformErrors.r.h:53
Definition: DgnPlatformErrors.r.h:278
Definition: DgnPlatformErrors.r.h:406
Definition: DgnPlatformErrors.r.h:253
Definition: DgnPlatformErrors.r.h:193
Definition: DgnPlatformErrors.r.h:108
Definition: DgnPlatformErrors.r.h:233
Definition: DgnPlatformErrors.r.h:305
Definition: DgnPlatformErrors.r.h:387
Definition: DgnPlatformErrors.r.h:170
Definition: DgnPlatformErrors.r.h:129
Definition: DgnPlatformErrors.r.h:149
Definition: DgnPlatformErrors.r.h:162
Definition: DgnPlatformErrors.r.h:69
Definition: DgnPlatformErrors.r.h:261
Definition: DgnPlatformErrors.r.h:246
Definition: DgnPlatformErrors.r.h:197
Definition: DgnPlatformErrors.r.h:247
Definition: DgnPlatformErrors.r.h:90
Definition: DgnPlatformErrors.r.h:353
Definition: DgnPlatformErrors.r.h:317
Definition: DgnPlatformErrors.r.h:48
Definition: DgnPlatformErrors.r.h:92
Definition: DgnPlatformErrors.r.h:358
Definition: DgnPlatformErrors.r.h:184
Definition: DgnPlatformErrors.r.h:177
Definition: DgnPlatformErrors.r.h:168
Definition: DgnPlatformErrors.r.h:269
Definition: DgnPlatformErrors.r.h:174
Definition: DgnPlatformErrors.r.h:408
Definition: DgnPlatformErrors.r.h:298
Definition: DgnPlatformErrors.r.h:345
Definition: DgnPlatformErrors.r.h:133
Definition: DgnPlatformErrors.r.h:52
Definition: DgnPlatformErrors.r.h:290
Definition: DgnPlatformErrors.r.h:293
Definition: DgnPlatformErrors.r.h:153
DgnFileEmbedStatus
Definition: DgnPlatformErrors.r.h:191
Definition: DgnPlatformErrors.r.h:341
Definition: Bentley.h:213
Definition: DgnPlatformErrors.r.h:157
Definition: DgnPlatformErrors.r.h:109
Definition: DgnPlatformErrors.r.h:166
Definition: DgnPlatformErrors.r.h:318
Definition: DgnPlatformErrors.r.h:85

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.