File SIOWriter.h

namespace podio
class SIOWriter
#include <podio/SIOWriter.h>

Public Functions

SIOWriter(const std::string &filename)
~SIOWriter()
SIOWriter(const SIOWriter&) = delete
SIOWriter &operator=(const SIOWriter&) = delete
void writeFrame(const podio::Frame &frame, const std::string &category)

Write the given Frame with the given category.

void writeFrame(const podio::Frame &frame, const std::string &category, const std::vector<std::string> &collsToWrite)

Write the given Frame with the given category only storing the collections that are desired via collsToWrite.

void finish()

Private Members

sio::ofstream m_stream = {}

The output file stream.

SIOFileTOCRecord m_tocRecord = {}

The “table of contents” of the written file.

DatamodelDefinitionCollector m_datamodelCollector = {}
bool m_finished = {false}

Has finish been called already?