Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Public Types | Public Member Functions | List of all members
Pothos::Archive::IStreamArchiver Class Reference

#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)
 

Detailed Description

The input stream archiver deserializes types from an input stream.

Member Typedef Documentation

◆ isSave

Tell the invoker that this archiver loads.

Constructor & Destructor Documentation

◆ IStreamArchiver()

Pothos::Archive::IStreamArchiver::IStreamArchiver ( std::istream &  is)

Create an input stream archiver

Parameters
isthe stream to read from

Member Function Documentation

◆ operator &()

template<typename T >
void Pothos::Archive::IStreamArchiver::operator& ( T &  value)

Deserialize value with the & operator

Parameters
valuethe value to deserialize

◆ operator>>()

template<typename T >
void Pothos::Archive::IStreamArchiver::operator>> ( T &  value)

Deserialize value with the stream operator

Parameters
valuethe value to deserialize

◆ readBytes()

void Pothos::Archive::IStreamArchiver::readBytes ( void *  buff,
const size_t  len 
)

Directly read an array of bytes from the input stream


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