#include <stream_writer.h>
|
shared_ptr< ostream > | osp_ |
|
Helper class to write values into an output stream. This is really an adapter so that classes can use the Writer interface for all writing
Definition at line 47 of file stream_writer.h.
eip::serialization::StreamWriter::StreamWriter |
( |
shared_ptr< ostream > |
osp | ) |
|
|
inline |
Create a writer to use the output stream given
- Parameters
-
Definition at line 55 of file stream_writer.h.
size_t eip::serialization::StreamWriter::getByteCount |
( |
| ) |
|
|
inlinevirtual |
template<typename T >
void eip::serialization::StreamWriter::write |
( |
T & |
v | ) |
|
|
inline |
Write a value to the output stream
- Parameters
-
v | Value to write to the output stream |
Definition at line 62 of file stream_writer.h.
void eip::serialization::StreamWriter::writeBuffer |
( |
const_buffer |
b | ) |
|
|
inlinevirtual |
void eip::serialization::StreamWriter::writeBytes |
( |
const void * |
p, |
|
|
size_t |
n |
|
) |
| |
|
inlinevirtual |
shared_ptr<ostream> eip::serialization::StreamWriter::osp_ |
|
private |
The documentation for this class was generated from the following file: