Free Electron
Public Member Functions | Private Member Functions | Private Attributes | List of all members
fe::ext::data::JsonWriter Class Reference

Stream generator for writing JSON files. More...

#include <JsonWriter.h>

Inherits fe::data::AsciiWriter.

Public Member Functions

 JsonWriter (sp< Scope > spScope)
 
virtual void output (std::ostream &a_ostrm, sp< RecordGroup > spRG)
 

Private Member Functions

virtual void write (std::ostream &a_ostrm, Record r_out, int a_sb_id)
 
virtual void write (std::ostream &a_ostrm, sp< RecordGroup > spRG, int a_id)
 
virtual void write (std::ostream &a_ostrm, sp< RecordArray > spRA, int a_id)
 
virtual void write (std::ostream &a_ostrm, sp< Layout > spLayout, int a_id)
 
virtual void write (std::ostream &a_ostrm, sp< Attribute > spAttribute)
 

Private Attributes

sp< JsonValuem_spJsonRoot
 
Json::Value m_jsonAttributes
 
Json::Value m_jsonLayouts
 
Json::Value m_jsonRecords
 
Json::Value m_jsonRecordGroups
 
Json::Value m_jsonRecordArrays
 

Detailed Description

Stream generator for writing JSON files.


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