|
PACS System 0.1.0
PACS DICOM system library
|
Response for selective metadata retrieval. More...
#include <metadata_service.h>

Static Public Member Functions | |
| static metadata_response | ok (std::unordered_map< std::string, std::string > tag_map) |
| Create a success result. | |
| static metadata_response | error (std::string message) |
| Create an error result. | |
Public Attributes | |
| bool | success {false} |
| Whether the operation succeeded. | |
| std::string | error_message |
| Error message if failed. | |
| std::unordered_map< std::string, std::string > | tags |
| Retrieved tag values. | |
Response for selective metadata retrieval.
Definition at line 91 of file metadata_service.h.
|
inlinestatic |
Create an error result.
Definition at line 111 of file metadata_service.h.
References error_message, and success.
Referenced by kcenon::pacs::web::metadata_service::get_metadata().

|
inlinestatic |
Create a success result.
Definition at line 102 of file metadata_service.h.
Referenced by kcenon::pacs::web::metadata_service::get_metadata().

| std::string kcenon::pacs::web::metadata_response::error_message |
| bool kcenon::pacs::web::metadata_response::success {false} |
| std::unordered_map<std::string, std::string> kcenon::pacs::web::metadata_response::tags |