Pothos
0.7.0-gf7fbae99
The Pothos dataflow programming software suite
|
#include <StreamArchiver.hpp>
Public Types | |
typedef std::true_type | isSave |
Tell the invoker that this archiver saves. More... | |
Public Member Functions | |
OStreamArchiver (std::ostream &os) | |
template<typename T > | |
void | operator & (const T &value) |
template<typename T > | |
void | operator<< (const T &value) |
void | writeBytes (const void *buff, const size_t len) |
The output stream archiver serializes types to an output stream.
typedef std::true_type Pothos::Archive::OStreamArchiver::isSave |
Tell the invoker that this archiver saves.
Pothos::Archive::OStreamArchiver::OStreamArchiver | ( | std::ostream & | os | ) |
Create an output stream archiver
os | the stream to write to |
void Pothos::Archive::OStreamArchiver::operator& | ( | const T & | value | ) |
Serialize value with the & operator
value | the value to serialize |
void Pothos::Archive::OStreamArchiver::operator<< | ( | const T & | value | ) |
Serialize value with the stream operator
value | the value to serialize |
void Pothos::Archive::OStreamArchiver::writeBytes | ( | const void * | buff, |
const size_t | len | ||
) |
Directly write an array of bytes to the output stream