comparison OrthancFramework/Sources/Enumerations.h @ 4932:b7ce2bb6b881 more-tags

refactored the list of MainDicomTags to be able to change it dynamicaly. Unit tests and Integration tests ok
author Alain Mazy <am@osimis.io>
date Wed, 09 Mar 2022 11:17:08 +0100
parents 8523078f3f4b
children afa427f65444
comparison
equal deleted inserted replaced
4930:1ce32c1ec4cf 4932:b7ce2bb6b881
89 Endianness_Big, 89 Endianness_Big,
90 Endianness_Little 90 Endianness_Little
91 }; 91 };
92 92
93 // This enumeration is autogenerated by the script 93 // This enumeration is autogenerated by the script
94 // "Resources/GenerateErrorCodes.py" 94 // "Resources/CodeGeneration/GenerateErrorCodes.py"
95 enum ErrorCode 95 enum ErrorCode
96 { 96 {
97 ErrorCode_InternalError = -1 /*!< Internal error */, 97 ErrorCode_InternalError = -1 /*!< Internal error */,
98 ErrorCode_Success = 0 /*!< Success */, 98 ErrorCode_Success = 0 /*!< Success */,
99 ErrorCode_Plugin = 1 /*!< Error encountered within the plugin engine */, 99 ErrorCode_Plugin = 1 /*!< Error encountered within the plugin engine */,
137 ErrorCode_SslInitialization = 39 /*!< Cannot initialize SSL encryption, check out your certificates */, 137 ErrorCode_SslInitialization = 39 /*!< Cannot initialize SSL encryption, check out your certificates */,
138 ErrorCode_DiscontinuedAbi = 40 /*!< Calling a function that has been removed from the Orthanc Framework */, 138 ErrorCode_DiscontinuedAbi = 40 /*!< Calling a function that has been removed from the Orthanc Framework */,
139 ErrorCode_BadRange = 41 /*!< Incorrect range request */, 139 ErrorCode_BadRange = 41 /*!< Incorrect range request */,
140 ErrorCode_DatabaseCannotSerialize = 42 /*!< Database could not serialize access due to concurrent update, the transaction should be retried */, 140 ErrorCode_DatabaseCannotSerialize = 42 /*!< Database could not serialize access due to concurrent update, the transaction should be retried */,
141 ErrorCode_Revision = 43 /*!< A bad revision number was provided, which might indicate conflict between multiple writers */, 141 ErrorCode_Revision = 43 /*!< A bad revision number was provided, which might indicate conflict between multiple writers */,
142 ErrorCode_MainDicomTagsMultiplyDefined = 44 /*!< A main DICOM Tag has been defined multiple times for the same resource level */,
142 ErrorCode_SQLiteNotOpened = 1000 /*!< SQLite: The database is not opened */, 143 ErrorCode_SQLiteNotOpened = 1000 /*!< SQLite: The database is not opened */,
143 ErrorCode_SQLiteAlreadyOpened = 1001 /*!< SQLite: Connection is already open */, 144 ErrorCode_SQLiteAlreadyOpened = 1001 /*!< SQLite: Connection is already open */,
144 ErrorCode_SQLiteCannotOpen = 1002 /*!< SQLite: Unable to open the database */, 145 ErrorCode_SQLiteCannotOpen = 1002 /*!< SQLite: Unable to open the database */,
145 ErrorCode_SQLiteStatementAlreadyUsed = 1003 /*!< SQLite: This cached statement is already being referred to */, 146 ErrorCode_SQLiteStatementAlreadyUsed = 1003 /*!< SQLite: This cached statement is already being referred to */,
146 ErrorCode_SQLiteExecute = 1004 /*!< SQLite: Cannot execute a command */, 147 ErrorCode_SQLiteExecute = 1004 /*!< SQLite: Cannot execute a command */,