DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
The comment about file modification. A comment can be added when user saves file using OKS tools. More...
#include <file.hpp>
Public Member Functions | |
const std::string & | get_created_by () const |
const std::string & | get_author () const |
const std::string & | get_created_on () const |
const std::string & | get_text () const |
void | validate (const std::string &creation_time) |
void | validate () |
Private Member Functions | |
Comment () noexcept | |
Comment (const std::string &text, const std::string &author) | |
Comment (const oks::Comment &src) noexcept | |
Private Attributes | |
std::string | p_created_by |
std::string | p_author |
std::string | p_created_on |
std::string | p_text |
Friends | |
class | OksFile |
The comment about file modification. A comment can be added when user saves file using OKS tools.
|
inlineprivatenoexcept |
|
private |
The constructor creates new comment from text. Only OksFile is allowed to create comments.
Throw | std::exception in case of problems. |
Definition at line 651 of file file.cpp.
|
privatenoexcept |
The copy constructor. Only OksFile is allowed to create comments.
Definition at line 660 of file file.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
void dunedaq::oks::oks::Comment::validate | ( | ) |
void dunedaq::oks::oks::Comment::validate | ( | const std::string & | creation_time | ) |
Parse creation time-stamp and validate text.
Throw | std::exception in case of problems. |
Definition at line 631 of file file.cpp.