DeepCover Embedded Security in IoT: Public-key Secured Data Paths

Dependencies:   MaximInterface

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers fwd.h Source File

fwd.h

00001 // Tencent is pleased to support the open source community by making RapidJSON available.
00002 // 
00003 // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
00004 //
00005 // Licensed under the MIT License (the "License"); you may not use this file except
00006 // in compliance with the License. You may obtain a copy of the License at
00007 //
00008 // http://opensource.org/licenses/MIT
00009 //
00010 // Unless required by applicable law or agreed to in writing, software distributed 
00011 // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
00012 // CONDITIONS OF ANY KIND, either express or implied. See the License for the 
00013 // specific language governing permissions and limitations under the License.
00014 
00015 #ifndef RAPIDJSON_FWD_H_
00016 #define RAPIDJSON_FWD_H_
00017 
00018 #include "rapidjson.h"
00019 
00020 RAPIDJSON_NAMESPACE_BEGIN
00021 
00022 // encodings.h
00023 
00024 template<typename CharType> struct UTF8;
00025 template<typename CharType> struct UTF16;
00026 template<typename CharType> struct UTF16BE;
00027 template<typename CharType> struct UTF16LE;
00028 template<typename CharType> struct UTF32;
00029 template<typename CharType> struct UTF32BE;
00030 template<typename CharType> struct UTF32LE;
00031 template<typename CharType> struct ASCII;
00032 template<typename CharType> struct AutoUTF;
00033 
00034 template<typename SourceEncoding, typename TargetEncoding>
00035 struct Transcoder;
00036 
00037 // allocators.h
00038 
00039 class CrtAllocator;
00040 
00041 template <typename BaseAllocator>
00042 class MemoryPoolAllocator;
00043 
00044 // stream.h
00045 
00046 template <typename Encoding>
00047 struct GenericStringStream;
00048 
00049 typedef GenericStringStream<UTF8<char> > StringStream;
00050 
00051 template <typename Encoding>
00052 struct GenericInsituStringStream;
00053 
00054 typedef GenericInsituStringStream<UTF8<char> > InsituStringStream;
00055 
00056 // stringbuffer.h
00057 
00058 template <typename Encoding, typename Allocator>
00059 class GenericStringBuffer;
00060 
00061 typedef GenericStringBuffer<UTF8<char>, CrtAllocator> StringBuffer;
00062 
00063 // filereadstream.h
00064 
00065 class FileReadStream;
00066 
00067 // filewritestream.h
00068 
00069 class FileWriteStream;
00070 
00071 // memorybuffer.h
00072 
00073 template <typename Allocator>
00074 struct GenericMemoryBuffer;
00075 
00076 typedef GenericMemoryBuffer<CrtAllocator> MemoryBuffer;
00077 
00078 // memorystream.h
00079 
00080 struct MemoryStream;
00081 
00082 // reader.h
00083 
00084 template<typename Encoding, typename Derived>
00085 struct BaseReaderHandler;
00086 
00087 template <typename SourceEncoding, typename TargetEncoding, typename StackAllocator>
00088 class GenericReader;
00089 
00090 typedef GenericReader<UTF8<char>, UTF8<char>, CrtAllocator> Reader;
00091 
00092 // writer.h
00093 
00094 template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
00095 class Writer;
00096 
00097 // prettywriter.h
00098 
00099 template<typename OutputStream, typename SourceEncoding, typename TargetEncoding, typename StackAllocator, unsigned writeFlags>
00100 class PrettyWriter;
00101 
00102 // document.h
00103 
00104 template <typename Encoding, typename Allocator> 
00105 struct GenericMember;
00106 
00107 template <bool Const, typename Encoding, typename Allocator>
00108 class GenericMemberIterator;
00109 
00110 template<typename CharType>
00111 struct GenericStringRef;
00112 
00113 template <typename Encoding, typename Allocator> 
00114 class GenericValue;
00115 
00116 typedef GenericValue<UTF8<char>, MemoryPoolAllocator<CrtAllocator> > Value;
00117 
00118 template <typename Encoding, typename Allocator, typename StackAllocator>
00119 class GenericDocument;
00120 
00121 typedef GenericDocument<UTF8<char>, MemoryPoolAllocator<CrtAllocator>, CrtAllocator> Document;
00122 
00123 // pointer.h
00124 
00125 template <typename ValueType, typename Allocator>
00126 class GenericPointer;
00127 
00128 typedef GenericPointer<Value, CrtAllocator> Pointer;
00129 
00130 // schema.h
00131 
00132 template <typename SchemaDocumentType>
00133 class IGenericRemoteSchemaDocumentProvider;
00134 
00135 template <typename ValueT, typename Allocator>
00136 class GenericSchemaDocument;
00137 
00138 typedef GenericSchemaDocument<Value, CrtAllocator> SchemaDocument;
00139 typedef IGenericRemoteSchemaDocumentProvider<SchemaDocument> IRemoteSchemaDocumentProvider;
00140 
00141 template <
00142     typename SchemaDocumentType,
00143     typename OutputHandler,
00144     typename StateAllocator>
00145 class GenericSchemaValidator;
00146 
00147 typedef GenericSchemaValidator<SchemaDocument, BaseReaderHandler<UTF8<char>, void>, CrtAllocator> SchemaValidator;
00148 
00149 RAPIDJSON_NAMESPACE_END
00150 
00151 #endif // RAPIDJSON_RAPIDJSONFWD_H_