Represents configuration version.
More...
#include <ConfigVersion.hpp>
|
| Version (const std::string &id, const std::string &user, std::time_t ts, const std::string &comment, const std::vector< std::string > &files) noexcept |
|
const std::string & | get_id () const noexcept |
|
const std::string & | get_user () const noexcept |
|
std::time_t | get_timestamp () const noexcept |
|
const std::string & | get_comment () const noexcept |
|
const std::vector< std::string > & | get_files () const noexcept |
|
Represents configuration version.
The objects are created by the Configuration::get_versions() and Configuration::get_changes() methods.
Definition at line 25 of file ConfigVersion.hpp.
◆ QueryType
Enumerator |
---|
query_by_date | |
query_by_id | |
query_by_tag | |
Definition at line 33 of file ConfigVersion.hpp.
◆ Version()
dunedaq::conffwk::Version::Version |
( |
const std::string & | id, |
|
|
const std::string & | user, |
|
|
std::time_t | ts, |
|
|
const std::string & | comment, |
|
|
const std::vector< std::string > & | files ) |
|
inlinenoexcept |
Definition at line 39 of file ConfigVersion.hpp.
39 :
41 {
42 ;
43 }
std::vector< std::string > m_files
PDS Frame with unphysical timestamp detected with ts
◆ get_comment()
const std::string & dunedaq::conffwk::Version::get_comment |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_files()
const std::vector< std::string > & dunedaq::conffwk::Version::get_files |
( |
| ) |
const |
|
inlinenoexcept |
The files modified in this version.
- Returns
- the modified files
Definition at line 92 of file ConfigVersion.hpp.
◆ get_id()
const std::string & dunedaq::conffwk::Version::get_id |
( |
| ) |
const |
|
inlinenoexcept |
The version unique ID is a repository hash (GIT SHA).
- Returns
- version unique ID
Definition at line 52 of file ConfigVersion.hpp.
◆ get_timestamp()
std::time_t dunedaq::conffwk::Version::get_timestamp |
( |
| ) |
const |
|
inlinenoexcept |
The timestamp (in seconds since Epoch) when commit was made.
- Returns
- timestamp
Definition at line 72 of file ConfigVersion.hpp.
◆ get_user()
const std::string & dunedaq::conffwk::Version::get_user |
( |
| ) |
const |
|
inlinenoexcept |
◆ Configuration
◆ ConfigurationImpl
◆ m_comment
std::string dunedaq::conffwk::Version::m_comment |
|
private |
◆ m_files
std::vector<std::string> dunedaq::conffwk::Version::m_files |
|
private |
◆ m_id
std::string dunedaq::conffwk::Version::m_id |
|
private |
◆ m_timestamp
std::time_t dunedaq::conffwk::Version::m_timestamp |
|
private |
◆ m_user
std::string dunedaq::conffwk::Version::m_user |
|
private |
The documentation for this class was generated from the following file: