|
cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Class of streams to write data to files. More...
#include <msgpack_light/file_output_stream.h>
Public Member Functions | |
| file_output_stream (const char *file_path) | |
| Constructor. | |
| file_output_stream (const file_output_stream &)=delete | |
| file_output_stream (const std::string &file_path) | |
| Constructor. | |
| file_output_stream (file_output_stream &&)=delete | |
| ~file_output_stream () | |
| Destructor. | |
| file_output_stream & | operator= (const file_output_stream &)=delete |
| file_output_stream & | operator= (file_output_stream &&)=delete |
| void | write (const unsigned char *data, std::size_t size) override |
| Write data. | |
| Public Member Functions inherited from msgpack_light::output_stream | |
| output_stream ()=default | |
| Constructor. | |
Private Attributes | |
| std::FILE * | file_ |
| File descriptor. | |
Additional Inherited Members | |
| Protected Member Functions inherited from msgpack_light::output_stream | |
| output_stream (const output_stream &)=default | |
| Copy constructor. | |
| output_stream (output_stream &&)=default | |
| Move constructor. | |
| ~output_stream ()=default | |
| Destructor. | |
| output_stream & | operator= (const output_stream &)=default |
| Copy assignment operator. | |
| output_stream & | operator= (output_stream &&)=default |
| Move assignment operator. | |
Class of streams to write data to files.
Definition at line 33 of file file_output_stream.h.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Destructor.
Definition at line 64 of file file_output_stream.h.
|
inlineoverridevirtual |
Write data.
| [in] | data | Pointer to the data. |
| [in] | size | Size of the data. |
Implements msgpack_light::output_stream.
Definition at line 72 of file file_output_stream.h.
|
private |
File descriptor.
Definition at line 80 of file file_output_stream.h.