#include <archives.hpp>
Classes | |
class | Exception |
Public Types | |
using | OutputStream = std::basic_ostream<char> |
using | StreamBuffer = std::basic_streambuf<char> |
Public Member Functions | |
OutputArchive (OutputStream &os) | |
OutputArchive (StreamBuffer &buf) | |
template<typename T> | |
OutputArchive & | operator<< (const T &t) |
void | save_binary (const unsigned char *data, std::size_t len) |
void | save_binary (const char *data, std::size_t len) |
Private Attributes | |
StreamBuffer * | m_stream_buffer |
This is a drop-in replacement for boost::archive::binary_oarchive
Definition at line 61 of file archives.hpp.
using vanetza::OutputArchive::OutputStream = std::basic_ostream<char> |
Definition at line 64 of file archives.hpp.
using vanetza::OutputArchive::StreamBuffer = std::basic_streambuf<char> |
Definition at line 65 of file archives.hpp.
vanetza::OutputArchive::OutputArchive | ( | OutputStream & | os | ) |
Definition at line 64 of file archives.cpp.
vanetza::OutputArchive::OutputArchive | ( | StreamBuffer & | buf | ) |
Definition at line 69 of file archives.cpp.
|
inline |
Definition at line 74 of file archives.hpp.
void vanetza::OutputArchive::save_binary | ( | const char * | data, |
std::size_t | len ) |
Definition at line 79 of file archives.cpp.
void vanetza::OutputArchive::save_binary | ( | const unsigned char * | data, |
std::size_t | len ) |
Definition at line 74 of file archives.cpp.
|
private |
Definition at line 86 of file archives.hpp.