Public Member Functions | Public Attributes | Static Public Attributes | List of all members
art::FileIndex::Element Struct 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 {invalid}
 

Static Public Attributes

static constexpr EntryNumber_t invalid {-1}
 

Detailed Description

Definition at line 50 of file FileIndex.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file FileIndex.cc.

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

Definition at line 37 of file FileIndex.cc.

39  : eventID{eID}, entry{entryNumber}
40  {}
EntryNumber_t entry
Definition: FileIndex.h:60

Member Function Documentation

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

Definition at line 43 of file FileIndex.cc.

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

Member Data Documentation

EntryNumber_t art::FileIndex::Element::entry {invalid}

Definition at line 60 of file FileIndex.h.

EventID art::FileIndex::Element::eventID {}

Definition at line 59 of file FileIndex.h.

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

Definition at line 51 of file FileIndex.h.


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