JsonCpp project page JsonCpp home page

Json::StreamWriter::Factory Class Reference

A simple abstract factory. More...

#include <json/writer.h>

Inherited by Json::StreamWriterBuilder.

List of all members.

Public Member Functions

virtual ~Factory ()
virtual StreamWriternewStreamWriter () const =0
 Allocate a CharReader via operator new().

Detailed Description

A simple abstract factory.

Definition at line 56 of file writer.h.


Constructor & Destructor Documentation

Json::StreamWriter::Factory::~Factory (  )  [virtual]

Definition at line 1077 of file json_writer.cpp.


Member Function Documentation

virtual StreamWriter* Json::StreamWriter::Factory::newStreamWriter (  )  const [pure virtual]

Allocate a CharReader via operator new().

Exceptions:
std::exception if something goes wrong (e.g. invalid settings)

Implemented in Json::StreamWriterBuilder.

Referenced by Json::writeString().

Here is the caller graph for this function:


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