LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "EventRange.h"
Public Member Functions | |
~EventRange () noexcept | |
EventRange () noexcept | |
EventRange (SubRunNumber_t s, EventNumber_t begin, EventNumber_t end) | |
EventRange (EventRange const &) noexcept | |
EventRange (EventRange &&) noexcept | |
EventRange & | operator= (EventRange const &) noexcept |
EventRange & | operator= (EventRange &&) noexcept |
bool | operator< (EventRange const &other) const noexcept |
bool | operator== (EventRange const &other) const noexcept |
bool | operator!= (EventRange const &other) const noexcept |
SubRunNumber_t | subRun () const noexcept |
EventNumber_t | begin () const noexcept |
EventNumber_t | end () const noexcept |
unsigned long long | size () const noexcept |
bool | empty () const noexcept |
bool | is_valid () const noexcept |
bool | is_full_subRun () const noexcept |
bool | contains (SubRunNumber_t s, EventNumber_t e) const noexcept |
bool | is_same (EventRange const &other) const noexcept |
bool | is_adjacent (EventRange const &other) const noexcept |
bool | is_disjoint (EventRange const &other) const noexcept |
bool | is_subset (EventRange const &other) const noexcept |
bool | is_superset (EventRange const &other) const noexcept |
bool | is_overlapping (EventRange const &other) const noexcept |
bool | merge (EventRange const &other) |
void | set_end (EventNumber_t const e) |
Static Public Member Functions | |
static EventRange | invalid () noexcept |
static EventRange | forSubRun (SubRunNumber_t s) noexcept |
static bool | are_valid (EventRange const &l, EventRange const &r) noexcept |
Private Member Functions | |
void | require_not_full_SubRun () const |
Private Attributes | |
SubRunNumber_t | subRun_ {IDNumber<Level::SubRun>::invalid()} |
EventNumber_t | begin_ {IDNumber<Level::Event>::invalid()} |
EventNumber_t | end_ {IDNumber<Level::Event>::invalid()} |
Definition at line 17 of file EventRange.h.
|
defaultnoexcept |
|
explicitdefaultnoexcept |
Referenced by EventRange().
|
explicit |
Definition at line 52 of file EventRange.cc.
References begin_, e, end_, EventRange(), and operator=().
|
defaultnoexcept |
|
defaultnoexcept |
|
staticnoexcept |
Definition at line 44 of file EventRange.cc.
References r.
Referenced by is_adjacent(), is_disjoint(), is_overlapping(), is_same(), is_subset(), is_superset(), and merge().
|
noexcept |
|
noexcept |
Definition at line 136 of file EventRange.cc.
References begin_, e, end_, and subRun_.
Referenced by art::ClosedRangeSetHandler::do_update().
|
noexcept |
Definition at line 99 of file EventRange.cc.
|
noexcept |
Definition at line 111 of file EventRange.cc.
References end_.
Referenced by art::operator<<(), and art::RangeSet::update().
|
staticnoexcept |
Definition at line 37 of file EventRange.cc.
|
staticnoexcept |
Definition at line 30 of file EventRange.cc.
|
noexcept |
Definition at line 152 of file EventRange.cc.
References are_valid(), end_, fhicl::other, and subRun_.
Referenced by art::RangeSet::collapse(), and merge().
|
noexcept |
Definition at line 161 of file EventRange.cc.
References are_valid(), end_, fhicl::other, and subRun_.
Referenced by is_overlapping().
|
noexcept |
Definition at line 129 of file EventRange.cc.
References begin_, end_, art::is_valid(), and subRun_.
Referenced by art::operator<<(), and require_not_full_SubRun().
|
noexcept |
Definition at line 190 of file EventRange.cc.
References are_valid(), is_disjoint(), is_subset(), is_superset(), and fhicl::other.
|
noexcept |
Definition at line 143 of file EventRange.cc.
References are_valid(), operator==(), and fhicl::other.
|
noexcept |
Definition at line 170 of file EventRange.cc.
References are_valid(), begin_, end_, fhicl::other, and subRun_.
Referenced by is_overlapping().
|
noexcept |
Definition at line 180 of file EventRange.cc.
References are_valid(), begin_, end_, fhicl::other, and subRun_.
Referenced by is_overlapping().
|
noexcept |
Definition at line 117 of file EventRange.cc.
References art::is_valid(), and subRun_.
Referenced by size().
bool art::EventRange::merge | ( | EventRange const & | other | ) |
Definition at line 199 of file EventRange.cc.
References are_valid(), end_, is_adjacent(), and require_not_full_SubRun().
Referenced by art::RangeSet::collapse().
|
noexcept |
Definition at line 87 of file EventRange.cc.
References operator==(), and fhicl::other.
|
noexcept |
Definition at line 68 of file EventRange.cc.
References begin_, end_, fhicl::other, and subRun_.
|
defaultnoexcept |
Referenced by EventRange().
|
defaultnoexcept |
|
noexcept |
Definition at line 80 of file EventRange.cc.
References begin_, end_, fhicl::other, and subRun_.
Referenced by is_same(), and operator!=().
|
private |
Definition at line 221 of file EventRange.cc.
References is_full_subRun(), and art::errors::LogicError.
Referenced by merge(), and set_end().
void art::EventRange::set_end | ( | EventNumber_t const | e | ) |
Definition at line 213 of file EventRange.cc.
References begin_, e, end_, and require_not_full_SubRun().
Referenced by art::RangeSet::update().
|
noexcept |
|
noexcept |
Definition at line 93 of file EventRange.cc.
References subRun_.
Referenced by art::operator<<(), and art::RangeSet::update().
|
private |
Definition at line 72 of file EventRange.h.
Referenced by begin(), contains(), empty(), EventRange(), is_full_subRun(), is_subset(), is_superset(), operator<(), operator==(), set_end(), and size().
|
private |
Definition at line 73 of file EventRange.h.
Referenced by contains(), empty(), end(), EventRange(), is_adjacent(), is_disjoint(), is_full_subRun(), is_subset(), is_superset(), merge(), operator<(), operator==(), set_end(), and size().
|
private |
Definition at line 71 of file EventRange.h.
Referenced by contains(), is_adjacent(), is_disjoint(), is_full_subRun(), is_subset(), is_superset(), is_valid(), operator<(), operator==(), and subRun().