LCIO
02.17
|
Handler for LCIOrandomAccess and LCIOIndex objects/blocks. More...
#include <SIORandomAccessHandler.h>
Public Member Functions | |
~SIORandomAccessHandler ()=default | |
SIORandomAccessHandler (const SIORandomAccessHandler &)=delete | |
SIORandomAccessHandler & | operator= (const SIORandomAccessHandler &)=delete |
SIORandomAccessHandler () | |
Constructor. More... | |
void | setRandomAccess (std::shared_ptr< LCIORandomAccess > ra) |
Set the random access object to read or write. More... | |
std::shared_ptr< LCIORandomAccess > | randomAccess () const |
Get the random access object to read or write. More... | |
void | read (sio::read_device &device, sio::version_type vers) override |
void | write (sio::write_device &device) override |
Private Attributes | |
std::shared_ptr< LCIORandomAccess > | _randomAccess {nullptr} |
The random access object to read / write. More... | |
Handler for LCIOrandomAccess and LCIOIndex objects/blocks.
Definition at line 19 of file SIORandomAccessHandler.h.
|
default |
|
delete |
SIO::SIORandomAccessHandler::SIORandomAccessHandler | ( | ) |
Constructor.
Definition at line 13 of file SIORandomAccessHandler.cc.
|
delete |
std::shared_ptr< LCIORandomAccess > SIO::SIORandomAccessHandler::randomAccess | ( | ) | const |
Get the random access object to read or write.
Definition at line 27 of file SIORandomAccessHandler.cc.
References _randomAccess.
|
override |
Definition at line 33 of file SIORandomAccessHandler.cc.
References _randomAccess, and SIO::LCSIO::checkVersion().
void SIO::SIORandomAccessHandler::setRandomAccess | ( | std::shared_ptr< LCIORandomAccess > | ra | ) |
Set the random access object to read or write.
Definition at line 21 of file SIORandomAccessHandler.cc.
References _randomAccess.
|
override |
Definition at line 53 of file SIORandomAccessHandler.cc.
References _randomAccess, and SIO::LCSIO::RandomAccessSize.
|
private |
The random access object to read / write.
Definition at line 40 of file SIORandomAccessHandler.h.
Referenced by randomAccess(), read(), setRandomAccess(), and write().