LoveBrains  1.0.0
Public Member Functions | List of all members
Json::StreamWriter::Factory Class Referenceabstract

A simple abstract factory. More...

#include <json.h>

Inheritance diagram for Json::StreamWriter::Factory:
Json::StreamWriterBuilder Json::StreamWriterBuilder

Public Member Functions

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

Detailed Description

A simple abstract factory.

Member Function Documentation

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

Allocate a CharReader via operator new().

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

Implemented in Json::StreamWriterBuilder, and Json::StreamWriterBuilder.

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

Allocate a CharReader via operator new().

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

Implemented in Json::StreamWriterBuilder, and Json::StreamWriterBuilder.


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