|
PACS System 0.1.0
PACS DICOM system library
|
Result type for thumbnail operations. More...
#include <thumbnail_service.h>
Static Public Member Functions | |
| static thumbnail_result | ok (thumbnail_cache_entry entry) |
| Create a success result. | |
| static thumbnail_result | 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. | |
| thumbnail_cache_entry | entry |
| Thumbnail data if succeeded. | |
Result type for thumbnail operations.
Definition at line 76 of file thumbnail_service.h.
|
inlinestatic |
Create an error result.
Definition at line 95 of file thumbnail_service.h.
References error_message, and success.
Referenced by kcenon::pacs::web::thumbnail_service::get_series_thumbnail(), kcenon::pacs::web::thumbnail_service::get_study_thumbnail(), and kcenon::pacs::web::thumbnail_service::get_thumbnail().
|
inlinestatic |
Create a success result.
Definition at line 87 of file thumbnail_service.h.
References entry, and success.
Referenced by kcenon::pacs::web::thumbnail_service::get_thumbnail().
| thumbnail_cache_entry kcenon::pacs::web::thumbnail_result::entry |
| std::string kcenon::pacs::web::thumbnail_result::error_message |
| bool kcenon::pacs::web::thumbnail_result::success {false} |