8 #include <sio/io_device.h>
9 #include <sio/version.h>
14 sio::block(
LCSIO::AccessBlockName,
LCSIO::blockVersion() ),
48 SIO_SDATA( device, recSize ) ;
67 SIO_SDATA( device, recSize ) ;
std::shared_ptr< LCIORandomAccess > _randomAccess
The random access object to read / write.
static constexpr int RandomAccessSize
void write(sio::write_device &device) override
std::shared_ptr< LCIORandomAccess > randomAccess() const
Get the random access object to read or write.
static void checkVersion(sio::version_type versionID)
Check for old version of LCIO (> v01-08 ar no longer supported) Throws an exception if not supported...
Collection of constants and helper functions.
Implementation class for LCIORandomAccess records.
SIORandomAccessHandler()
Constructor.
void setRandomAccess(std::shared_ptr< LCIORandomAccess > ra)
Set the random access object to read or write.
void read(sio::read_device &device, sio::version_type vers) override