Pothos
0.7.0-gf7fbae99
The Pothos dataflow programming software suite
|
#include <StreamArchiver.hpp>
Public Types | |
typedef std::false_type | isSave |
Tell the invoker that this archiver loads. More... | |
Public Member Functions | |
IStreamArchiver (std::istream &is) | |
template<typename T > | |
void | operator & (T &value) |
template<typename T > | |
void | operator>> (T &value) |
void | readBytes (void *buff, const size_t len) |
The input stream archiver deserializes types from an input stream.
typedef std::false_type Pothos::Archive::IStreamArchiver::isSave |
Tell the invoker that this archiver loads.
Pothos::Archive::IStreamArchiver::IStreamArchiver | ( | std::istream & | is | ) |
Create an input stream archiver
is | the stream to read from |
void Pothos::Archive::IStreamArchiver::operator& | ( | T & | value | ) |
Deserialize value with the & operator
value | the value to deserialize |
void Pothos::Archive::IStreamArchiver::operator>> | ( | T & | value | ) |
Deserialize value with the stream operator
value | the value to deserialize |
void Pothos::Archive::IStreamArchiver::readBytes | ( | void * | buff, |
const size_t | len | ||
) |
Directly read an array of bytes from the input stream