Argo  1.0
A C++ library for handling JSON.
Public Member Functions | List of all members
argo::fd_writer Class Reference

A derived class of writer that writes to POSIX file descriptors. More...

#include <fd_writer.hpp>

Inheritance diagram for argo::fd_writer:
argo::writer

Public Member Functions

 fd_writer (int fd)
 constructor
 
virtual void write (const std::string &s)
 
- Public Member Functions inherited from argo::writer
 writer ()
 Constructor.
 

Detailed Description

A derived class of writer that writes to POSIX file descriptors.

Definition at line 34 of file fd_writer.hpp.

Member Function Documentation

void fd_writer::write ( const std::string &  s)
virtual

Write a character to the file descriptor using the write() system call.

Exceptions
json_io_exceptionThrown in the event the write() call fails.

Implements argo::writer.

Definition at line 39 of file fd_writer.cpp.


The documentation for this class was generated from the following files: