Loading...
Searching...
No Matches
fwd.h
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
20RAPIDJSON_NAMESPACE_BEGIN
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>
42class MemoryPoolAllocator;
43
44// stream.h
45
46template <typename Encoding>
47struct GenericStringStream;
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:62
File byte stream for input using fread().
Definition filereadstream.h:34
Wrapper of C file stream for input using fread().
Definition filewritestream.h:32
A document for parsing JSON text as DOM.
Definition document.h:2039
(Constant) member iterator for a JSON object value
Definition document.h:104
Represents a JSON Pointer. Use Pointer for UTF8 encoding and default allocator.
Definition pointer.h:81
SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator.
Definition reader.h:466
JSON schema document.
Definition schema.h:1320
JSON Schema Validator.
Definition schema.h:1556
Represents an in-memory output stream.
Definition stringbuffer.h:41
Represents a JSON value. Use Value for UTF8 encoding and default allocator.
Definition document.h:553
Writer with indentation and spacing.
Definition prettywriter.h:43
JSON writer.
Definition writer.h:87
common definitions and configuration
Default implementation of Handler.
Definition reader.h:196
A read-write string stream.
Definition stream.h:144
Name-value pair in a JSON object value.
Definition document.h:74
Represents an in-memory output byte stream.
Definition memorybuffer.h:37
Reference to a constant string (not taking a copy)
Definition document.h:262
Represents an in-memory input byte stream.
Definition memorystream.h:40