pstore2
Public Member Functions | List of all members
pstore::serialize::archive::null Class Referencefinal

An archive-writer which simply discards any data that it writes. More...

#include <archive.hpp>

Inheritance diagram for pstore::serialize::archive::null:
Inheritance graph
[legend]
Collaboration diagram for pstore::serialize::archive::null:
Collaboration graph
[legend]

Public Member Functions

 null (null const &)=delete
 
 null (null &&)=delete
 
nulloperator= (null const &)=delete
 
nulloperator= (null &&)=delete
 
- Public Member Functions inherited from pstore::serialize::archive::writer_base< details::null_policy >
 writer_base (writer_base const &)=delete
 
 writer_base (writer_base &&) noexcept=default
 
writer_baseoperator= (writer_base &&) noexcept=default
 
writer_baseoperator= (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::null_policywriter_policy () noexcept
 
details::null_policy const & writer_policy () const noexcept
 

Additional Inherited Members

- Public Types inherited from pstore::serialize::archive::writer_base< details::null_policy >
using policy_type = details::null_policy
 
using result_type = typename policy_type::result_type
 
- Protected Member Functions inherited from pstore::serialize::archive::writer_base< details::null_policy >
 writer_base (details::null_policy policy=details::null_policy())
 

Detailed Description

An archive-writer which simply discards any data that it writes.

write.


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