1 #ifndef canvas_Persistency_Provenance_SubRunID_h 2 #define canvas_Persistency_Provenance_SubRunID_h 14 std::ostream&
operator<<(std::ostream& os, SubRunID
const& iID);
30 SubRunID
next()
const;
45 bool operator<(SubRunID
const& other)
const;
47 bool operator>(SubRunID
const& other)
const;
50 friend std::ostream&
operator<<(std::ostream& os, SubRunID
const& iID);
114 <<
"cannot increment invalid subrun number.";
132 <<
"cannot decrement invalid subrun number.";
191 return !(*
this ==
other);
211 return (*
this < other) || (*
this ==
other);
217 return (other < *
this);
223 return !(*
this <
other);
245 #pragma clang diagnostic push
246 #pragma clang diagnostic ignored
"-Wtautological-compare" 250 #pragma clang diagnostic pop
256 <<
"Attempt to construct SubRunID with an invalid number.\n" 257 <<
"Maybe you want SubRunID::flushSubRun()?\n";
266 <<
"SubRunID is not meaningful with valid subRun and invalid Run.\n";
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
bool operator>=(SubRunID const &other) const
bool operator==(SubRunID const &other) const
friend std::ostream & operator<<(std::ostream &os, SubRunID const &iID)
SubRunID previousRun() const
bool operator>(SubRunID const &other) const
static constexpr SubRunID flushSubRun()
RunID const & runID() const
bool operator!=(SubRunID const &other) const
IDNumber_t< Level::SubRun > SubRunNumber_t
bool operator<=(SubRunID const &other) const
static SubRunID firstSubRun()
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
SubRunID previous() const
static SubRunID invalidSubRun(RunID const &rID)
SubRunNumber_t inRangeOrInvalid(SubRunNumber_t sr)
SubRunNumber_t subRun() const
static SubRunID maxSubRun()
bool operator<(SubRunID const &other) const
IDNumber_t< Level::Run > RunNumber_t