#include "BranchID.h"
Definition at line 16 of file BranchID.h.
art::BranchID::BranchID |
( |
| ) |
|
|
default |
art::BranchID::BranchID |
( |
std::string const & |
branchName | ) |
|
|
inlineexplicit |
Definition at line 21 of file BranchID.h.
References toID().
static value_type toID(std::string const &branchName)
unsigned int art::BranchID::id |
( |
| ) |
const |
|
inline |
bool art::BranchID::isValid |
( |
| ) |
const |
|
inline |
art::BranchID::operator std::size_t |
( |
| ) |
const |
|
inlineexplicit |
Definition at line 44 of file BranchID.h.
References id_.
46 return static_cast<std::size_t
>(
id_);
bool art::BranchID::operator!= |
( |
BranchID const & |
rh | ) |
const |
|
inline |
bool art::BranchID::operator< |
( |
BranchID const & |
rh | ) |
const |
|
inline |
bool art::BranchID::operator== |
( |
BranchID const & |
rh | ) |
const |
|
inline |
bool art::BranchID::operator> |
( |
BranchID const & |
rh | ) |
const |
|
inline |
void art::BranchID::setID |
( |
std::string const & |
branchName | ) |
|
|
inline |
Definition at line 27 of file BranchID.h.
References id_, and toID().
static value_type toID(std::string const &branchName)
Definition at line 9 of file BranchID.cc.
Referenced by BranchID(), art::BranchID::Hash::operator()(), and setID().
11 auto const check = cet::crc32{branchName}.digest();
12 mf::LogDebug(
"BranchID") <<
"Product created with branch id: " 13 <<
"[" << check <<
"] " 14 <<
"from branch name: " 15 <<
"\"" << branchName <<
"\"";
MaybeLogger_< ELseverityLevel::ELsev_success, false > LogDebug
The documentation for this class was generated from the following files:
- canvas/Persistency/Provenance/Compatibility/BranchID.h
- canvas/Persistency/Provenance/Compatibility/BranchID.cc