LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Private Types | Friends | List of all members
SIO::LCIORandomAccess Class Reference

Implementation class for LCIORandomAccess records. More...

#include <LCIORandomAccess.h>

Public Member Functions

 LCIORandomAccess ()=default
 
 ~LCIORandomAccess ()=default
 
long64 getIndexLocation () const
 Get the random access index location. More...
 
long64 getPrevLocation () const
 Get the previous record location. More...
 
long64 getFirstRecordLocation () const
 Get the first record location. More...
 
void setIndexLocation (long64 il)
 Set the random access index location. More...
 
void setPreviousLocation (long64 pl)
 Set the previous record location. More...
 
void setFirstRecordLocation (long64 fl)
 Set the first record location. More...
 

Protected Attributes

RunEvent _minRunEvt {}
 
RunEvent _maxRunEvt {}
 
int _nRunHeaders {0}
 
int _nEvents {0}
 
int _recordsAreInOrder {0}
 
long64 _indexLocation {0}
 
long64 _prevLocation {0}
 
long64 _nextLocation {0}
 
long64 _firstRecordLocation {0}
 

Private Types

using long64 = RunEvent::long64
 

Friends

class SIORandomAccessHandler
 
class LCIORandomAccessMgr
 
std::ostreamoperator<< (std::ostream &os, const LCIORandomAccess &ra)
 
bool operator< (const LCIORandomAccess &ra0, const LCIORandomAccess &other)
 

Detailed Description

Implementation class for LCIORandomAccess records.

Author
gaede
Version
Id:
LCIORandomAccess.h,v 1.2 2010-06-22 13:49:54 gaede Exp

Definition at line 25 of file LCIORandomAccess.h.

Member Typedef Documentation

Definition at line 26 of file LCIORandomAccess.h.

Constructor & Destructor Documentation

SIO::LCIORandomAccess::LCIORandomAccess ( )
default
SIO::LCIORandomAccess::~LCIORandomAccess ( )
default

Member Function Documentation

LCIORandomAccess::long64 SIO::LCIORandomAccess::getFirstRecordLocation ( ) const

Get the first record location.

Definition at line 44 of file LCIORandomAccess.cc.

References _firstRecordLocation.

LCIORandomAccess::long64 SIO::LCIORandomAccess::getIndexLocation ( ) const

Get the random access index location.

Definition at line 32 of file LCIORandomAccess.cc.

References _indexLocation.

LCIORandomAccess::long64 SIO::LCIORandomAccess::getPrevLocation ( ) const

Get the previous record location.

Definition at line 38 of file LCIORandomAccess.cc.

References _prevLocation.

void SIO::LCIORandomAccess::setFirstRecordLocation ( long64  fl)

Set the first record location.

Definition at line 62 of file LCIORandomAccess.cc.

References _firstRecordLocation.

void SIO::LCIORandomAccess::setIndexLocation ( long64  il)

Set the random access index location.

Definition at line 50 of file LCIORandomAccess.cc.

References _indexLocation.

void SIO::LCIORandomAccess::setPreviousLocation ( long64  pl)

Set the previous record location.

Definition at line 56 of file LCIORandomAccess.cc.

References _prevLocation.

Friends And Related Function Documentation

friend class LCIORandomAccessMgr
friend

Definition at line 28 of file LCIORandomAccess.h.

bool operator< ( const LCIORandomAccess ra0,
const LCIORandomAccess other 
)
friend
std::ostream& operator<< ( std::ostream os,
const LCIORandomAccess ra 
)
friend
friend class SIORandomAccessHandler
friend

Definition at line 27 of file LCIORandomAccess.h.

Member Data Documentation

long64 SIO::LCIORandomAccess::_firstRecordLocation {0}
protected
long64 SIO::LCIORandomAccess::_indexLocation {0}
protected

Definition at line 60 of file LCIORandomAccess.h.

Referenced by getIndexLocation(), SIO::operator<<(), and setIndexLocation().

RunEvent SIO::LCIORandomAccess::_maxRunEvt {}
protected

Definition at line 56 of file LCIORandomAccess.h.

Referenced by SIO::operator<(), and SIO::operator<<().

RunEvent SIO::LCIORandomAccess::_minRunEvt {}
protected

Definition at line 55 of file LCIORandomAccess.h.

Referenced by SIO::operator<(), and SIO::operator<<().

int SIO::LCIORandomAccess::_nEvents {0}
protected

Definition at line 58 of file LCIORandomAccess.h.

Referenced by SIO::operator<<().

long64 SIO::LCIORandomAccess::_nextLocation {0}
protected

Definition at line 62 of file LCIORandomAccess.h.

Referenced by SIO::operator<<().

int SIO::LCIORandomAccess::_nRunHeaders {0}
protected

Definition at line 57 of file LCIORandomAccess.h.

Referenced by SIO::operator<<().

long64 SIO::LCIORandomAccess::_prevLocation {0}
protected

Definition at line 61 of file LCIORandomAccess.h.

Referenced by getPrevLocation(), SIO::operator<<(), and setPreviousLocation().

int SIO::LCIORandomAccess::_recordsAreInOrder {0}
protected

Definition at line 59 of file LCIORandomAccess.h.

Referenced by SIO::operator<<().


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