Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
fwd.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2// Tencent is pleased to support the open source community by making RapidJSON available.
3//
4// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
5//
6// Licensed under the MIT License (the "License"); you may not use this file except
7// in compliance with the License. You may obtain a copy of the License at
8//
9// http://opensource.org/licenses/MIT
10//
11// Unless required by applicable law or agreed to in writing, software distributed
12// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
13// CONDITIONS OF ANY KIND, either express or implied. See the License for the
14// specific language governing permissions and limitations under the License.
15
16#ifndef RAPIDJSON_FWD_H_
17#define RAPIDJSON_FWD_H_
18
19#include "rapidjson.h"
20
22
23// encodings.h
24
25template<typename CharType> struct UTF8;
26template<typename CharType> struct UTF16;
27template<typename CharType> struct UTF16BE;
28template<typename CharType> struct UTF16LE;
29template<typename CharType> struct UTF32;
30template<typename CharType> struct UTF32BE;
31template<typename CharType> struct UTF32LE;
32template<typename CharType> struct ASCII;
33template<typename CharType> struct AutoUTF;
34
35template<typename SourceEncoding, typename TargetEncoding>
36struct Transcoder;
37
38// allocators.h
39
40class CrtAllocator;
41
42template <typename BaseAllocator>
44
45// stream.h
46
47template <typename Encoding>
49
51
52template <typename Encoding>
54
56
57// stringbuffer.h
58
59template <typename Encoding, typename Allocator>
61
63
64// filereadstream.h
65
66class FileReadStream;
67
68// filewritestream.h
69
70class FileWriteStream;
71
72// memorybuffer.h
73
74template <typename Allocator>
76
78
79// memorystream.h
80
81struct MemoryStream;
82
83// reader.h
84
85template<typename Encoding, typename Derived>
87
88template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator>
89class GenericReader;
90
92
93// writer.h
94
95template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
96class Writer;
97
98// prettywriter.h
99
100template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
101class PrettyWriter;
102
103// document.h
104
105template <typename Encoding, typename Allocator>
106class GenericMember;
107
108template <bool Const, typename Encoding, typename Allocator>
110
111template<typename CharType>
112struct GenericStringRef;
113
114template <typename Encoding, typename Allocator>
115class GenericValue;
116
118
119template <typename Encoding, typename Allocator, typename StackAllocator>
120class GenericDocument;
121
123
124// pointer.h
125
126template <typename ValueType, typename Allocator>
127class GenericPointer;
128
130
131// schema.h
132
133template <typename SchemaDocumentType>
135
136template <typename ValueT, typename Allocator>
138
141
142template <
143 typename SchemaDocumentType,
144 typename OutputHandler,
145 typename StateAllocator>
147
149
151
152#endif // RAPIDJSON_RAPIDJSONFWD_H_
C-runtime library allocator.
Definition allocators.h:76
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:2155
(Constant) member iterator for a JSON object value
Definition document.h:133
Name-value pair in a JSON object value.
Definition document.h:67
Represents a JSON Pointer. Use Pointer for UTF8 encoding and default allocator.
Definition pointer.h:80
SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator.
Definition reader.h:539
JSON schema document.
Definition schema.h:1502
JSON Schema Validator.
Definition schema.h:1768
Represents an in-memory output stream.
Represents a JSON value. Use Value for UTF8 encoding and default allocator.
Definition document.h:609
Default memory allocator used by the parser and DOM.
Definition allocators.h:116
Writer with indentation and spacing.
JSON writer.
Definition writer.h:91
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Definition document.h:2141
GenericDocument< UTF8<> > Document
GenericDocument with UTF8 encoding.
Definition document.h:2537
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition rapidjson.h:122
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition rapidjson.h:125
common definitions and configuration
GenericReader< UTF8<>, UTF8<> > Reader
Reader with UTF8 encoding and default allocator.
Definition reader.h:2219
ASCII encoding.
Definition encodings.h:543
Dynamically select encoding according to stream's runtime-specified UTF encoding type.
Definition encodings.h:616
Default implementation of Handler.
Definition reader.h:198
A read-write string stream.
Definition stream.h:189
Represents an in-memory output byte stream.
Reference to a constant string (not taking a copy)
Definition document.h:287
Read-only string stream.
Definition stream.h:155
Represents an in-memory input byte stream.
Encoding conversion.
Definition encodings.h:659
UTF-16 big endian encoding.
Definition encodings.h:376
UTF-16 little endian encoding.
Definition encodings.h:343
UTF-16 encoding.
Definition encodings.h:270
UTF-32 big endian encoding.
Definition encodings.h:497
UTF-32 little endian enocoding.
Definition encodings.h:458
UTF-32 encoding.
Definition encodings.h:419
UTF-8 encoding.
Definition encodings.h:97