|
PACS System 0.1.0
PACS DICOM system library
|
Response for sorted instances query. More...
#include <metadata_service.h>

Static Public Member Functions | |
| static sorted_instances_response | ok (std::vector< sorted_instance > inst, size_t count) |
| Create a success result. | |
| static sorted_instances_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::vector< sorted_instance > | instances |
| Sorted instances. | |
| size_t | total {0} |
| Total number of instances. | |
Response for sorted instances query.
Definition at line 162 of file metadata_service.h.
|
inlinestatic |
Create an error result.
Definition at line 186 of file metadata_service.h.
References error_message, and success.
Referenced by kcenon::pacs::web::metadata_service::get_sorted_instances().

|
inlinestatic |
Create a success result.
Definition at line 176 of file metadata_service.h.
References instances, success, and total.
Referenced by kcenon::pacs::web::metadata_service::get_sorted_instances().

| std::string kcenon::pacs::web::sorted_instances_response::error_message |
| std::vector<sorted_instance> kcenon::pacs::web::sorted_instances_response::instances |
| bool kcenon::pacs::web::sorted_instances_response::success {false} |
| size_t kcenon::pacs::web::sorted_instances_response::total {0} |
Total number of instances.
Definition at line 173 of file metadata_service.h.
Referenced by ok().