![]() |
Argo
1.0
A C++ library for handling JSON.
|
A derived class of writer that writes to POSIX file descriptors. More...
#include <fd_writer.hpp>
Public Member Functions | |
fd_writer (int fd) | |
constructor | |
virtual void | write (const std::string &s) |
![]() | |
writer () | |
Constructor. | |
A derived class of writer that writes to POSIX file descriptors.
Definition at line 34 of file fd_writer.hpp.
|
virtual |
Write a character to the file descriptor using the write() system call.
json_io_exception | Thrown in the event the write() call fails. |
Implements argo::writer.
Definition at line 39 of file fd_writer.cpp.