#include <FileIndex.h>
Classes | |
class | Element |
struct | Transients |
Public Types | |
typedef std::vector< Element > ::const_iterator | const_iterator |
typedef long long | EntryNumber_t |
enum | EntryType { kRun, kLumi, kEvent, kEnd } |
typedef std::vector< Element > ::iterator | iterator |
enum | SortState { kNotSorted, kSorted_Run_Lumi_Event, kSorted_Run_Lumi_EventEntry } |
Private Member Functions | |
bool & | allInEntryOrder () const |
bool & | resultCached () const |
SortState & | sortState () const |
Private Attributes | |
std::vector< Element > | entries_ |
Transients | transient_ |
Definition at line 20 of file FileIndex.h.
typedef std::vector<Element>::const_iterator edm::FileIndex::const_iterator |
Definition at line 53 of file FileIndex.h.
typedef long long edm::FileIndex::EntryNumber_t |
Definition at line 23 of file FileIndex.h.
typedef std::vector<Element>::iterator edm::FileIndex::iterator |
Definition at line 55 of file FileIndex.h.
Enumerator | |
---|---|
kRun | |
kLumi | |
kEvent | |
kEnd |
Definition at line 30 of file FileIndex.h.
Enumerator | |
---|---|
kNotSorted | |
kSorted_Run_Lumi_Event | |
kSorted_Run_Lumi_EventEntry |
Definition at line 116 of file FileIndex.h.
edm::FileIndex::FileIndex | ( | ) |
Definition at line 10 of file FileIndex.cc.
|
inline |
Definition at line 26 of file FileIndex.h.
void edm::FileIndex::addEntry | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event, | ||
EntryNumber_t | entry | ||
) |
Definition at line 29 of file FileIndex.cc.
bool edm::FileIndex::allEventsInEntryOrder | ( | ) | const |
Definition at line 47 of file FileIndex.cc.
|
inlineprivate |
Definition at line 130 of file FileIndex.h.
References edm::FileIndex::Transients::allInEntryOrder_, and transient_.
|
inline |
|
inline |
|
inline |
Definition at line 84 of file FileIndex.h.
References entries_, and findEventPosition().
Referenced by containsItem().
|
inline |
Definition at line 79 of file FileIndex.h.
References containsEvent(), containsLumi(), and containsRun().
|
inline |
Definition at line 89 of file FileIndex.h.
References entries_, and findLumiPosition().
Referenced by containsItem().
|
inline |
Definition at line 94 of file FileIndex.h.
References entries_, and findRunPosition().
Referenced by containsItem().
|
inline |
Definition at line 112 of file FileIndex.h.
References entries_.
Referenced by fwlite::EntryFinder::empty().
|
inline |
Definition at line 100 of file FileIndex.h.
References entries_.
Referenced by fwlite::EntryFinder::findEvent(), fwlite::EntryFinder::findLumi(), and fwlite::EntryFinder::findRun().
|
inline |
FileIndex::const_iterator edm::FileIndex::findEventEntryPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event, | ||
EntryNumber_t | entry | ||
) | const |
Definition at line 162 of file FileIndex.cc.
FileIndex::const_iterator edm::FileIndex::findEventPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event | ||
) | const |
Definition at line 91 of file FileIndex.cc.
Referenced by containsEvent(), and fwlite::EntryFinder::findEvent().
FileIndex::const_iterator edm::FileIndex::findLumiOrRunPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi | ||
) | const |
Definition at line 152 of file FileIndex.cc.
FileIndex::const_iterator edm::FileIndex::findLumiPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi | ||
) | const |
Definition at line 120 of file FileIndex.cc.
Referenced by containsLumi(), and fwlite::EntryFinder::findLumi().
FileIndex::const_iterator edm::FileIndex::findPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi = 0U , |
||
EventNumber_t | event = 0U |
||
) | const |
Definition at line 67 of file FileIndex.cc.
FileIndex::const_iterator edm::FileIndex::findRunPosition | ( | RunNumber_t | run | ) | const |
Definition at line 136 of file FileIndex.cc.
Referenced by containsRun(), and fwlite::EntryFinder::findRun().
|
inline |
Definition at line 118 of file FileIndex.h.
References edm::FileIndex::Transients::reset(), and transient_.
|
inlineprivate |
Definition at line 131 of file FileIndex.h.
References edm::FileIndex::Transients::resultCached_, and transient_.
|
inline |
void edm::FileIndex::sortBy_Run_Lumi_Event | ( | ) |
Definition at line 35 of file FileIndex.cc.
void edm::FileIndex::sortBy_Run_Lumi_EventEntry | ( | ) |
Definition at line 41 of file FileIndex.cc.
|
inlineprivate |
Definition at line 132 of file FileIndex.h.
References edm::FileIndex::Transients::sortState_, and transient_.
|
private |
Definition at line 134 of file FileIndex.h.
Referenced by begin(), containsEvent(), containsLumi(), containsRun(), empty(), end(), erase(), and size().
|
mutableprivate |
Definition at line 135 of file FileIndex.h.
Referenced by allInEntryOrder(), initializeTransients(), resultCached(), and sortState().