comparison OrthancServer/Sources/main.cpp @ 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 6eff25f70121
children e1495a34cd39
comparison
equal deleted inserted replaced
4930:1ce32c1ec4cf 4932:b7ce2bb6b881
744 << std::endl << std::endl 744 << std::endl << std::endl
745 << "List of error codes that could be returned by Orthanc:" 745 << "List of error codes that could be returned by Orthanc:"
746 << std::endl << std::endl; 746 << std::endl << std::endl;
747 747
748 // The content of the following brackets is automatically generated 748 // The content of the following brackets is automatically generated
749 // by the "GenerateErrorCodes.py" script 749 // by the "Resources/CodeGeneration/GenerateErrorCodes.py" script
750 { 750 {
751 PrintErrorCode(ErrorCode_InternalError, "Internal error"); 751 PrintErrorCode(ErrorCode_InternalError, "Internal error");
752 PrintErrorCode(ErrorCode_Success, "Success"); 752 PrintErrorCode(ErrorCode_Success, "Success");
753 PrintErrorCode(ErrorCode_Plugin, "Error encountered within the plugin engine"); 753 PrintErrorCode(ErrorCode_Plugin, "Error encountered within the plugin engine");
754 PrintErrorCode(ErrorCode_NotImplemented, "Not implemented yet"); 754 PrintErrorCode(ErrorCode_NotImplemented, "Not implemented yet");
791 PrintErrorCode(ErrorCode_SslInitialization, "Cannot initialize SSL encryption, check out your certificates"); 791 PrintErrorCode(ErrorCode_SslInitialization, "Cannot initialize SSL encryption, check out your certificates");
792 PrintErrorCode(ErrorCode_DiscontinuedAbi, "Calling a function that has been removed from the Orthanc Framework"); 792 PrintErrorCode(ErrorCode_DiscontinuedAbi, "Calling a function that has been removed from the Orthanc Framework");
793 PrintErrorCode(ErrorCode_BadRange, "Incorrect range request"); 793 PrintErrorCode(ErrorCode_BadRange, "Incorrect range request");
794 PrintErrorCode(ErrorCode_DatabaseCannotSerialize, "Database could not serialize access due to concurrent update, the transaction should be retried"); 794 PrintErrorCode(ErrorCode_DatabaseCannotSerialize, "Database could not serialize access due to concurrent update, the transaction should be retried");
795 PrintErrorCode(ErrorCode_Revision, "A bad revision number was provided, which might indicate conflict between multiple writers"); 795 PrintErrorCode(ErrorCode_Revision, "A bad revision number was provided, which might indicate conflict between multiple writers");
796 PrintErrorCode(ErrorCode_MainDicomTagsMultiplyDefined, "A main DICOM Tag has been defined multiple times for the same resource level");
796 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened"); 797 PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened");
797 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open"); 798 PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open");
798 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database"); 799 PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database");
799 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to"); 800 PrintErrorCode(ErrorCode_SQLiteStatementAlreadyUsed, "SQLite: This cached statement is already being referred to");
800 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command"); 801 PrintErrorCode(ErrorCode_SQLiteExecute, "SQLite: Cannot execute a command");