1#ifndef PODIO_SIOWRITER_H
2#define PODIO_SIOWRITER_H
10#include <sio/definitions.h>
29 void registerForWrite(
const std::string& name);
34 void writeCollectionIDTable();
35 sio::block_list createBlocks()
const;
38 std::string m_filename{};
41 std::shared_ptr<SIOEventMetaDataBlock> m_eventMetaData;
42 sio::ofstream m_stream{};
43 bool m_firstEvent{
true};
45 std::shared_ptr<SIONumberedMetaDataBlock> m_runMetaData;
46 std::shared_ptr<SIONumberedMetaDataBlock> m_collectionMetaData;
47 SIOFileTOCRecord m_tocRecord{};
48 std::vector<std::string> m_collectionsToWrite{};
SIOWriter & operator=(const SIOWriter &)=delete
SIOWriter(const SIOWriter &)=delete