#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 49 of file archives.hpp.
using vanetza::OutputArchive::OutputStream = std::basic_ostream<char> |
Definition at line 52 of file archives.hpp.
using vanetza::OutputArchive::StreamBuffer = std::basic_streambuf<char> |
Definition at line 53 of file archives.hpp.
vanetza::OutputArchive::OutputArchive | ( | OutputStream & | os | ) |
Definition at line 44 of file archives.cpp.
vanetza::OutputArchive::OutputArchive | ( | StreamBuffer & | buf | ) |
Definition at line 49 of file archives.cpp.
|
inline |
Definition at line 62 of file archives.hpp.
void vanetza::OutputArchive::save_binary | ( | const char * | data, |
std::size_t | len | ||
) |
Definition at line 59 of file archives.cpp.
void vanetza::OutputArchive::save_binary | ( | const unsigned char * | data, |
std::size_t | len | ||
) |
Definition at line 54 of file archives.cpp.
|
private |
Definition at line 74 of file archives.hpp.