JsonCpp project page Classes Namespace JsonCpp home page

Json::StreamWriter::Factory Class Referenceabstract

A simple abstract factory. More...

#include <json/writer.h>

Inherited by Json::StreamWriterBuilder.

Public Member Functions

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

Detailed Description

A simple abstract factory.

Constructor & Destructor Documentation

◆ ~Factory()

Json::StreamWriter::Factory::~Factory ( )
virtualdefault

Member Function Documentation

◆ newStreamWriter()

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.


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