Base class for output streams using SF serialization. Use operator <<() to serialize objects into the stream. More...
#include <Stream.hpp>
Public Member Functions | |
| OStream (std::ostream &os, int runtimeVersion=0, int archiveVersion=0) | |
| Constructs an OStream from a std::ostream. Serialized data will be written to the std::ostream. More... | |
| int | getRuntimeVersion () |
| Gets the RCF runtime version associated with this stream. More... | |
| int | getArchiveVersion () |
| Gets the archive version associated with this stream. More... | |
| void | setArchiveVersion (int archiveVersion) |
| Sets the archive version associated with this stream. More... | |
| void | setRuntimeVersion (int runtimeVersion) |
| Sets the RCF runtime version associated with this stream. More... | |
| template<typename T > | |
| OStream & | operator<< (const T &t) |
| Serialize an object to the stream. More... | |
Base class for output streams using SF serialization. Use operator <<() to serialize objects into the stream.
| SF::OStream::OStream | ( | std::ostream & | os, |
| int | runtimeVersion = 0, |
||
| int | archiveVersion = 0 |
||
| ) |
Constructs an OStream from a std::ostream. Serialized data will be written to the std::ostream.
| int SF::OStream::getRuntimeVersion | ( | ) |
Gets the RCF runtime version associated with this stream.
| int SF::OStream::getArchiveVersion | ( | ) |
Gets the archive version associated with this stream.
| void SF::OStream::setArchiveVersion | ( | int | archiveVersion | ) |
Sets the archive version associated with this stream.
| void SF::OStream::setRuntimeVersion | ( | int | runtimeVersion | ) |
Sets the RCF runtime version associated with this stream.
| OStream & SF::OStream::operator<< | ( | const T & | t | ) |
Serialize an object to the stream.