Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fwd.h
Go to the documentation of this file.
1// Tencent is pleased to support the open source community by making RapidJSON available.
2//
3// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
4//
5// Licensed under the MIT License (the "License"); you may not use this file except
6// in compliance with the License. You may obtain a copy of the License at
7//
8// http://opensource.org/licenses/MIT
9//
10// Unless required by applicable law or agreed to in writing, software distributed
11// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
12// CONDITIONS OF ANY KIND, either express or implied. See the License for the
13// specific language governing permissions and limitations under the License.
14
15#ifndef RAPIDJSON_FWD_H_
16#define RAPIDJSON_FWD_H_
17
18#include "rapidjson.h"
19
21
22// encodings.h
23
24template<typename CharType> struct UTF8;
25template<typename CharType> struct UTF16;
26template<typename CharType> struct UTF16BE;
27template<typename CharType> struct UTF16LE;
28template<typename CharType> struct UTF32;
29template<typename CharType> struct UTF32BE;
30template<typename CharType> struct UTF32LE;
31template<typename CharType> struct ASCII;
32template<typename CharType> struct AutoUTF;
33
34template<typename SourceEncoding, typename TargetEncoding>
35struct Transcoder;
36
37// allocators.h
38
39class CrtAllocator;
40
41template <typename BaseAllocator>
43
44// stream.h
45
46template <typename Encoding>
48
50
51template <typename Encoding>
53
55
56// stringbuffer.h
57
58template <typename Encoding, typename Allocator>
60
62
63// filereadstream.h
64
65class FileReadStream;
66
67// filewritestream.h
68
69class FileWriteStream;
70
71// memorybuffer.h
72
73template <typename Allocator>
75
77
78// memorystream.h
79
80struct MemoryStream;
81
82// reader.h
83
84template<typename Encoding, typename Derived>
86
87template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator>
88class GenericReader;
89
91
92// writer.h
93
94template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
95class Writer;
96
97// prettywriter.h
98
99template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
100class PrettyWriter;
101
102// document.h
103
104template <typename Encoding, typename Allocator>
105struct GenericMember;
106
107template <bool Const, typename Encoding, typename Allocator>
109
110template<typename CharType>
111struct GenericStringRef;
112
113template <typename Encoding, typename Allocator>
114class GenericValue;
115
117
118template <typename Encoding, typename Allocator, typename StackAllocator>
119class GenericDocument;
120
122
123// pointer.h
124
125template <typename ValueType, typename Allocator>
126class GenericPointer;
127
129
130// schema.h
131
132template <typename SchemaDocumentType>
134
135template <typename ValueT, typename Allocator>
137
140
141template <
142 typename SchemaDocumentType,
143 typename OutputHandler,
144 typename StateAllocator>
146
148
150
151#endif // RAPIDJSON_RAPIDJSONFWD_H_
C-runtime library allocator.
Definition allocators.h:75
File byte stream for input using fread().
Wrapper of C file stream for output using fwrite().
A document for parsing JSON text as DOM.
Definition document.h:2124
(Constant) member iterator for a JSON object value
Definition document.h:102
Represents a JSON Pointer. Use Pointer for UTF8 encoding and default allocator.
Definition pointer.h:79
SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator.
Definition reader.h:537
JSON schema document.
Definition schema.h:1501
JSON Schema Validator.
Definition schema.h:1767
Represents an in-memory output stream.
Represents a JSON value. Use Value for UTF8 encoding and default allocator.
Definition document.h:578
Default memory allocator used by the parser and DOM.
Definition allocators.h:115
Writer with indentation and spacing.
JSON writer.
Definition writer.h:89
GenericSchemaDocument< Value, CrtAllocator > SchemaDocument
Definition fwd.h:138
GenericPointer< Value, CrtAllocator > Pointer
Definition fwd.h:128
GenericSchemaValidator< SchemaDocument, BaseReaderHandler< UTF8< char >, void >, CrtAllocator > SchemaValidator
Definition fwd.h:147
GenericStringStream< UTF8< char > > StringStream
Definition fwd.h:49
GenericMemoryBuffer< CrtAllocator > MemoryBuffer
Definition fwd.h:76
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition fwd.h:54
GenericValue< UTF8< char >, MemoryPoolAllocator< CrtAllocator > > Value
Definition fwd.h:116
GenericDocument< UTF8< char >, MemoryPoolAllocator< CrtAllocator >, CrtAllocator > Document
Definition fwd.h:121
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition fwd.h:90
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Definition fwd.h:61
IGenericRemoteSchemaDocumentProvider< SchemaDocument > IRemoteSchemaDocumentProvider
Definition fwd.h:139
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition rapidjson.h:121
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition rapidjson.h:124
Definition UTF8.h:7
common definitions and configuration
ASCII encoding.
Definition encodings.h:542
Dynamically select encoding according to stream's runtime-specified UTF encoding type.
Definition encodings.h:615
Default implementation of Handler.
Definition reader.h:196
A read-write string stream.
Definition stream.h:188
Name-value pair in a JSON object value.
Definition document.h:66
Represents an in-memory output byte stream.
Reference to a constant string (not taking a copy)
Definition document.h:256
Read-only string stream.
Definition stream.h:154
Represents an in-memory input byte stream.
Encoding conversion.
Definition encodings.h:658
UTF-16 big endian encoding.
Definition encodings.h:375
UTF-16 encoding.
Definition encodings.h:269
UTF-16 little endian encoding.
Definition encodings.h:342
UTF-32 big endian encoding.
Definition encodings.h:496
UTF-32 encoding.
Definition encodings.h:418
UTF-32 little endian enocoding.
Definition encodings.h:457
UTF-8 encoding.
Definition encodings.h:96