/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/fwd.h Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/fwd.h Source File#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/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 
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>
56 struct GenericStringStream;
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>
83 struct GenericMemoryBuffer;
84 
86 
87 // memorystream.h
88 
89 struct MemoryStream;
90 
91 // reader.h
92 
93 template <typename Encoding, typename Derived>
94 struct BaseReaderHandler;
95 
96 template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator>
97 class GenericReader;
98 
100 
101 // writer.h
102 
103 template <typename OutputStream,
104  typename SourceEncoding,
105  typename TargetEncoding,
106  typename StackAllocator,
107  unsigned writeFlags>
108 class Writer;
109 
110 // prettywriter.h
111 
112 template <typename OutputStream,
113  typename SourceEncoding,
114  typename TargetEncoding,
115  typename StackAllocator,
116  unsigned writeFlags>
117 class PrettyWriter;
118 
119 // document.h
120 
121 template <typename Encoding, typename Allocator>
122 class GenericMember;
123 
124 template <bool Const, typename Encoding, typename Allocator>
126 
127 template <typename CharType>
128 struct GenericStringRef;
129 
130 template <typename Encoding, typename Allocator>
131 class GenericValue;
132 
134 
135 template <typename Encoding, typename Allocator, typename StackAllocator>
136 class GenericDocument;
137 
139 
140 // pointer.h
141 
142 template <typename ValueType, typename Allocator>
143 class GenericPointer;
144 
146 
147 // schema.h
148 
149 template <typename SchemaDocumentType>
151 
152 template <typename ValueT, typename Allocator>
154 
157 
158 template <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
GenericSchemaDocument< Value, CrtAllocator > SchemaDocument
Definition: fwd.h:153
GenericPointer< Value, CrtAllocator > Pointer
Definition: fwd.h:143
GenericSchemaValidator< SchemaDocument, BaseReaderHandler< UTF8< char >, void >, CrtAllocator > SchemaValidator
Definition: fwd.h:159
GenericStringStream< UTF8< char > > StringStream
Definition: fwd.h:56
GenericMemoryBuffer< CrtAllocator > MemoryBuffer
Definition: fwd.h:83
GenericInsituStringStream< UTF8< char > > InsituStringStream
Definition: fwd.h:61
GenericValue< UTF8< char >, MemoryPoolAllocator< CrtAllocator > > Value
Definition: fwd.h:131
GenericDocument< UTF8< char >, MemoryPoolAllocator< CrtAllocator >, CrtAllocator > Document
Definition: fwd.h:136
GenericReader< UTF8< char >, UTF8< char >, CrtAllocator > Reader
Definition: fwd.h:97
GenericStringBuffer< UTF8< char >, CrtAllocator > StringBuffer
Definition: fwd.h:68
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