json-forwards.h
Go to the documentation of this file.
1 
5 // //////////////////////////////////////////////////////////////////////
6 // Beginning of content of file: LICENSE
7 // //////////////////////////////////////////////////////////////////////
8 
9 /*
10 The JsonCpp library's source code, including accompanying documentation,
11 tests and demonstration applications, are licensed under the following
12 conditions...
13 
14 The author (Baptiste Lepilleur) explicitly disclaims copyright in all
15 jurisdictions which recognize such a disclaimer. In such jurisdictions,
16 this software is released into the Public Domain.
17 
18 In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
19 2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is
20 released under the terms of the MIT License (see below).
21 
22 In jurisdictions which recognize Public Domain property, the user of this
23 software may choose to accept it either as 1) Public Domain, 2) under the
24 conditions of the MIT License (see below), or 3) under the terms of dual
25 Public Domain/MIT License conditions described here, as they choose.
26 
27 The MIT License is about as close to Public Domain as a license can get, and is
28 described in clear, concise terms at:
29 
30  http://en.wikipedia.org/wiki/MIT_License
31 
32 The full text of the MIT License follows:
33 
34 ========================================================================
35 Copyright (c) 2007-2010 Baptiste Lepilleur
36 
37 Permission is hereby granted, free of charge, to any person
38 obtaining a copy of this software and associated documentation
39 files (the "Software"), to deal in the Software without
40 restriction, including without limitation the rights to use, copy,
41 modify, merge, publish, distribute, sublicense, and/or sell copies
42 of the Software, and to permit persons to whom the Software is
43 furnished to do so, subject to the following conditions:
44 
45 The above copyright notice and this permission notice shall be
46 included in all copies or substantial portions of the Software.
47 
48 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
49 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
51 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
52 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
53 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
54 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55 SOFTWARE.
56 ========================================================================
57 (END LICENSE TEXT)
58 
59 The MIT license is compatible with both the GPL and commercial
60 software, affording one all of the rights of Public Domain with the
61 minor nuisance of being required to keep the above copyright notice
62 and license text in the source code. Note also that by accepting the
63 Public Domain "license" you can re-license your copy using whatever
64 license you like.
65 
66 */
67 
68 // //////////////////////////////////////////////////////////////////////
69 // End of content of file: LICENSE
70 // //////////////////////////////////////////////////////////////////////
71 
72 
73 
74 
75 
76 #ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
77 # define JSON_FORWARD_AMALGATED_H_INCLUDED
78 #define JSON_IS_AMALGATED
81 
82 // //////////////////////////////////////////////////////////////////////
83 // Beginning of content of file: include/json/config.h
84 // //////////////////////////////////////////////////////////////////////
85 
86 // Copyright 2007-2010 Baptiste Lepilleur
87 // Distributed under MIT license, or public domain if desired and
88 // recognized in your jurisdiction.
89 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
90 
91 #ifndef JSON_CONFIG_H_INCLUDED
92 # define JSON_CONFIG_H_INCLUDED
93 
95 //# define JSON_IN_CPPTL 1
96 
98 //# define JSON_USE_CPPTL 1
101 //# define JSON_USE_CPPTL_SMALLMAP 1
105 //# define JSON_VALUE_USE_INTERNAL_MAP 1
110 //# define JSON_USE_SIMPLE_INTERNAL_ALLOCATOR 1
111 
114 # define JSON_USE_EXCEPTION 1
115 
119 #define JSON_IS_AMALGAMATION
120 
121 
122 # ifdef JSON_IN_CPPTL
123 # include <cpptl/config.h>
124 # ifndef JSON_USE_CPPTL
125 # define JSON_USE_CPPTL 1
126 # endif
127 # endif
128 
129 # ifdef JSON_IN_CPPTL
130 # define JSON_API CPPTL_API
131 # elif defined(JSON_DLL_BUILD)
132 # define JSON_API __declspec(dllexport)
133 # elif defined(JSON_DLL)
134 # define JSON_API __declspec(dllimport)
135 # else
136 # define JSON_API
137 # endif
138 
139 // If JSON_NO_INT64 is defined, then Json only support C++ "int" type for integer
140 // Storages, and 64 bits integer support is disabled.
141 // #define JSON_NO_INT64 1
142 
143 #if defined(_MSC_VER) && _MSC_VER <= 1200 // MSVC 6
144 // Microsoft Visual Studio 6 only support conversion from __int64 to double
145 // (no conversion from unsigned __int64).
146 #define JSON_USE_INT64_DOUBLE_CONVERSION 1
147 #endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6
148 
149 #if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008
150 # define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
152 #endif
153 
154 #if !defined(JSONCPP_DEPRECATED)
155 # define JSONCPP_DEPRECATED(message)
156 #endif // if !defined(JSONCPP_DEPRECATED)
157 
158 namespace Json {
159  typedef int Int;
160  typedef unsigned int UInt;
161 # if defined(JSON_NO_INT64)
162  typedef int LargestInt;
163  typedef unsigned int LargestUInt;
164 # undef JSON_HAS_INT64
165 # else // if defined(JSON_NO_INT64)
166  // For Microsoft Visual use specific types as long long is not supported
167 # if defined(_MSC_VER) // Microsoft Visual Studio
168  typedef __int64 Int64;
169  typedef unsigned __int64 UInt64;
170 # else // if defined(_MSC_VER) // Other platforms, use long long
171  typedef long long int Int64;
172  typedef unsigned long long int UInt64;
173 # endif // if defined(_MSC_VER)
174  typedef Int64 LargestInt;
175  typedef UInt64 LargestUInt;
176 # define JSON_HAS_INT64
177 # endif // if defined(JSON_NO_INT64)
178 } // end namespace Json
179 
180 
181 #endif // JSON_CONFIG_H_INCLUDED
182 
183 // //////////////////////////////////////////////////////////////////////
184 // End of content of file: include/json/config.h
185 // //////////////////////////////////////////////////////////////////////
186 
187 
188 
189 
190 
191 
192 // //////////////////////////////////////////////////////////////////////
193 // Beginning of content of file: include/json/forwards.h
194 // //////////////////////////////////////////////////////////////////////
195 
196 // Copyright 2007-2010 Baptiste Lepilleur
197 // Distributed under MIT license, or public domain if desired and
198 // recognized in your jurisdiction.
199 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
200 
201 #ifndef JSON_FORWARDS_H_INCLUDED
202 # define JSON_FORWARDS_H_INCLUDED
203 
204 #if !defined(JSON_IS_AMALGAMATION)
205 # include "config.h"
206 #endif // if !defined(JSON_IS_AMALGAMATION)
207 
208 namespace Json {
209 
210  // writer.h
211  class FastWriter;
212  class StyledWriter;
213 
214  // reader.h
215  class Reader;
216 
217  // features.h
218  class Features;
219 
220  // value.h
221  typedef unsigned int ArrayIndex;
222  class StaticString;
223  class Path;
224  class PathArgument;
225  class Value;
226  class ValueIteratorBase;
227  class ValueIterator;
228  class ValueConstIterator;
229 #ifdef JSON_VALUE_USE_INTERNAL_MAP
230  class ValueMapAllocator;
231  class ValueInternalLink;
232  class ValueInternalArray;
233  class ValueInternalMap;
234 #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP
235 
236 } // namespace Json
237 
238 
239 #endif // JSON_FORWARDS_H_INCLUDED
240 
241 // //////////////////////////////////////////////////////////////////////
242 // End of content of file: include/json/forwards.h
243 // //////////////////////////////////////////////////////////////////////
244 
245 
246 
247 
248 
249 #endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
unsigned int UInt
UInt64 LargestUInt
Experimental and untested: represents an element of the "path" to access a node.
Definition: json.h:819
Lightweight wrapper to tag static string.
Definition: json.h:384
unsigned int ArrayIndex
Represents a JSON value.
Definition: json.h:433
Configuration passed to reader and writer. This configuration object can be used to force the Reader ...
Definition: json.h:271
long long int Int64
Int64 LargestInt
JSON (JavaScript Object Notation).
base class for Value iterators.
Definition: json.h:1228
int Int
unsigned long long int UInt64
Iterator for object and array value.
Definition: json.h:1356
Experimental and untested: represents a "path" to access a node.
Definition: json.h:852
const iterator for object and array value.
Definition: json.h:1298


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 19:22:26