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