|
pstore2
|


Public Member Functions | |
| database_writer (transaction_base &transaction) | |
| Constructs the writer using the transaction. More... | |
Public Member Functions inherited from pstore::serialize::archive::writer_base< details::database_writer_policy > | |
| writer_base (writer_base const &)=delete | |
| writer_base (writer_base &&) noexcept=default | |
| writer_base & | operator= (writer_base &&) noexcept=default |
| writer_base & | operator= (writer_base const &)=delete |
| void | flush () |
| Flushes the stream to the output. | |
| std::size_t | bytes_consumed () const |
| Returns the number of bytes that have been written via this archive. | |
| std::size_t | bytes_produced () const |
| Returns the number of bytes that the policy object wrote to its final destination. More... | |
| auto | put (Ty const &t) -> result_type |
| Writes one or more instances of a standard-layout type Ty to the output. Must not be used once the stream has been flushed. More... | |
| auto | putn (Span sp) -> result_type |
| Writes a span of values to the output. More... | |
| details::database_writer_policy & | writer_policy () noexcept |
| details::database_writer_policy const & | writer_policy () const noexcept |
Additional Inherited Members | |
Public Types inherited from pstore::serialize::archive::writer_base< details::database_writer_policy > | |
| using | policy_type = details::database_writer_policy |
| using | result_type = typename policy_type::result_type |
Protected Member Functions inherited from pstore::serialize::archive::writer_base< details::database_writer_policy > | |
| writer_base (details::database_writer_policy policy=details::database_writer_policy()) | |
|
inlineexplicit |
Constructs the writer using the transaction.
| transaction | The active transaction to the store to which the database_writer will write. |
1.8.13