pstore2
Classes | Namespaces | Functions
archive.hpp File Reference

The basic archive reader and writer types. More...

#include <cstring>
#include "pstore/serialize/common.hpp"
#include "pstore/support/error.hpp"
Include dependency graph for archive.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pstore::serialize::archive::void_type
 The archiver put() and [optional] putn() methods can optionally return a value to the caller. More...
 
class  pstore::serialize::archive::writer_base< WriterPolicy >
 The base class for archive-writer objects. More...
 
class  pstore::serialize::archive::details::vector_writer_policy
 
class  pstore::serialize::archive::vector_writer
 An archive-writer which writes data to a std::vector of std::uint8_t bytes. More...
 
class  pstore::serialize::archive::details::buffer_writer_policy
 
class  pstore::serialize::archive::buffer_writer
 
class  pstore::serialize::archive::details::null_policy
 
class  pstore::serialize::archive::null
 An archive-writer which simply discards any data that it writes. More...
 
class  pstore::serialize::archive::range_reader< InputIterator >
 An archive-reader which consumes data from an iterator. More...
 
class  pstore::serialize::archive::buffer_reader
 An archive-reader which consumes data from a supplied pointer range. More...
 

Namespaces

 pstore::serialize::archive
 Contains the serialization archive types.
 

Functions

template<typename T >
auto pstore::serialize::archive::unsigned_cast (T const &t) -> typename std::make_unsigned< T >::type
 
std::ostream & pstore::serialize::archive::operator<< (std::ostream &os, vector_writer const &writer)
 Writes the contents of a vector_writer object to an ostream as a stream of space-separated two-digit hexadecimal values. More...
 
std::ostream & pstore::serialize::archive::operator<< (std::ostream &os, buffer_writer const &writer)
 Writes the contents of a buffer_writer object to an ostream as a stream of space-separated two-digit hexadecimal values. More...
 
template<typename InputIterator >
range_reader< InputIterator > pstore::serialize::archive::make_reader (InputIterator first)
 Constructs an archive-reader which will read from an iterator. More...
 

Detailed Description

The basic archive reader and writer types.