Thrill  0.1
ThrillOutputArchive< Writer > Class Template Reference

Detailed Description

template<typename Writer>
class thrill::data::serialization_cereal::ThrillOutputArchive< Writer >

An output archive designed to save data in a compact binary representation.

Originally cereal::BinaryOutputArchive, adapted for thrill BlockWriter interface.

Definition at line 72 of file serialization_cereal.hpp.

Inherits OutputArchive< ThrillOutputArchive< Writer >, cereal::AllowEmptyClassElision >.

#include <serialization_cereal.hpp>

Public Member Functions

 ThrillOutputArchive (Writer &writer)
 Construct, outputting to the provided thrill writer. More...
void saveBinary (const void *data, std::size_t size)
 Writes size bytes of data to the thrill writer. More...

Private Attributes

Writer & writer_

Constructor & Destructor Documentation

◆ ThrillOutputArchive()

ThrillOutputArchive ( Writer &  writer)

Construct, outputting to the provided thrill writer.

Definition at line 78 of file serialization_cereal.hpp.

Member Function Documentation

◆ saveBinary()

void saveBinary ( const void *  data,
std::size_t  size 

Writes size bytes of data to the thrill writer.

Definition at line 85 of file serialization_cereal.hpp.

References ThrillOutputArchive< Writer >::writer_.

Referenced by thrill::data::serialization_cereal::CEREAL_SAVE_FUNCTION_NAME().

Member Data Documentation

◆ writer_

Writer& writer_

Definition at line 90 of file serialization_cereal.hpp.

Referenced by ThrillOutputArchive< Writer >::saveBinary().

The documentation for this class was generated from the following file: