Electroneum
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  {
12  BeforeStart,
13  Started,
14  Closed
15  };
An object/array is called by StartObject()/StartArray().
Definition: archiver.cpp:13
An object/array is in the stack but it is not yet called by StartObject()/StartArray().
Definition: archiver.cpp:12
An array is closed after read all element, but before EndArray().
Definition: archiver.cpp:14

Constructor & Destructor Documentation

◆ JsonReaderStackItem()

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

Definition at line 17 of file archiver.cpp.

17 : value(value), state(state), index() {}
const Value * value
Definition: archiver.cpp:19
Definition: blake256.h:37

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: