PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::services::cache::cached_query_result Struct Reference

Wrapper for cached query results. More...

#include <query_cache.h>

Collaboration diagram for kcenon::pacs::services::cache::cached_query_result:
Collaboration graph

Public Attributes

std::vector< std::uint8_t > data
 Serialized query result data.
 
std::uint32_t match_count {0}
 Number of matching records in this result.
 
std::chrono::steady_clock::time_point cached_at
 Timestamp when this result was cached.
 
std::string query_level
 Query level (PATIENT, STUDY, SERIES, IMAGE)
 

Detailed Description

Wrapper for cached query results.

This structure holds the serialized query results along with metadata about when the result was cached.

Definition at line 75 of file query_cache.h.

Member Data Documentation

◆ cached_at

std::chrono::steady_clock::time_point kcenon::pacs::services::cache::cached_query_result::cached_at

Timestamp when this result was cached.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/services/cache/query_cache.h.

Definition at line 83 of file query_cache.h.

◆ data

std::vector<std::uint8_t> kcenon::pacs::services::cache::cached_query_result::data

Serialized query result data.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/services/cache/query_cache.h.

Definition at line 77 of file query_cache.h.

◆ match_count

std::uint32_t kcenon::pacs::services::cache::cached_query_result::match_count {0}

Number of matching records in this result.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/services/cache/query_cache.h.

Definition at line 80 of file query_cache.h.

80{0};

◆ query_level

std::string kcenon::pacs::services::cache::cached_query_result::query_level

Query level (PATIENT, STUDY, SERIES, IMAGE)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/services/cache/query_cache.h.

Definition at line 86 of file query_cache.h.


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