fwd.h Source File

fwd.h Source File#

Composable Kernel: fwd.h Source File
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.
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>
25struct UTF8;
26template <typename CharType>
27struct UTF16;
28template <typename CharType>
29struct UTF16BE;
30template <typename CharType>
31struct UTF16LE;
32template <typename CharType>
33struct UTF32;
34template <typename CharType>
35struct UTF32BE;
36template <typename CharType>
37struct UTF32LE;
38template <typename CharType>
39struct ASCII;
40template <typename CharType>
41struct AutoUTF;
42
43template <typename SourceEncoding, typename TargetEncoding>
44struct Transcoder;
45
46// allocators.h
47
48class CrtAllocator;
49
50template <typename BaseAllocator>
52
53// stream.h
54
55template <typename Encoding>
57
59
60template <typename Encoding>
62
64
65// stringbuffer.h
66
67template <typename Encoding, typename Allocator>
69
71
72// filereadstream.h
73
74class FileReadStream;
75
76// filewritestream.h
77
78class FileWriteStream;
79
80// memorybuffer.h
81
82template <typename Allocator>
84
86
87// memorystream.h
88
89struct MemoryStream;
90
91// reader.h
92
93template <typename Encoding, typename Derived>
95
96template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator>
97class GenericReader;
98
100
101// writer.h
102
103template <typename OutputStream,
104 typename SourceEncoding,
105 typename TargetEncoding,
106 typename StackAllocator,
107 unsigned writeFlags>
108class Writer;
109
110// prettywriter.h
111
112template <typename OutputStream,
113 typename SourceEncoding,
114 typename TargetEncoding,
115 typename StackAllocator,
116 unsigned writeFlags>
117class PrettyWriter;
118
119// document.h
120
121template <typename Encoding, typename Allocator>
122class GenericMember;
123
124template <bool Const, typename Encoding, typename Allocator>
126
127template <typename CharType>
128struct GenericStringRef;
129
130template <typename Encoding, typename Allocator>
131class GenericValue;
132
134
135template <typename Encoding, typename Allocator, typename StackAllocator>
136class GenericDocument;
137
139
140// pointer.h
141
142template <typename ValueType, typename Allocator>
143class GenericPointer;
144
146
147// schema.h
148
149template <typename SchemaDocumentType>
151
152template <typename ValueT, typename Allocator>
154
157
158template <typename SchemaDocumentType, typename OutputHandler, typename StateAllocator>
160
163
165
166#endif // RAPIDJSON_RAPIDJSONFWD_H_
C-runtime library allocator.
Definition allocators.h:83
File byte stream for input using fread().
Definition filereadstream.h:35
Wrapper of C file stream for output using fwrite().
Definition filewritestream.h:33
A document for parsing JSON text as DOM.
Definition document.h:3143
Name-value pair in a JSON object value.
Definition document.h:122
(Constant) member iterator for a JSON object value
Definition document.h:194
Represents a JSON Pointer. Use Pointer for UTF8 encoding and default allocator.
Definition pointer.h:76
SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator.
Definition reader.h:604
JSON schema document.
Definition schema.h:2260
JSON Schema Validator.
Definition schema.h:3173
Represents an in-memory output stream.
Definition stringbuffer.h:42
Represents a JSON value. Use Value for UTF8 encoding and default allocator.
Definition document.h:822
Definition schema.h:2227
Default memory allocator used by the parser and DOM.
Definition allocators.h:130
Writer with indentation and spacing.
Definition prettywriter.h:55
JSON writer.
Definition writer.h:99
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Definition document.h:3124
GenericDocument< UTF8<> > Document
GenericDocument with UTF8 encoding.
Definition document.h:3611
GenericSchemaDocument< Value, CrtAllocator > SchemaDocument
Definition fwd.h:155
GenericPointer< Value, CrtAllocator > Pointer
Definition fwd.h:145
GenericSchemaValidator< SchemaDocument, BaseReaderHandler< UTF8< char >, void >, CrtAllocator > SchemaValidator
Definition fwd.h:162
GenericStringStream< UTF8< char > > StringStream
Definition fwd.h:58
GenericMemoryBuffer< CrtAllocator > MemoryBuffer
Definition fwd.h:85
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition fwd.h:63
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition fwd.h:99
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Definition fwd.h:70
IGenericRemoteSchemaDocumentProvider< SchemaDocument > IRemoteSchemaDocumentProvider
Definition fwd.h:156
#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
common definitions and configuration
ASCII encoding.
Definition encodings.h:684
Dynamically select encoding according to stream's runtime-specified UTF encoding type.
Definition encodings.h:771
Default implementation of Handler.
Definition reader.h:208
A read-write string stream.
Definition stream.h:210
Represents an in-memory output byte stream.
Definition memorybuffer.h:39
Reference to a constant string (not taking a copy).
Definition document.h:417
Read-only string stream.
Definition stream.h:163
Represents an in-memory input byte stream.
Definition memorystream.h:42
Encoding conversion.
Definition encodings.h:823
UTF-16 big endian encoding.
Definition encodings.h:494
UTF-16 encoding.
Definition encodings.h:367
UTF-16 little endian encoding.
Definition encodings.h:456
UTF-32 big endian encoding.
Definition encodings.h:633
UTF-32 encoding.
Definition encodings.h:542
UTF-32 little endian enocoding.
Definition encodings.h:589
UTF-8 encoding.
Definition encodings.h:98