#include "podio/CollectionBase.h"
#include "podio/GenericParameters.h"
#include "podio/SIOBlock.h"
#include <sio/api.h>
#include <sio/compression/zlib.h>
#include <sio/definitions.h>
#include <string_view>
#include <utility>
Go to the source code of this file.
|
std::pair< sio::buffer, sio::record_info > | podio::sio_utils::readRecord (sio::ifstream &stream, bool decompress=true, std::size_t initBufferSize=sio::mbyte) |
| Read the record into a buffer and potentially uncompress it.
|
|
std::shared_ptr< SIOCollectionIDTableBlock > | podio::sio_utils::createCollIDBlock (const std::vector< StoreCollection > &collections, const podio::CollectionIDTable &collIdTable) |
| Create the collection ID block from the passed collections.
|
|
sio::block_list | podio::sio_utils::createBlocks (const std::vector< StoreCollection > &collections, const podio::GenericParameters ¶meters) |
| Create all blocks to store the passed collections and parameters into a record.
|
|
sio::ifstream::pos_type | podio::sio_utils::writeRecord (const sio::block_list &blocks, const std::string &recordName, sio::ofstream &stream, std::size_t initBufferSize=sio::mbyte, bool compress=true) |
| Write the passed record and return where it starts in the file.
|
|
◆ PODIO_SIO_UTILS_H
#define PODIO_SIO_UTILS_H |