Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level Struct Reference

Information for each nested level. More...

#include <writer.h>

Collaboration diagram for Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level:

Public Member Functions

 Level (bool inArray_)
 

Public Attributes

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

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

Definition at line 287 of file writer.h.

Constructor & Destructor Documentation

◆ Level()

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

◆ inArray

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

Definition at line 290 of file writer.h.

◆ valueCount

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

Definition at line 289 of file writer.h.


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