1#ifndef PODIO_SIOFRAMEDATA_H
2#define PODIO_SIOFRAMEDATA_H
10#include <sio/definitions.h>
42 SIOFrameData(sio::buffer&& collBuffers, std::size_t dataSize, sio::buffer&& tableBuffer, std::size_t tableSize) :
43 m_recBuffer(std::move(collBuffers)),
44 m_tableBuffer(std::move(tableBuffer)),
46 m_tableSize(tableSize) {
52 if (m_idTable.
empty()) {
55 return {m_idTable.
ids(), m_idTable.
names()};
71 sio::buffer m_recBuffer{sio::kbyte};
72 sio::buffer m_tableBuffer{sio::kbyte};
74 std::size_t m_dataSize{};
75 std::size_t m_tableSize{};
77 std::vector<short> m_availableBlocks{};
79 sio::block_list m_blocks{};
82 std::vector<std::string> m_typeNames{};
83 std::vector<short> m_subsetCollectionBits{};
bool empty() const
Does this table hold any information?
const std::vector< int > & ids() const
return the ids
const std::vector< std::string > & names() const
return registered names
std::unique_ptr< podio::GenericParameters > getParameters()
SIOFrameData(sio::buffer &&collBuffers, std::size_t dataSize, sio::buffer &&tableBuffer, std::size_t tableSize)
SIOFrameData(SIOFrameData &&)=default
podio::CollectionIDTable getIDTable()
SIOFrameData & operator=(SIOFrameData &&)=default
std::vector< std::string > getAvailableCollections()
SIOFrameData & operator=(const SIOFrameData &)=delete
std::optional< podio::CollectionReadBuffers > getCollectionBuffers(const std::string &name)
SIOFrameData(const SIOFrameData &)=delete