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

File storage configuration. More...

#include <config_loader.h>

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

Public Attributes

std::filesystem::path root_path {"./pacs_data"}
 Root path for DICOM file storage.
 
std::string naming_scheme {"uid_hierarchical"}
 Naming scheme: "uid_flat", "uid_hierarchical", "date_based".
 
std::string duplicate_policy {"replace"}
 Duplicate handling: "reject", "replace", "rename".
 
database_config database
 Database configuration.
 

Detailed Description

File storage configuration.

Definition at line 145 of file config_loader.h.

Member Data Documentation

◆ database

◆ duplicate_policy

std::string kcenon::pacs::samples::storage_config::duplicate_policy {"replace"}

Duplicate handling: "reject", "replace", "rename".

Definition at line 153 of file config_loader.h.

153{"replace"};

Referenced by kcenon::pacs::samples::config_loader::create_default(), kcenon::pacs::samples::config_loader::load_from_string(), and main().

◆ naming_scheme

std::string kcenon::pacs::samples::storage_config::naming_scheme {"uid_hierarchical"}

◆ root_path

std::filesystem::path kcenon::pacs::samples::storage_config::root_path {"./pacs_data"}

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