NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Functions
jsonwrapp11.hpp File Reference
#include <corelib/ncbistr.hpp>
#include <corelib/ncbidbg.hpp>
#include <corelib/ncbi_system.hpp>
#include <iterator>
#include "rapidjson11/rapidjson.h"
#include "rapidjson11/document.h"
#include "rapidjson11/prettywriter.h"
#include "rapidjson11/filereadstream.h"
#include "rapidjson11/istreamwrapper.h"
#include "rapidjson11/istreamasync.h"
#include "rapidjson11/filewritestream.h"
#include "rapidjson11/ostreamwrapper.h"
#include "rapidjson11/error/en.h"
#include "rapidjson11/schema.h"
+ Include dependency graph for jsonwrapp11.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CJson_ConstNode
 CJson_Node. More...
 
class  CJson_Node
 
class  CJson_ConstValue
 CJson_Value. More...
 
class  CJson_Value
 
class  CJson_ConstArray
 CJson_Array. More...
 
class  CJson_ConstArray::const_iterator
 Random-access iterator to access const JSON array element. More...
 
class  CJson_ConstArray::iterator
 Random-access iterator to access non-const JSON array element. More...
 
class  CJson_Array
 
class  CJson_Array::CProhibited< Type >
 
class  CJson_ConstObject_pair
 
class  CJson_Object_pair
 CJson_Object value type - [name,value] pair. More...
 
class  CJson_ConstObject
 CJson_Object. More...
 
class  CJson_ConstObject::const_iterator
 Bidirectional iterator to access const JSON object element. More...
 
class  CJson_ConstObject::iterator
 Bidirectional iterator to access non-const JSON object element. More...
 
class  CJson_Object
 
class  CJson_Object::CProhibited< Type >
 
class  CJson_WalkHandler
 CJson_WalkHandler. More...
 
class  CJson_Document
 
class  CJson_Schema
 CJson_Schema. More...
 
class  CJson_MetaSchema
 JSON meta-schema describes JSON schema itself So, other JSON schemas can be validated against it. More...
 

Macros

#define RAPIDJSON_NOMEMBERITERATORCLASS
 
#define JSONWRAPP_TO_NCBIUTF8(v)   (v)
 
#define JSONWRAPP_MAKENODE(v)   (v)
 
#define JSW_EMPTY_TEMPLATE   template<>
 

Typedefs

typedef unsigned int TJson_Write_Flags
 
using CJson_IStreamBuffer = rapidjson::IStreamWrapper
 
using CJson_IStreamAsyncBuffer = rapidjson::IStreamAsyncWrapper
 

Enumerations

enum  EJson_Write_Flags { fJson_Write_IndentWithSpace = 0 , fJson_Write_NoIndentation = (1 << 0) , fJson_Write_NoEol = (1 << 1) , fJson_Write_IndentWithTab = (1 << 2) }
 

Functions

std::istream & operator>> (std::istream &is, CJson_Document &d)
 Extraction operator for JSON document. More...
 
std::ostream & operator<< (std::ostream &os, const CJson_Document &d)
 Insertion operator for JSON document. More...
 
std::ostream & operator<< (std::ostream &os, const CJson_ConstNode &v)
 Insertion operator for JSON node. More...
 

Macro Definition Documentation

◆ JSONWRAPP_MAKENODE

#define JSONWRAPP_MAKENODE (   v)    (v)

Definition at line 1213 of file jsonwrapp11.hpp.

◆ JSONWRAPP_TO_NCBIUTF8

#define JSONWRAPP_TO_NCBIUTF8 (   v)    (v)

Definition at line 1210 of file jsonwrapp11.hpp.

◆ JSW_EMPTY_TEMPLATE

#define JSW_EMPTY_TEMPLATE   template<>

Definition at line 1523 of file jsonwrapp11.hpp.

◆ RAPIDJSON_NOMEMBERITERATORCLASS

#define RAPIDJSON_NOMEMBERITERATORCLASS

Definition at line 74 of file jsonwrapp11.hpp.

Typedef Documentation

◆ CJson_IStreamAsyncBuffer

Definition at line 1028 of file jsonwrapp11.hpp.

◆ CJson_IStreamBuffer

Definition at line 1027 of file jsonwrapp11.hpp.

◆ TJson_Write_Flags

typedef unsigned int TJson_Write_Flags

Definition at line 110 of file jsonwrapp11.hpp.

Enumeration Type Documentation

◆ EJson_Write_Flags

Enumerator
fJson_Write_IndentWithSpace 

use space (' ') symbol for indentation

fJson_Write_NoIndentation 

do not use indentation

fJson_Write_NoEol 

do not write end-of-line symbol

fJson_Write_IndentWithTab 

use tab ('\t') symbol for indentation

Definition at line 104 of file jsonwrapp11.hpp.

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const CJson_ConstNode v 
)
inline

Insertion operator for JSON node.

Definition at line 1199 of file jsonwrapp11.hpp.

References operator<<().

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const CJson_Document d 
)
inline

Insertion operator for JSON document.

Definition at line 1192 of file jsonwrapp11.hpp.

References CJson_Document::Write().

Referenced by operator<<().

◆ operator>>()

std::istream& operator>> ( std::istream &  is,
CJson_Document d 
)
inline

Extraction operator for JSON document.

Definition at line 1184 of file jsonwrapp11.hpp.

References CJson_Document::Read().

Modified on Fri Sep 20 14:58:21 2024 by modify_doxy.py rev. 669887