#include <HanRuntimeConfigSingleton.h>
Definition at line 14 of file HanRuntimeConfigSingleton.h.
◆ HanRuntimeConfigSingleton() [1/3]
| dqi::HanRuntimeConfigSingleton::HanRuntimeConfigSingleton |
( |
| ) |
|
|
privatedefault |
◆ ~HanRuntimeConfigSingleton()
| dqi::HanRuntimeConfigSingleton::~HanRuntimeConfigSingleton |
( |
| ) |
|
|
privatedefault |
◆ HanRuntimeConfigSingleton() [2/3]
◆ HanRuntimeConfigSingleton() [3/3]
◆ getInstance()
◆ getPath()
| const std::string & dqi::HanRuntimeConfigSingleton::getPath |
( |
| ) |
const |
|
inlineconstexpr |
◆ getPathRunNumber()
| uint32_t dqi::HanRuntimeConfigSingleton::getPathRunNumber |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ parsePathRunNumber()
| void dqi::HanRuntimeConfigSingleton::parsePathRunNumber |
( |
| ) |
|
|
private |
Definition at line 26 of file HanRuntimeConfigSingleton.cxx.
28 {
30 while ( !
path.empty() &&
path.front() ==
'/' )
path.remove_prefix( 1 );
31 while ( !
path.empty() &&
path.back() ==
'/' )
path.remove_suffix( 1 );
32 if (
path.empty() )
return;
33
34 using std::operator
""sv;
35
36 if (
path.substr( 0, 4 ) !=
"run_"sv )
return;
37 path.remove_prefix( 4 );
41 if ( err != std::errc() && ptr != end )
m_runNumber = 0;
42 }
path
python interpreter configuration --------------------------------------—
◆ pathIsRunDirectory()
| bool dqi::HanRuntimeConfigSingleton::pathIsRunDirectory |
( |
| ) |
const |
|
inlineconstexpr |
◆ setPath()
◆ m_path
| std::string dqi::HanRuntimeConfigSingleton::m_path |
|
private |
◆ m_runNumber
| uint32_t dqi::HanRuntimeConfigSingleton::m_runNumber = 0 |
|
private |
The documentation for this class was generated from the following files: