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

#include <LCIORecords.h>

Static Public Member Functions

static void readBlocks (const sio::buffer_span &buffer, EVENT::LCRunHeader *rhdr)
 Read the block(s) from the sio buffer and decode a run header. More...
 
static void writeRecord (sio::buffer &outbuf, EVENT::LCRunHeader *rhdr, sio::record_info &rec_info, sio::options_type opts=0)
 Write a run header record to the sio buffer. More...
 

Private Member Functions

 SIORunHeaderRecord ()=delete
 

Detailed Description

Definition at line 121 of file LCIORecords.h.

Constructor & Destructor Documentation

SIO::SIORunHeaderRecord::SIORunHeaderRecord ( )
privatedelete

Member Function Documentation

void SIO::SIORunHeaderRecord::readBlocks ( const sio::buffer_span &  buffer,
EVENT::LCRunHeader rhdr 
)
static

Read the block(s) from the sio buffer and decode a run header.

Parameters
bufferthe input sio buffer to decode
rhdrthe run header to read

Definition at line 95 of file LCIORecords.cc.

Referenced by MT::LCReader::readNextRunHeader(), MT::LCReader::readStream(), and SIO::LCIORandomAccessMgr::recreateEventMap().

void SIO::SIORunHeaderRecord::writeRecord ( sio::buffer &  outbuf,
EVENT::LCRunHeader rhdr,
sio::record_info &  rec_info,
sio::options_type  opts = 0 
)
static

Write a run header record to the sio buffer.

Parameters
outbufthe sio buffer to write the record to
rhdrthe run header to write
rec_infothe record infor to receive from sio
optsan optional word with encoded options

Definition at line 105 of file LCIORecords.cc.

References SIO::LCSIO::RunRecordName.

Referenced by SIO::SIOWriter::writeRunHeader(), and MT::LCWriter::writeRunHeader().


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