PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::web::dicomweb::store_response Struct Reference

STOW-RS overall store response. More...

#include <dicomweb_endpoints.h>

Collaboration diagram for kcenon::pacs::web::dicomweb::store_response:
Collaboration graph

Public Member Functions

bool all_success () const noexcept
 
bool all_failed () const noexcept
 
bool partial_success () const noexcept
 

Public Attributes

std::vector< store_instance_resultreferenced_instances
 Successfully stored.
 
std::vector< store_instance_resultfailed_instances
 Failed to store.
 

Detailed Description

STOW-RS overall store response.

Definition at line 303 of file dicomweb_endpoints.h.

Member Function Documentation

◆ all_failed()

bool kcenon::pacs::web::dicomweb::store_response::all_failed ( ) const
inlinenodiscardnoexcept

Definition at line 311 of file dicomweb_endpoints.h.

311 {
312 return referenced_instances.empty() && !failed_instances.empty();
313 }
std::vector< store_instance_result > referenced_instances
Successfully stored.
std::vector< store_instance_result > failed_instances
Failed to store.

References failed_instances, and referenced_instances.

◆ all_success()

bool kcenon::pacs::web::dicomweb::store_response::all_success ( ) const
inlinenodiscardnoexcept

Definition at line 307 of file dicomweb_endpoints.h.

307 {
308 return failed_instances.empty() && !referenced_instances.empty();
309 }

References failed_instances, and referenced_instances.

◆ partial_success()

bool kcenon::pacs::web::dicomweb::store_response::partial_success ( ) const
inlinenodiscardnoexcept

Definition at line 315 of file dicomweb_endpoints.h.

315 {
316 return !referenced_instances.empty() && !failed_instances.empty();
317 }

References failed_instances, and referenced_instances.

Member Data Documentation

◆ failed_instances

std::vector<store_instance_result> kcenon::pacs::web::dicomweb::store_response::failed_instances

Failed to store.

Definition at line 305 of file dicomweb_endpoints.h.

Referenced by all_failed(), all_success(), and partial_success().

◆ referenced_instances

std::vector<store_instance_result> kcenon::pacs::web::dicomweb::store_response::referenced_instances

Successfully stored.

Definition at line 304 of file dicomweb_endpoints.h.

Referenced by all_failed(), all_success(), and partial_success().


The documentation for this struct was generated from the following file: