#include <ParameterSetID.h>
Definition at line 23 of file ParameterSetID.h.
ParameterSetID::ParameterSetID |
( |
| ) |
|
|
noexcept |
Definition at line 25 of file ParameterSetID.cc.
static constexpr double ps
void reset(ParameterSet const &)
ParameterSetID::ParameterSetID |
( |
std::string const & |
id | ) |
|
|
explicit |
Definition at line 30 of file ParameterSetID.cc.
34 for (
size_t i = 0,
e =
id_.size(); i !=
e; ++i) {
35 id_[i] = std::stoi(
id.substr(i * 2, 2),
nullptr, 16);
39 <<
"ParameterSetID construction failure: " <<
id 42 }
else if (
id.
empty()) {
46 <<
"Attempt to construct ParameterSetID from inappropriate input: " <<
id std::string to_string() const
static constexpr std::size_t max_str_size() noexcept
constexpr sha1::digest_t invalid_id
cet::coded_exception< error, detail::translate > exception
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
void ParameterSetID::invalidate |
( |
| ) |
|
|
noexcept |
bool ParameterSetID::is_valid |
( |
| ) |
const |
|
noexcept |
constexpr std::size_t fhicl::ParameterSetID::max_str_size |
( |
| ) |
|
|
inlinestaticnoexcept |
Definition at line 82 of file ParameterSetID.cc.
84 auto const& hash =
ps.to_string();
85 sha1 sha{hash.c_str()};
static constexpr double ps
string ParameterSetID::to_string |
( |
| ) |
const |
Definition at line 60 of file ParameterSetID.cc.
62 std::ostringstream oss;
66 for (
unsigned int const num :
id_) {
QTextStream & hex(QTextStream &s)
Q_EXPORT QTSManip setw(int w)
Q_EXPORT QTSManip setfill(int f)
bool fhicl::ParameterSetID::valid_ |
|
private |
The documentation for this class was generated from the following files: