|
PACS System 0.1.0
PACS DICOM system library
|
Result of a Print DIMSE-N operation. More...
#include <print_scu.h>

Public Member Functions | |
| bool | is_success () const noexcept |
| Check if the operation was successful. | |
| bool | is_warning () const noexcept |
| Check if this was a warning status. | |
| bool | is_error () const noexcept |
| Check if this was an error status. | |
Public Attributes | |
| std::string | sop_instance_uid |
| SOP Instance UID (session, film box, image box, or printer) | |
| uint16_t | status {0} |
| DIMSE status code (0x0000 = success) | |
| std::string | error_comment |
| Error comment from the SCP (if any) | |
| std::chrono::milliseconds | elapsed {0} |
| Time taken for the operation. | |
| core::dicom_dataset | response_data |
| Response dataset (e.g., printer status, referenced image box UIDs) | |
Result of a Print DIMSE-N operation.
Contains outcome information from N-CREATE, N-SET, N-GET, N-ACTION, or N-DELETE operations.
Definition at line 47 of file print_scu.h.
|
inlinenodiscardnoexcept |
Check if this was an error status.
Definition at line 74 of file print_scu.h.
References is_success(), and is_warning().

|
inlinenodiscardnoexcept |
Check if the operation was successful.
Definition at line 64 of file print_scu.h.
References status.
Referenced by kcenon::pacs::services::print_scu::create_film_box(), kcenon::pacs::services::print_scu::create_film_session(), kcenon::pacs::services::print_scu::delete_film_box(), kcenon::pacs::services::print_scu::delete_film_session(), is_error(), kcenon::pacs::services::print_scu::print_film_box(), kcenon::pacs::services::print_scu::query_printer_status(), and kcenon::pacs::services::print_scu::set_image_box().

|
inlinenodiscardnoexcept |
Check if this was a warning status.
Definition at line 69 of file print_scu.h.
References status.
Referenced by is_error().

| std::chrono::milliseconds kcenon::pacs::services::print_result::elapsed {0} |
Time taken for the operation.
Definition at line 58 of file print_scu.h.
Referenced by kcenon::pacs::services::print_scu::create_film_box(), kcenon::pacs::services::print_scu::create_film_session(), kcenon::pacs::services::print_scu::delete_film_box(), kcenon::pacs::services::print_scu::delete_film_session(), kcenon::pacs::services::print_scu::print_film_box(), kcenon::pacs::services::print_scu::query_printer_status(), and kcenon::pacs::services::print_scu::set_image_box().
| std::string kcenon::pacs::services::print_result::error_comment |
Error comment from the SCP (if any)
Definition at line 55 of file print_scu.h.
Referenced by kcenon::pacs::services::print_scu::create_film_box(), kcenon::pacs::services::print_scu::create_film_session(), kcenon::pacs::services::print_scu::delete_film_box(), kcenon::pacs::services::print_scu::delete_film_session(), kcenon::pacs::services::print_scu::print_film_box(), kcenon::pacs::services::print_scu::query_printer_status(), and kcenon::pacs::services::print_scu::set_image_box().
| core::dicom_dataset kcenon::pacs::services::print_result::response_data |
Response dataset (e.g., printer status, referenced image box UIDs)
Definition at line 61 of file print_scu.h.
Referenced by kcenon::pacs::services::print_scu::create_film_box(), and kcenon::pacs::services::print_scu::query_printer_status().
| std::string kcenon::pacs::services::print_result::sop_instance_uid |
SOP Instance UID (session, film box, image box, or printer)
Definition at line 49 of file print_scu.h.
Referenced by kcenon::pacs::services::print_scu::create_film_box(), kcenon::pacs::services::print_scu::create_film_session(), kcenon::pacs::services::print_scu::delete_film_box(), kcenon::pacs::services::print_scu::delete_film_session(), kcenon::pacs::services::print_scu::print_film_box(), kcenon::pacs::services::print_scu::query_printer_status(), and kcenon::pacs::services::print_scu::set_image_box().
| uint16_t kcenon::pacs::services::print_result::status {0} |
DIMSE status code (0x0000 = success)
Definition at line 52 of file print_scu.h.
Referenced by kcenon::pacs::services::print_scu::create_film_box(), kcenon::pacs::services::print_scu::create_film_session(), kcenon::pacs::services::print_scu::delete_film_box(), kcenon::pacs::services::print_scu::delete_film_session(), is_success(), is_warning(), kcenon::pacs::services::print_scu::print_film_box(), kcenon::pacs::services::print_scu::query_printer_status(), and kcenon::pacs::services::print_scu::set_image_box().