Go to the documentation of this file.
17 #define HISTORY_ERROR_COMPLEX_COMPONENT DGNMODEL_STATUS_ComplexComponent
18 #define HISTORY_ERROR_DGNCACHE_IS_IN_USE DGNMODEL_STATUS_IsInUse
19 #define HISTORY_ERROR_BAD_ELEMENT DGNMODEL_STATUS_BadElement
22 #define HISTORY_ERROR_COULD_NOT_OPEN_FILE_READWRITE (DGNOPEN_STATUS_BASE + 0x03)
23 #define HISTORY_ERROR_COULD_NOT_REOPEN_FILE_READWRITE (DGNFILE_ERROR_BASE + 0x12)
24 #define HISTORY_ERROR_ACCESS_VIOLATION (DGNOPEN_STATUS_BASE + 0x04)
25 #define _DGNOPEN_STATUS_FILE_ALREADY_EXISTS (DGNOPEN_STATUS_BASE + 0x06)
26 #define _DGNOPEN_STATUS_FILE_NOT_FOUND (DGNOPEN_STATUS_BASE + 0x11)
27 #define HISTORY_ERROR_BAD_FILENAME (DGNOPEN_STATUS_BASE + 0x07)
28 #define HISTORY_ERROR_DGNFILE_IS_ENCRYPTED (DGNOPEN_STATUS_BASE + 0x21)
30 #define HISTORY_ERROR_HISTORY_NOT_FOUND _DGNOPEN_STATUS_FILE_NOT_FOUND
31 #define HISTORY_ERROR_HISTORY_ALREADY_EXISTS _DGNOPEN_STATUS_FILE_ALREADY_EXISTS
33 #define HISTORY_ERROR_FILE_NOT_OPEN_READ_WRITE (DGNFILE_ERROR_BASE + 0x2)
36 #define HISTORY_ERROR_FIRST (DGNHISTORY_ERROR_BASE + 0x01)
37 #define HISTORY_ERROR_NOCHANGES (DGNHISTORY_ERROR_BASE + 0x01)
38 #define HISTORY_ERROR_NOT_A_DGN_FILE (DGNHISTORY_ERROR_BASE + 0x02)
39 #define HISTORY_ERROR_CACHE_NOT_FOUND (DGNHISTORY_ERROR_BASE + 0x03)
40 #define HISTORY_ERROR_PERMISSION_DENIED (DGNHISTORY_ERROR_BASE + 0x04)
41 #define HISTORY_ERROR_MISSING_LEVEL (DGNHISTORY_ERROR_BASE + 0x05)
42 #define HISTORY_ERROR_DGN_FILE_NOT_FOUND (DGNHISTORY_ERROR_BASE + 0x06)
43 #define HISTORY_ERROR_INVALID_REVISION_NUMBER (DGNHISTORY_ERROR_BASE + 0x07)
44 #define HISTORY_ERROR_HAS_NEW_FEATURES (DGNHISTORY_ERROR_BASE + 0x08)
45 #define HISTORY_ERROR_DUPLICATE_TAG (DGNHISTORY_ERROR_BASE + 0x09)
46 #define HISTORY_ERROR_TAG_NOT_FOUND (DGNHISTORY_ERROR_BASE + 0x0A)
47 #define HISTORY_ERROR_TAG_NOT_REVISION (DGNHISTORY_ERROR_BASE + 0x0B)
48 #define HISTORY_ERROR_BACKWARD_COMPATIBILITY (DGNHISTORY_ERROR_BASE + 0x0C)
49 #define HISTORY_ERROR_REVISION_NOT_FOUND (DGNHISTORY_ERROR_BASE + 0x0D)
50 #define HISTORY_ERROR_FORWARD_COMPATIBILITY (DGNHISTORY_ERROR_BASE + 0x0E)
51 #define HISTORY_ERROR_NEEDS_COMMIT (DGNHISTORY_ERROR_BASE + 0x0F)
52 #define HISTORY_ERROR_CORRUPT (DGNHISTORY_ERROR_BASE + 0x10)
54 #define HISTORY_ERROR_LAST (DGNHISTORY_ERROR_BASE + 0x10)
56 #define IS_HISTORY_ERROR(s)\
57 HISTORY_ERROR_LAST >= (s) && (s) >= HISTORY_ERROR_FIRST
59 #define IS_EXTENDED_HISTORY_ERROR(s)\
60 (s)==HISTORY_ERROR_COMPLEX_COMPONENT\
61 ||(s)==HISTORY_ERROR_DGNCACHE_IS_IN_USE\
62 ||(s)==HISTORY_ERROR_BAD_ELEMENT\
63 ||(s)==HISTORY_ERROR_COULD_NOT_OPEN_FILE_READWRITE\
64 ||(s)==HISTORY_ERROR_COULD_NOT_REOPEN_FILE_READWRITE\
65 ||(s)==HISTORY_ERROR_ACCESS_VIOLATION\
66 ||(s)==HISTORY_ERROR_BAD_FILENAME\
67 ||(s)==HISTORY_ERROR_DGNFILE_IS_ENCRYPTED\
68 ||(s)==HISTORY_ERROR_HISTORY_NOT_FOUND\
69 ||(s)==HISTORY_ERROR_HISTORY_ALREADY_EXISTS\
70 ||(s)==HISTORY_ERROR_FILE_NOT_OPEN_READ_WRITE
Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.