Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
archiver.cpp File Reference
#include "archiver.h"
#include <cassert>
#include <stack>
#include "rapidjson/document.h"
#include "rapidjson/prettywriter.h"
#include "rapidjson/stringbuffer.h"
Include dependency graph for archiver.cpp:

Go to the source code of this file.

Classes

struct  JsonReaderStackItem
 

Macros

#define DOCUMENT   reinterpret_cast<Document*>(mDocument)
 
#define STACK   (reinterpret_cast<JsonReaderStack*>(mStack))
 
#define TOP   (STACK->top())
 
#define CURRENT   (*TOP.value)
 
#define WRITER   reinterpret_cast<PrettyWriter<StringBuffer>*>(mWriter)
 
#define STREAM   reinterpret_cast<StringBuffer*>(mStream)
 

Typedefs

typedef std::stack< JsonReaderStackItemJsonReaderStack
 

Macro Definition Documentation

◆ CURRENT

#define CURRENT   (*TOP.value)

Definition at line 29 of file archiver.cpp.

◆ DOCUMENT

#define DOCUMENT   reinterpret_cast<Document*>(mDocument)

Definition at line 26 of file archiver.cpp.

◆ STACK

#define STACK   (reinterpret_cast<JsonReaderStack*>(mStack))

Definition at line 27 of file archiver.cpp.

◆ STREAM

#define STREAM   reinterpret_cast<StringBuffer*>(mStream)

Definition at line 214 of file archiver.cpp.

◆ TOP

#define TOP   (STACK->top())

Definition at line 28 of file archiver.cpp.

◆ WRITER

#define WRITER   reinterpret_cast<PrettyWriter<StringBuffer>*>(mWriter)

Definition at line 213 of file archiver.cpp.

Typedef Documentation

◆ JsonReaderStack

typedef std::stack<JsonReaderStackItem> JsonReaderStack

Definition at line 24 of file archiver.cpp.