LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ParameterSetID.h"
Public Member Functions | |
ParameterSetID () | |
ParameterSetID (ParameterSet const &) | |
ParameterSetID (std::string const &id) | |
bool | is_valid () const |
std::string | to_string () const |
void | invalidate () |
void | reset (ParameterSet const &) |
void | swap (ParameterSetID &) |
bool | operator== (ParameterSetID const &) const |
bool | operator!= (ParameterSetID const &) const |
bool | operator< (ParameterSetID const &) const |
bool | operator> (ParameterSetID const &) const |
bool | operator<= (ParameterSetID const &) const |
bool | operator>= (ParameterSetID const &) const |
Static Public Member Functions | |
static std::size_t | max_str_size () |
Private Attributes | |
bool | valid_ |
cet::sha1::digest_t | id_ |
Definition at line 23 of file ParameterSetID.h.
ParameterSetID::ParameterSetID | ( | ) |
Definition at line 31 of file ParameterSetID.cc.
|
explicit |
|
explicit |
Definition at line 38 of file ParameterSetID.cc.
References fhicl::cant_happen, e, id_, invalid_id_(), fhicl::parse_error, to_string(), and valid_.
void ParameterSetID::invalidate | ( | ) |
bool ParameterSetID::is_valid | ( | ) | const |
Definition at line 62 of file ParameterSetID.cc.
References valid_.
|
inlinestatic |
Definition at line 57 of file ParameterSetID.h.
Referenced by fhicl::dbid_parser::parse(), and fhicl::ParameterSet::stringify_().
bool ParameterSetID::operator!= | ( | ParameterSetID const & | other | ) | const |
bool ParameterSetID::operator< | ( | ParameterSetID const & | other | ) | const |
bool ParameterSetID::operator<= | ( | ParameterSetID const & | other | ) | const |
bool ParameterSetID::operator== | ( | ParameterSetID const & | other | ) | const |
bool ParameterSetID::operator> | ( | ParameterSetID const & | other | ) | const |
bool ParameterSetID::operator>= | ( | ParameterSetID const & | other | ) | const |
void ParameterSetID::reset | ( | ParameterSet const & | ps | ) |
Definition at line 86 of file ParameterSetID.cc.
References id_, fhicl::ParameterSet::to_string(), and valid_.
Referenced by fhicl::ParameterSet::id(), and ParameterSetID().
void ParameterSetID::swap | ( | ParameterSetID & | other | ) |
Definition at line 95 of file ParameterSetID.cc.
References id_, std::swap(), and valid_.
Referenced by art::TriggerResults::swap().
string ParameterSetID::to_string | ( | ) | const |
Definition at line 68 of file ParameterSetID.cc.
Referenced by fhicl::decompose_parameterset(), fhicl::operator<<(), and ParameterSetID().
|
private |
Definition at line 52 of file ParameterSetID.h.
Referenced by invalidate(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), ParameterSetID(), reset(), swap(), and to_string().
|
private |
Definition at line 51 of file ParameterSetID.h.
Referenced by invalidate(), is_valid(), ParameterSetID(), reset(), and swap().