This class is used for writing data into a StateT instance (serialization). More...
#include "State.hpp"
Public Member Functions | |
OutStreamT (StateT &State, bool Overwrite=true) | |
Creates a stream for writing data into the given state. More... | |
OutStreamT & | operator<< (char b) |
Writes a data item of the given type into the stream. More... | |
OutStreamT & | operator<< (uint8_t b) |
OutStreamT & | operator<< (unsigned short w) |
OutStreamT & | operator<< (int32_t i) |
OutStreamT & | operator<< (uint32_t ui) |
OutStreamT & | operator<< (uint64_t ui) |
OutStreamT & | operator<< (float f) |
OutStreamT & | operator<< (double d) |
OutStreamT & | operator<< (bool b) |
OutStreamT & | operator<< (const char *s) |
OutStreamT & | operator<< (const std::string &str) |
template<class T > | |
OutStreamT & | operator<< (const ArrayT< T > &A) |
This class is used for writing data into a StateT instance (serialization).
TODO: Optimize handling of strings and bools.
|
inline |
Creates a stream for writing data into the given state.
|
inline |
Writes a data item of the given type into the stream.