| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
1 |
// Tencent is pleased to support the open source community by making RapidJSON available. |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
2 |
// |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
3 |
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
4 |
// |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
5 |
// Licensed under the MIT License (the "License"); you may not use this file except |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
6 |
// in compliance with the License. You may obtain a copy of the License at |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
7 |
// |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
8 |
// http://opensource.org/licenses/MIT |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
9 |
// |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
10 |
// Unless required by applicable law or agreed to in writing, software distributed |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
11 |
// under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
12 |
// CONDITIONS OF ANY KIND, either express or implied. See the License for the |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
13 |
// specific language governing permissions and limitations under the License. |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
14 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
15 |
#ifndef CEREAL_RAPIDJSON_FWD_H_ |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
16 |
#define CEREAL_RAPIDJSON_FWD_H_ |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
17 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
18 |
#include "rapidjson.h" |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
19 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
20 |
CEREAL_RAPIDJSON_NAMESPACE_BEGIN |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
21 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
22 |
// encodings.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
23 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
24 |
template<typename CharType> struct UTF8; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
25 |
template<typename CharType> struct UTF16; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
26 |
template<typename CharType> struct UTF16BE; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
27 |
template<typename CharType> struct UTF16LE; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
28 |
template<typename CharType> struct UTF32; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
29 |
template<typename CharType> struct UTF32BE; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
30 |
template<typename CharType> struct UTF32LE; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
31 |
template<typename CharType> struct ASCII; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
32 |
template<typename CharType> struct AutoUTF; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
33 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
34 |
template<typename SourceEncoding, typename TargetEncoding> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
35 |
struct Transcoder; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
36 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
37 |
// allocators.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
38 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
39 |
class CrtAllocator; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
40 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
41 |
template <typename BaseAllocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
42 |
class MemoryPoolAllocator; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
43 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
44 |
// stream.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
45 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
46 |
template <typename Encoding> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
47 |
struct GenericStringStream; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
48 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
49 |
typedef GenericStringStream<UTF8<char> > StringStream; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
50 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
51 |
template <typename Encoding> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
52 |
struct GenericInsituStringStream; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
53 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
54 |
typedef GenericInsituStringStream<UTF8<char> > InsituStringStream; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
55 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
56 |
// stringbuffer.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
57 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
58 |
template <typename Encoding, typename Allocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
59 |
class GenericStringBuffer; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
60 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
61 |
typedef GenericStringBuffer<UTF8<char>, CrtAllocator> StringBuffer; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
62 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
63 |
// filereadstream.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
64 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
65 |
class FileReadStream; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
66 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
67 |
// filewritestream.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
68 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
69 |
class FileWriteStream; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
70 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
71 |
// memorybuffer.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
72 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
73 |
template <typename Allocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
74 |
struct GenericMemoryBuffer; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
75 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
76 |
typedef GenericMemoryBuffer<CrtAllocator> MemoryBuffer; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
77 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
78 |
// memorystream.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
79 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
80 |
struct MemoryStream; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
81 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
82 |
// reader.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
83 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
84 |
template<typename Encoding, typename Derived> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
85 |
struct BaseReaderHandler; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
86 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
87 |
template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
88 |
class GenericReader; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
89 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
90 |
typedef GenericReader<UTF8<char>, UTF8<char>, CrtAllocator> Reader; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
91 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
92 |
// writer.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
93 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
94 |
template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
95 |
class Writer; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
96 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
97 |
// prettywriter.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
98 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
99 |
template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
100 |
class PrettyWriter; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
101 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
102 |
// document.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
103 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
104 |
template <typename Encoding, typename Allocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
105 |
struct GenericMember; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
106 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
107 |
template <bool Const, typename Encoding, typename Allocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
108 |
class GenericMemberIterator; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
109 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
110 |
template<typename CharType> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
111 |
struct GenericStringRef; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
112 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
113 |
template <typename Encoding, typename Allocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
114 |
class GenericValue; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
115 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
116 |
typedef GenericValue<UTF8<char>, MemoryPoolAllocator<CrtAllocator> > Value; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
117 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
118 |
template <typename Encoding, typename Allocator, typename StackAllocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
119 |
class GenericDocument; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
120 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
121 |
typedef GenericDocument<UTF8<char>, MemoryPoolAllocator<CrtAllocator>, CrtAllocator> Document; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
122 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
123 |
// pointer.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
124 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
125 |
template <typename ValueType, typename Allocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
126 |
class GenericPointer; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
127 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
128 |
typedef GenericPointer<Value, CrtAllocator> Pointer; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
129 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
130 |
// schema.h |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
131 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
132 |
template <typename SchemaDocumentType> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
133 |
class IGenericRemoteSchemaDocumentProvider; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
134 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
135 |
template <typename ValueT, typename Allocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
136 |
class GenericSchemaDocument; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
137 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
138 |
typedef GenericSchemaDocument<Value, CrtAllocator> SchemaDocument; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
139 |
typedef IGenericRemoteSchemaDocumentProvider<SchemaDocument> IRemoteSchemaDocumentProvider; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
140 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
141 |
template < |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
142 |
typename SchemaDocumentType, |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
143 |
typename OutputHandler, |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
144 |
typename StateAllocator> |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
145 |
class GenericSchemaValidator; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
146 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
147 |
typedef GenericSchemaValidator<SchemaDocument, BaseReaderHandler<UTF8<char>, void>, CrtAllocator> SchemaValidator; |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
148 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
149 |
CEREAL_RAPIDJSON_NAMESPACE_END |
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
150 |
|
| 6c5f2c01 |
sago007 |
2017-03-15 17:56 |
151 |
#endif // CEREAL_RAPIDJSON_RAPIDJSONFWD_H_ |
|
|
1970-01-01 00:00 |
152 |
|