rapidjson::Writer< Stream, Encoding, Allocator >::Level Struct Reference

Information for each nested level. More...

#include <writer.h>

Public Member Functions

 Level (bool inArray_)
 

Public Attributes

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

Detailed Description

template<typename Stream, typename Encoding = UTF8<>, typename Allocator = MemoryPoolAllocator<>>
struct rapidjson::Writer< Stream, Encoding, Allocator >::Level

Information for each nested level.

Constructor & Destructor Documentation

◆ Level()

template<typename Stream , typename Encoding = UTF8<>, typename Allocator = MemoryPoolAllocator<>>
rapidjson::Writer< Stream, Encoding, Allocator >::Level::Level ( bool  inArray_)
inline
140 : inArray(inArray_), valueCount(0) {}
size_t valueCount
number of values in this level
Definition: writer.h:142
bool inArray
true if in array, otherwise in object
Definition: writer.h:141

Member Data Documentation

◆ inArray

template<typename Stream , typename Encoding = UTF8<>, typename Allocator = MemoryPoolAllocator<>>
bool rapidjson::Writer< Stream, Encoding, Allocator >::Level::inArray

◆ valueCount

template<typename Stream , typename Encoding = UTF8<>, typename Allocator = MemoryPoolAllocator<>>
size_t rapidjson::Writer< Stream, Encoding, Allocator >::Level::valueCount

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