pstore2
Classes | Namespaces | Functions
db_archive.hpp File Reference

Provides the database_reader and database_writer class which enable the serializer to read and write types in a pstore instance. More...

#include "pstore/core/transaction.hpp"
#include "pstore/serialize/archive.hpp"
#include "pstore/support/error.hpp"
Include dependency graph for db_archive.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pstore::serialize::archive::details::database_writer_policy
 
class  pstore::serialize::archive::database_writer
 
class  pstore::serialize::archive::database_reader
 An archive-reader which reads data from a database. More...
 

Namespaces

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

Functions

auto pstore::serialize::archive::make_writer (transaction_base &transaction) noexcept -> database_writer
 A convenience function which simplifies the construction of a database_writer instance if the caller has an existing transaction object. More...
 
database_reader pstore::serialize::archive::make_reader (pstore::database const &db, pstore::address const addr) noexcept
 A convenience function which provides symmetry with the make_writer() function. More...
 

Detailed Description

Provides the database_reader and database_writer class which enable the serializer to read and write types in a pstore instance.