Public Member Functions | Public Attributes | Static Public Attributes | List of all members
art::FileIndex::Element Class Reference

#include <FileIndex.h>

Public Member Functions

 Element ()=default
 
 Element (EventID const &eID)
 
 Element (EventID const &eID, EntryNumber_t const entry)
 
EntryType getEntryType () const
 

Public Attributes

EventID eventID_ {}
 
EntryNumber_t entry_ {invalidEntry}
 

Static Public Attributes

static constexpr EntryNumber_t invalidEntry {-1}
 

Detailed Description

Definition at line 54 of file FileIndex.h.

Constructor & Destructor Documentation

art::FileIndex::Element::Element ( )
default
art::FileIndex::Element::Element ( EventID const &  eID)

Definition at line 34 of file FileIndex.cc.

34  : Element(eID, invalidEntry)
35  {}
static constexpr EntryNumber_t invalidEntry
Definition: FileIndex.h:57
art::FileIndex::Element::Element ( EventID const &  eID,
EntryNumber_t const  entry 
)

Definition at line 37 of file FileIndex.cc.

38  : eventID_{eID}, entry_{entry}
39  {}
QList< Entry > entry
EntryNumber_t entry_
Definition: FileIndex.h:72

Member Function Documentation

FileIndex::EntryType art::FileIndex::Element::getEntryType ( ) const

Definition at line 42 of file FileIndex.cc.

43  {
44  return eventID_.isValid() ?
45  kEvent :
47  }
bool isValid() const
Definition: EventID.h:122
SubRunID const & subRunID() const
Definition: EventID.h:104
bool isValid() const
Definition: SubRunID.h:95

Member Data Documentation

EntryNumber_t art::FileIndex::Element::entry_ {invalidEntry}

Definition at line 72 of file FileIndex.h.

EventID art::FileIndex::Element::eventID_ {}

Definition at line 70 of file FileIndex.h.

FileIndex::EntryNumber_t constexpr art::FileIndex::Element::invalidEntry {-1}
static

Definition at line 57 of file FileIndex.h.


The documentation for this class was generated from the following files: