TPIE

2362a60
tpie::JSONReflector Struct Reference

refletor for json printing to an ostream More...

#include <tpie/jsonprint.h>

Public Member Functions

 JSONReflector (std::ostream &o, bool pretty)
 
void begin (const char *)
 
void end ()
 
void beginArray (size_t)
 
void endArray ()
 
void name (const char *name)
 
void beginStaticArray (size_t x)
 
void endStaticArray ()
 
bool operator() (const uint8_t &v)
 
bool operator() (const uint16_t &v)
 
bool operator() (const uint32_t &v)
 
bool operator() (const uint64_t &v)
 
bool operator() (const int8_t &v)
 
bool operator() (const int16_t &v)
 
bool operator() (const int32_t &v)
 
bool operator() (const int64_t &v)
 
bool operator() (const float &v)
 
bool operator() (const double &v)
 
bool operator() (const std::string &v)
 

Static Public Attributes

static constexpr bool write = false
 
static constexpr bool arithmetic = true
 
static constexpr bool string = true
 
static constexpr bool trivialSerializable = false
 

Detailed Description

refletor for json printing to an ostream

Definition at line 37 of file jsonprint.h.


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