File SIOFrameWriter.h

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

Public Functions

SIOFrameWriter(const std::string &filename)
~SIOFrameWriter()
SIOFrameWriter(const SIOFrameWriter&) = delete
SIOFrameWriter &operator=(const SIOFrameWriter&) = 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?