KaliVeda
Toolkit for HIC analysis
KVDataRepository::PathConcatenator Struct Reference

Detailed Description

Definition at line 145 of file KVDataRepository.h.

Public Member Functions

 PathConcatenator (const TString &_root)
 
template<typename ExistCheck , typename MakeDir , typename... Strings>
void ensure_full_path_exists (ExistCheck ec, MakeDir md, const TString &path, const Strings &... others)
 
template<typename ExistCheck , typename MakeDir >
void ensure_full_path_exists (ExistCheck, MakeDir) const
 
TString get_full_path () const
 
template<typename... Strings>
TString get_full_path (const TString &path, const Strings &... others)
 

Public Attributes

TString root_dir
 

Constructor & Destructor Documentation

◆ PathConcatenator()

KVDataRepository::PathConcatenator::PathConcatenator ( const TString _root)
inline

Definition at line 147 of file KVDataRepository.h.

Member Function Documentation

◆ ensure_full_path_exists() [1/2]

template<typename ExistCheck , typename MakeDir , typename... Strings>
void KVDataRepository::PathConcatenator::ensure_full_path_exists ( ExistCheck  ec,
MakeDir  md,
const TString path,
const Strings &...  others 
)
inline

if path does not exist, create it

Definition at line 165 of file KVDataRepository.h.

◆ ensure_full_path_exists() [2/2]

template<typename ExistCheck , typename MakeDir >
void KVDataRepository::PathConcatenator::ensure_full_path_exists ( ExistCheck  ,
MakeDir   
) const
inline

Definition at line 163 of file KVDataRepository.h.

◆ get_full_path() [1/2]

TString KVDataRepository::PathConcatenator::get_full_path ( ) const
inline

Definition at line 148 of file KVDataRepository.h.

◆ get_full_path() [2/2]

template<typename... Strings>
TString KVDataRepository::PathConcatenator::get_full_path ( const TString path,
const Strings &...  others 
)
inline

Definition at line 153 of file KVDataRepository.h.

Member Data Documentation

◆ root_dir

TString KVDataRepository::PathConcatenator::root_dir

Definition at line 146 of file KVDataRepository.h.