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 
24 template <typename CharType>
25 struct UTF8;
26 template <typename CharType>
27 struct UTF16;
28 template <typename CharType>
29 struct UTF16BE;
30 template <typename CharType>
31 struct UTF16LE;
32 template <typename CharType>
33 struct UTF32;
34 template <typename CharType>
35 struct UTF32BE;
36 template <typename CharType>
37 struct UTF32LE;
38 template <typename CharType>
39 struct ASCII;
40 template <typename CharType>
41 struct AutoUTF;
42 
43 template <typename SourceEncoding, typename TargetEncoding>
44 struct Transcoder;
45 
46 // allocators.h
47 
48 class CrtAllocator;
49 
50 template <typename BaseAllocator>
52 
53 // stream.h
54 
55 template <typename Encoding>
57 
59 
60 template <typename Encoding>
62 
64 
65 // stringbuffer.h
66 
67 template <typename Encoding, typename Allocator>
69 
71 
72 // filereadstream.h
73 
74 class FileReadStream;
75 
76 // filewritestream.h
77 
78 class FileWriteStream;
79 
80 // memorybuffer.h
81 
82 template <typename Allocator>
84 
86 
87 // memorystream.h
88 
89 struct MemoryStream;
90 
91 // reader.h
92 
93 template <typename Encoding, typename Derived>
95 
96 template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator>
98 
100 
101 // writer.h
102 
103 template <typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator,
104  unsigned writeFlags>
105 class Writer;
106 
107 // prettywriter.h
108 
109 template <typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator,
110  unsigned writeFlags>
112 
113 // document.h
114 
115 template <typename Encoding, typename Allocator>
116 struct GenericMember;
117 
118 template <bool Const, typename Encoding, typename Allocator>
120 
121 template <typename CharType>
122 struct GenericStringRef;
123 
124 template <typename Encoding, typename Allocator>
126 
128 
129 template <typename Encoding, typename Allocator, typename StackAllocator>
131 
133 
134 // pointer.h
135 
136 template <typename ValueType, typename Allocator>
138 
140 
141 // schema.h
142 
143 template <typename SchemaDocumentType>
145 
146 template <typename ValueT, typename Allocator>
148 
151 
152 template <typename SchemaDocumentType, typename OutputHandler, typename StateAllocator>
154 
156 
158 
159 #endif // RAPIDJSON_RAPIDJSONFWD_H_
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:97
Encoding conversion.
Definition: encodings.h:817
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition: fwd.h:61
Represents an in-memory input byte stream.
Definition: memorystream.h:42
JSON writer.
Definition: fwd.h:105
Default implementation of Handler.
Definition: fwd.h:94
ASCII encoding.
Definition: encodings.h:680
JSON schema document.
Definition: fwd.h:147
Read-only string stream.
Definition: fwd.h:56
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition: rapidjson.h:126
(Constant) member iterator for a JSON object value
Definition: document.h:105
Represents an in-memory output byte stream.
Definition: fwd.h:83
Represents a JSON value. Use Value for UTF8 encoding and default allocator.
Definition: document.h:54
UTF-16 encoding.
Definition: encodings.h:364
Wrapper of C file stream for output using fwrite().
GenericMemoryBuffer< CrtAllocator > MemoryBuffer
Definition: fwd.h:83
GenericPointer< Value, CrtAllocator > Pointer
Definition: fwd.h:137
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition: rapidjson.h:121
A document for parsing JSON text as DOM.
Definition: document.h:57
A read-write string stream.
Definition: fwd.h:61
UTF-8 encoding.
Definition: encodings.h:96
Dynamically select encoding according to stream&#39;s runtime-specified UTF encoding type.
Definition: encodings.h:766
SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator.
Definition: fwd.h:97
Represents a JSON Pointer. Use Pointer for UTF8 encoding and default allocator.
Definition: fwd.h:137
GenericValue< UTF8< char >, MemoryPoolAllocator< CrtAllocator > > Value
Definition: fwd.h:125
UTF-32 encoding.
Definition: encodings.h:538
Name-value pair in a JSON object value.
Definition: document.h:67
UTF-16 big endian encoding.
Definition: encodings.h:489
GenericStringStream< UTF8< char > > StringStream
Definition: fwd.h:56
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Definition: fwd.h:68
UTF-32 big endian encoding.
Definition: encodings.h:629
C-runtime library allocator.
Definition: allocators.h:74
Represents an in-memory output stream.
Definition: fwd.h:68
GenericDocument< UTF8< char >, MemoryPoolAllocator< CrtAllocator >, CrtAllocator > Document
Definition: fwd.h:130
File byte stream for input using fread().
common definitions and configuration
IGenericRemoteSchemaDocumentProvider< SchemaDocument > IRemoteSchemaDocumentProvider
Definition: fwd.h:150
GenericSchemaValidator< SchemaDocument, BaseReaderHandler< UTF8< char >, void >, CrtAllocator > SchemaValidator
Definition: fwd.h:153
Reference to a constant string (not taking a copy)
Definition: document.h:334
GenericSchemaDocument< Value, CrtAllocator > SchemaDocument
Definition: fwd.h:147
UTF-16 little endian encoding.
Definition: encodings.h:451
Default memory allocator used by the parser and DOM.
Definition: allocators.h:121
JSON Schema Validator.
Definition: fwd.h:153
UTF-32 little endian enocoding.
Definition: encodings.h:585
Writer with indentation and spacing.
Definition: fwd.h:111


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:53