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

A derived class of writer that writes to stdio FILEs. More...

#include <file_writer.hpp>

Inheritance diagram for argo::file_writer:
argo::writer

Public Member Functions

 file_writer (FILE *f)
 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 stdio FILEs.

Definition at line 36 of file file_writer.hpp.

Member Function Documentation

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

Writes a character to the file using fwrite()

Exceptions
json_io_exceptionThrown if fwrite fails in some way.

Implements argo::writer.

Definition at line 38 of file file_writer.cpp.


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