PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::client::prefetch_result Struct Reference

Result of a prefetch operation. More...

#include <prefetch_types.h>

Collaboration diagram for kcenon::pacs::client::prefetch_result:
Collaboration graph

Public Member Functions

bool is_success () const noexcept
 Check if prefetch was successful.
 

Public Attributes

std::string patient_id
 Patient ID.
 
std::string patient_name
 Patient name.
 
size_t studies_found {0}
 Studies found on remote.
 
size_t studies_prefetched {0}
 Studies actually prefetched.
 
size_t studies_already_local {0}
 Studies already local.
 
std::vector< std::string > job_ids
 Created job IDs.
 
std::chrono::milliseconds elapsed {0}
 Operation duration.
 

Detailed Description

Result of a prefetch operation.

Contains statistics about what was prefetched for a patient.

Definition at line 144 of file prefetch_types.h.

Member Function Documentation

◆ is_success()

bool kcenon::pacs::client::prefetch_result::is_success ( ) const
inlinenodiscardnoexcept

Check if prefetch was successful.

Definition at line 156 of file prefetch_types.h.

156 {
158 }
size_t studies_already_local
Studies already local.
size_t studies_prefetched
Studies actually prefetched.

References studies_already_local, and studies_prefetched.

Member Data Documentation

◆ elapsed

std::chrono::milliseconds kcenon::pacs::client::prefetch_result::elapsed {0}

Operation duration.

Definition at line 151 of file prefetch_types.h.

151{0};

Referenced by kcenon::pacs::client::prefetch_manager::prefetch_priors().

◆ job_ids

std::vector<std::string> kcenon::pacs::client::prefetch_result::job_ids

Created job IDs.

Definition at line 150 of file prefetch_types.h.

◆ patient_id

std::string kcenon::pacs::client::prefetch_result::patient_id

Patient ID.

Definition at line 145 of file prefetch_types.h.

Referenced by kcenon::pacs::client::prefetch_manager::prefetch_priors().

◆ patient_name

std::string kcenon::pacs::client::prefetch_result::patient_name

Patient name.

Definition at line 146 of file prefetch_types.h.

◆ studies_already_local

size_t kcenon::pacs::client::prefetch_result::studies_already_local {0}

Studies already local.

Definition at line 149 of file prefetch_types.h.

149{0};

Referenced by is_success().

◆ studies_found

size_t kcenon::pacs::client::prefetch_result::studies_found {0}

Studies found on remote.

Definition at line 147 of file prefetch_types.h.

147{0};

◆ studies_prefetched

size_t kcenon::pacs::client::prefetch_result::studies_prefetched {0}

Studies actually prefetched.

Definition at line 148 of file prefetch_types.h.

148{0};

Referenced by is_success().


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