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

Storage configuration. More...

#include <config.h>

Collaboration diagram for kcenon::pacs::example::storage_config:
Collaboration graph

Public Attributes

std::filesystem::path directory {"./archive"}
 Root directory for DICOM file storage.
 
std::string naming {"hierarchical"}
 File naming scheme: "hierarchical" or "flat".
 
std::string duplicate_policy {"reject"}
 Duplicate handling policy: "reject", "replace", "ignore".
 

Detailed Description

Storage configuration.

Definition at line 43 of file config.h.

Member Data Documentation

◆ directory

std::filesystem::path kcenon::pacs::example::storage_config::directory {"./archive"}

Root directory for DICOM file storage.

Definition at line 45 of file config.h.

45{"./archive"};

Referenced by kcenon::pacs::example::pacs_server_app::setup_storage().

◆ duplicate_policy

std::string kcenon::pacs::example::storage_config::duplicate_policy {"reject"}

Duplicate handling policy: "reject", "replace", "ignore".

Definition at line 51 of file config.h.

51{"reject"};

Referenced by kcenon::pacs::example::pacs_server_app::setup_storage().

◆ naming

std::string kcenon::pacs::example::storage_config::naming {"hierarchical"}

File naming scheme: "hierarchical" or "flat".

Definition at line 48 of file config.h.

48{"hierarchical"};

Referenced by kcenon::pacs::example::pacs_server_app::setup_storage().


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