Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
JsonReaderStackItem Struct Reference
Collaboration diagram for JsonReaderStackItem:

Public Types

enum  State { BeforeStart , Started , Closed }
 

Public Member Functions

 JsonReaderStackItem (const Value *value, State state)
 

Public Attributes

const Valuevalue
 
State state
 
SizeType index
 

Detailed Description

Definition at line 10 of file archiver.cpp.

Member Enumeration Documentation

◆ State

Enumerator
BeforeStart 

An object/array is in the stack but it is not yet called by StartObject()/StartArray().

Started 

An object/array is called by StartObject()/StartArray().

Closed 

An array is closed after read all element, but before EndArray().

Definition at line 11 of file archiver.cpp.

11 {
13 Started,
14 Closed
15 };
@ BeforeStart
An object/array is in the stack but it is not yet called by StartObject()/StartArray().
Definition archiver.cpp:12
@ Closed
An array is closed after read all element, but before EndArray().
Definition archiver.cpp:14
@ Started
An object/array is called by StartObject()/StartArray().
Definition archiver.cpp:13

Constructor & Destructor Documentation

◆ JsonReaderStackItem()

JsonReaderStackItem::JsonReaderStackItem ( const Value * value,
State state )
inline

Definition at line 17 of file archiver.cpp.

Member Data Documentation

◆ index

SizeType JsonReaderStackItem::index

Definition at line 21 of file archiver.cpp.

◆ state

State JsonReaderStackItem::state

Definition at line 20 of file archiver.cpp.

◆ value

const Value* JsonReaderStackItem::value

Definition at line 19 of file archiver.cpp.


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