Argo  1.0
A C++ library for handling JSON.
Classes | Functions
writer.hpp File Reference

The writer class. More...

#include <ostream>
#include "common.hpp"

Go to the source code of this file.

Classes

class  argo::writer
 Simple proxy for write operations on various types of stream. More...
 

Functions

writerargo::operator<< (writer &w, const std::string &s)
 Write a string to a writer.
 
writerargo::operator<< (writer &w, char c)
 Write a single character.
 
writerargo::operator<< (writer &w, int i)
 Write an int (formatted as a string. i.e. 123 is written as "123").
 
writerargo::operator<< (writer &w, double d)
 Write a double (formatted as a string. i.e. 123e23 is written as "123e23").
 

Detailed Description

The writer class.

Definition in file writer.hpp.