Public Member Functions | Public Attributes | List of all members
Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level Struct Reference

Information for each nested level. More...

#include <writer.h>

Public Member Functions

 Level (bool inArray_)
 

Public Attributes

size_t valueCount
 number of values in this level More...
 
bool inArray
 true if in array, otherwise in object More...
 

Detailed Description

template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>, typename StackAllocator = CrtAllocator, unsigned writeFlags = kWriteDefaultFlags>
struct Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level

Information for each nested level.

Definition at line 287 of file writer.h.

Constructor & Destructor Documentation

template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>, typename StackAllocator = CrtAllocator, unsigned writeFlags = kWriteDefaultFlags>
Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level::Level ( bool  inArray_)
inline

Definition at line 288 of file writer.h.

288 : valueCount(0), inArray(inArray_) {}
size_t valueCount
number of values in this level
Definition: writer.h:289
bool inArray
true if in array, otherwise in object
Definition: writer.h:290

Member Data Documentation

template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>, typename StackAllocator = CrtAllocator, unsigned writeFlags = kWriteDefaultFlags>
bool Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level::inArray

true if in array, otherwise in object

Definition at line 290 of file writer.h.

template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>, typename StackAllocator = CrtAllocator, unsigned writeFlags = kWriteDefaultFlags>
size_t Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level::valueCount

number of values in this level

Definition at line 289 of file writer.h.


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