1 #ifndef canvas_Persistency_Provenance_SubRunID_h 2 #define canvas_Persistency_Provenance_SubRunID_h 16 std::ostream&
operator<<(std::ostream& os, SubRunID
const& iID);
115 <<
"cannot increment invalid subrun number.";
133 <<
"cannot decrement invalid subrun number.";
192 return !(*
this ==
other);
212 return (*
this < other) || (*
this ==
other);
218 return (other < *
this);
224 return !(*
this <
other);
246 <<
"Attempt to construct SubRunID with an invalid number.\n" 247 <<
"Maybe you want SubRunID::flushSubRun()?\n";
257 <<
"SubRunID is not meaningful with valid subRun and invalid Run.\n";
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
RunID const & runID() const
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
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
static constexpr SubRunID flushSubRun() noexcept
SubRunID previous() const
static SubRunID invalidSubRun(RunID const &rID)
SubRunNumber_t inRangeOrInvalid(SubRunNumber_t sr)
constexpr SubRunID() noexcept
SubRunNumber_t subRun() const
static SubRunID maxSubRun()
bool operator<(SubRunID const &other) const
IDNumber_t< Level::Run > RunNumber_t