#include <FileIndex.h>
Classes | |
struct | Element |
struct | Transients |
Public Types | |
enum | EntryType { kRun, kSubRun, kEvent, kEnd } |
enum | SortState { kNotSorted, kSorted_Run_SubRun_Event, kSorted_Run_SubRun_EventEntry } |
using | EntryNumber_t = long long |
using | const_iterator = std::vector< Element >::const_iterator |
using | iterator = std::vector< Element >::iterator |
Private Member Functions | |
bool & | allInEntryOrder () const |
bool & | resultCached () const |
SortState & | sortState () const |
const_iterator | findEventForUnspecifiedSubRun (EventID const &eID, bool exact) const |
Private Attributes | |
std::vector< Element > | entries_ {} |
Transient< Transients > | transients_ {} |
Friends | |
bool | operator== (FileIndex const &, FileIndex const &) |
Definition at line 39 of file FileIndex.h.
Definition at line 63 of file FileIndex.h.
using art::FileIndex::EntryNumber_t = long long |
Definition at line 41 of file FileIndex.h.
using art::FileIndex::iterator = std::vector<Element>::iterator |
Definition at line 64 of file FileIndex.h.
Enumerator | |
---|---|
kRun | |
kSubRun | |
kEvent | |
kEnd |
Definition at line 43 of file FileIndex.h.
Enumerator | |
---|---|
kNotSorted | |
kSorted_Run_SubRun_Event | |
kSorted_Run_SubRun_EventEntry |
Definition at line 66 of file FileIndex.h.
void art::FileIndex::addEntry | ( | EventID const & | eID, |
EntryNumber_t | entry | ||
) |
Definition at line 134 of file FileIndex.cc.
void art::FileIndex::addEntryOnLoad | ( | EventID const & | eID, |
EntryNumber_t | entry | ||
) |
Definition at line 142 of file FileIndex.cc.
bool art::FileIndex::allEventsInEntryOrder | ( | ) | const |
Definition at line 165 of file FileIndex.cc.
|
private |
Definition at line 98 of file FileIndex.cc.
FileIndex::iterator art::FileIndex::begin | ( | ) |
Definition at line 50 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::begin | ( | ) | const |
Definition at line 56 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::cbegin | ( | ) | const |
Definition at line 62 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::cend | ( | ) | const |
Definition at line 80 of file FileIndex.cc.
Definition at line 116 of file FileIndex.cc.
Definition at line 122 of file FileIndex.cc.
Definition at line 128 of file FileIndex.cc.
bool art::FileIndex::empty | ( | ) | const |
Definition at line 92 of file FileIndex.cc.
FileIndex::iterator art::FileIndex::end | ( | ) |
Definition at line 68 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::end | ( | ) | const |
Definition at line 74 of file FileIndex.cc.
bool art::FileIndex::eventsUniqueAndOrdered | ( | ) | const |
Definition at line 186 of file FileIndex.cc.
|
private |
Definition at line 347 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::findPosition | ( | EventID const & | eID | ) | const |
Definition at line 227 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::findPosition | ( | EventID const & | eID, |
bool | exact | ||
) | const |
Definition at line 235 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::findPosition | ( | SubRunID const & | srID, |
bool | exact | ||
) | const |
Definition at line 256 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::findPosition | ( | RunID const & | rID, |
bool | exact | ||
) | const |
Definition at line 281 of file FileIndex.cc.
FileIndex::const_iterator art::FileIndex::findSubRunOrRunPosition | ( | SubRunID const & | srID | ) | const |
Definition at line 306 of file FileIndex.cc.
void art::FileIndex::print_event_list | ( | std::ostream & | os | ) | const |
Definition at line 325 of file FileIndex.cc.
|
private |
Definition at line 104 of file FileIndex.cc.
std::vector< FileIndex::Element >::size_type art::FileIndex::size | ( | ) | const |
Definition at line 86 of file FileIndex.cc.
void art::FileIndex::sortBy_Run_SubRun_Event | ( | ) |
Definition at line 149 of file FileIndex.cc.
void art::FileIndex::sortBy_Run_SubRun_EventEntry | ( | ) |
Definition at line 157 of file FileIndex.cc.
|
private |
Definition at line 110 of file FileIndex.cc.
Definition at line 451 of file FileIndex.cc.
|
private |
Definition at line 126 of file FileIndex.h.
|
mutableprivate |
Definition at line 127 of file FileIndex.h.