Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
json_spirit::Generator< Value_type, Ostream_type > Class Template Reference

#include <json_spirit_writer_template.h>

Public Member Functions

 Generator (const Value_type &value, Ostream_type &os, bool pretty)
 

Private Types

typedef Value_type::Config_type Config_type
 
typedef Config_type::String_type String_type
 
typedef Config_type::Object_type Object_type
 
typedef Config_type::Array_type Array_type
 
typedef String_type::value_type Char_type
 
typedef Object_type::value_type Obj_member_type
 

Private Member Functions

void output (const Value_type &value)
 
void output (const Object_type &obj)
 
void output (const Array_type &arr)
 
void output (const Obj_member_type &member)
 
void output_int (const Value_type &value)
 
void output (const String_type &s)
 
void output (bool b)
 
template<class T >
void output_array_or_obj (const T &t, Char_type start_char, Char_type end_char)
 
void indent ()
 
void space ()
 
void new_line ()
 
Generatoroperator= (const Generator &)
 

Private Attributes

Ostream_type & os_
 
int indentation_level_
 
bool pretty_
 

Detailed Description

template<class Value_type, class Ostream_type>
class json_spirit::Generator< Value_type, Ostream_type >

Definition at line 95 of file json_spirit_writer_template.h.

Member Typedef Documentation

template<class Value_type, class Ostream_type>
typedef Config_type::Array_type json_spirit::Generator< Value_type, Ostream_type >::Array_type
private

Definition at line 100 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
typedef String_type::value_type json_spirit::Generator< Value_type, Ostream_type >::Char_type
private

Definition at line 101 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
typedef Value_type::Config_type json_spirit::Generator< Value_type, Ostream_type >::Config_type
private

Definition at line 97 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
typedef Object_type::value_type json_spirit::Generator< Value_type, Ostream_type >::Obj_member_type
private

Definition at line 102 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
typedef Config_type::Object_type json_spirit::Generator< Value_type, Ostream_type >::Object_type
private

Definition at line 99 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
typedef Config_type::String_type json_spirit::Generator< Value_type, Ostream_type >::String_type
private

Definition at line 98 of file json_spirit_writer_template.h.

Constructor & Destructor Documentation

template<class Value_type, class Ostream_type>
json_spirit::Generator< Value_type, Ostream_type >::Generator ( const Value_type value,
Ostream_type &  os,
bool  pretty 
)
inline

Definition at line 106 of file json_spirit_writer_template.h.

Here is the call graph for this function:

Member Function Documentation

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::indent ( )
inlineprivate

Definition at line 197 of file json_spirit_writer_template.h.

Here is the caller graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::new_line ( )
inlineprivate

Definition at line 212 of file json_spirit_writer_template.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Value_type, class Ostream_type>
Generator& json_spirit::Generator< Value_type, Ostream_type >::operator= ( const Generator< Value_type, Ostream_type > &  )
private

Here is the caller graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::output ( const Value_type value)
inlineprivate

Definition at line 116 of file json_spirit_writer_template.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::output ( const Object_type obj)
inlineprivate

Definition at line 132 of file json_spirit_writer_template.h.

Here is the call graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::output ( const Array_type arr)
inlineprivate

Definition at line 137 of file json_spirit_writer_template.h.

Here is the call graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::output ( const Obj_member_type member)
inlineprivate

Definition at line 142 of file json_spirit_writer_template.h.

Here is the call graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::output ( const String_type s)
inlineprivate

Definition at line 161 of file json_spirit_writer_template.h.

Here is the call graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::output ( bool  b)
inlineprivate

Definition at line 166 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
template<class T >
void json_spirit::Generator< Value_type, Ostream_type >::output_array_or_obj ( const T t,
Char_type  start_char,
Char_type  end_char 
)
inlineprivate

Definition at line 172 of file json_spirit_writer_template.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::output_int ( const Value_type value)
inlineprivate

Definition at line 149 of file json_spirit_writer_template.h.

Here is the caller graph for this function:

template<class Value_type, class Ostream_type>
void json_spirit::Generator< Value_type, Ostream_type >::space ( )
inlineprivate

Definition at line 207 of file json_spirit_writer_template.h.

Here is the caller graph for this function:

Member Data Documentation

template<class Value_type, class Ostream_type>
int json_spirit::Generator< Value_type, Ostream_type >::indentation_level_
private

Definition at line 220 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
Ostream_type& json_spirit::Generator< Value_type, Ostream_type >::os_
private

Definition at line 219 of file json_spirit_writer_template.h.

template<class Value_type, class Ostream_type>
bool json_spirit::Generator< Value_type, Ostream_type >::pretty_
private

Definition at line 221 of file json_spirit_writer_template.h.


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