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

Configuration for file_storage. More...

#include <file_storage.h>

Collaboration diagram for kcenon::pacs::storage::file_storage_config:
Collaboration graph

Public Attributes

std::filesystem::path root_path
 Root directory for storage.
 
naming_scheme naming = naming_scheme::uid_hierarchical
 File organization scheme.
 
duplicate_policy duplicate = duplicate_policy::reject
 How to handle duplicate instances.
 
bool create_directories = true
 Create directories automatically if they don't exist.
 
std::string file_extension = ".dcm"
 File extension for DICOM files.
 

Detailed Description

Configuration for file_storage.

Examples
store_scp/main.cpp.

Definition at line 66 of file file_storage.h.

Member Data Documentation

◆ create_directories

bool kcenon::pacs::storage::file_storage_config::create_directories = true

Create directories automatically if they don't exist.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/file_storage.h, and store_scp/main.cpp.

Definition at line 77 of file file_storage.h.

Referenced by kcenon::pacs::storage::file_storage::file_storage().

◆ duplicate

duplicate_policy kcenon::pacs::storage::file_storage_config::duplicate = duplicate_policy::reject

How to handle duplicate instances.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/file_storage.h, and store_scp/main.cpp.

Definition at line 74 of file file_storage.h.

◆ file_extension

std::string kcenon::pacs::storage::file_storage_config::file_extension = ".dcm"

File extension for DICOM files.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/file_storage.h.

Definition at line 80 of file file_storage.h.

◆ naming

naming_scheme kcenon::pacs::storage::file_storage_config::naming = naming_scheme::uid_hierarchical

◆ root_path

std::filesystem::path kcenon::pacs::storage::file_storage_config::root_path

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