the archive that writes the members of a structure [see store()]
More...
#include <ADS/external/Persistence.h>
|
| | PersistWriter (std::ostream &s, ByteOrder o) |
| | the writer of a payload in the order \( o \) to the stream \( s \)
|
| | PersistWriter (std::vector< std::byte > &b, ByteOrder o) |
| | the writer of a payload in the order \( o \) appended to the bytes \( b \)
|
| template<class... X> |
| void | operator() (X &... x) |
| | the members \( x \) written in order
|
| void | require (bool, const char *) const noexcept |
| | nothing, since the members written are those of a structure
|
|
| static constexpr bool | loading = false |
| | a writer, never a reader
|
the archive that writes the members of a structure [see store()]
◆ PersistWriter() [1/2]
| ADS::PersistWriter::PersistWriter |
( |
std::ostream & | s, |
|
|
ByteOrder | o ) |
the writer of a payload in the order \( o \) to the stream \( s \)
◆ PersistWriter() [2/2]
| ADS::PersistWriter::PersistWriter |
( |
std::vector< std::byte > & | b, |
|
|
ByteOrder | o ) |
the writer of a payload in the order \( o \) appended to the bytes \( b \)
◆ operator()()
template<class... X>
| void ADS::PersistWriter::operator() |
( |
X &... | x | ) |
|
|
inline |
the members \( x \) written in order
◆ require()
| void ADS::PersistWriter::require |
( |
bool | , |
|
|
const char * | ) const |
|
inlinenoexcept |
nothing, since the members written are those of a structure
◆ loading
| bool ADS::PersistWriter::loading = false |
|
staticconstexpr |
The documentation for this class was generated from the following file: