1b2a28edaSopenharmony_ci/// Json-cpp amalgated forward header (http://jsoncpp.sourceforge.net/).
2b2a28edaSopenharmony_ci/// It is intended to be used with #include "json/json-forwards.h"
3b2a28edaSopenharmony_ci/// This header provides forward declaration for all JsonCpp types.
4b2a28edaSopenharmony_ci
5b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
6b2a28edaSopenharmony_ci// Beginning of content of file: LICENSE
7b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
8b2a28edaSopenharmony_ci
9b2a28edaSopenharmony_ci/*
10b2a28edaSopenharmony_ciThe JsonCpp library's source code, including accompanying documentation,
11b2a28edaSopenharmony_citests and demonstration applications, are licensed under the following
12b2a28edaSopenharmony_ciconditions...
13b2a28edaSopenharmony_ci
14b2a28edaSopenharmony_ciThe author (Baptiste Lepilleur) explicitly disclaims copyright in all
15b2a28edaSopenharmony_cijurisdictions which recognize such a disclaimer. In such jurisdictions,
16b2a28edaSopenharmony_cithis software is released into the Public Domain.
17b2a28edaSopenharmony_ci
18b2a28edaSopenharmony_ciIn jurisdictions which do not recognize Public Domain property (e.g. Germany as of
19b2a28edaSopenharmony_ci2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is
20b2a28edaSopenharmony_cireleased under the terms of the MIT License (see below).
21b2a28edaSopenharmony_ci
22b2a28edaSopenharmony_ciIn jurisdictions which recognize Public Domain property, the user of this
23b2a28edaSopenharmony_cisoftware may choose to accept it either as 1) Public Domain, 2) under the
24b2a28edaSopenharmony_ciconditions of the MIT License (see below), or 3) under the terms of dual
25b2a28edaSopenharmony_ciPublic Domain/MIT License conditions described here, as they choose.
26b2a28edaSopenharmony_ci
27b2a28edaSopenharmony_ciThe MIT License is about as close to Public Domain as a license can get, and is
28b2a28edaSopenharmony_cidescribed in clear, concise terms at:
29b2a28edaSopenharmony_ci
30b2a28edaSopenharmony_ci   http://en.wikipedia.org/wiki/MIT_License
31b2a28edaSopenharmony_ci
32b2a28edaSopenharmony_ciThe full text of the MIT License follows:
33b2a28edaSopenharmony_ci
34b2a28edaSopenharmony_ci========================================================================
35b2a28edaSopenharmony_ciCopyright (c) 2007-2010 Baptiste Lepilleur
36b2a28edaSopenharmony_ci
37b2a28edaSopenharmony_ciPermission is hereby granted, free of charge, to any person
38b2a28edaSopenharmony_ciobtaining a copy of this software and associated documentation
39b2a28edaSopenharmony_cifiles (the "Software"), to deal in the Software without
40b2a28edaSopenharmony_cirestriction, including without limitation the rights to use, copy,
41b2a28edaSopenharmony_cimodify, merge, publish, distribute, sublicense, and/or sell copies
42b2a28edaSopenharmony_ciof the Software, and to permit persons to whom the Software is
43b2a28edaSopenharmony_cifurnished to do so, subject to the following conditions:
44b2a28edaSopenharmony_ci
45b2a28edaSopenharmony_ciThe above copyright notice and this permission notice shall be
46b2a28edaSopenharmony_ciincluded in all copies or substantial portions of the Software.
47b2a28edaSopenharmony_ci
48b2a28edaSopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
49b2a28edaSopenharmony_ciEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50b2a28edaSopenharmony_ciMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
51b2a28edaSopenharmony_ciNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
52b2a28edaSopenharmony_ciBE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
53b2a28edaSopenharmony_ciACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
54b2a28edaSopenharmony_ciCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55b2a28edaSopenharmony_ciSOFTWARE.
56b2a28edaSopenharmony_ci========================================================================
57b2a28edaSopenharmony_ci(END LICENSE TEXT)
58b2a28edaSopenharmony_ci
59b2a28edaSopenharmony_ciThe MIT license is compatible with both the GPL and commercial
60b2a28edaSopenharmony_cisoftware, affording one all of the rights of Public Domain with the
61b2a28edaSopenharmony_ciminor nuisance of being required to keep the above copyright notice
62b2a28edaSopenharmony_ciand license text in the source code. Note also that by accepting the
63b2a28edaSopenharmony_ciPublic Domain "license" you can re-license your copy using whatever
64b2a28edaSopenharmony_cilicense you like.
65b2a28edaSopenharmony_ci
66b2a28edaSopenharmony_ci*/
67b2a28edaSopenharmony_ci
68b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
69b2a28edaSopenharmony_ci// End of content of file: LICENSE
70b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
71b2a28edaSopenharmony_ci
72b2a28edaSopenharmony_ci
73b2a28edaSopenharmony_ci
74b2a28edaSopenharmony_ci
75b2a28edaSopenharmony_ci
76b2a28edaSopenharmony_ci#ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
77b2a28edaSopenharmony_ci# define JSON_FORWARD_AMALGATED_H_INCLUDED
78b2a28edaSopenharmony_ci/// If defined, indicates that the source file is amalgated
79b2a28edaSopenharmony_ci/// to prevent private header inclusion.
80b2a28edaSopenharmony_ci#define JSON_IS_AMALGAMATION
81b2a28edaSopenharmony_ci
82b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
83b2a28edaSopenharmony_ci// Beginning of content of file: include/json/config.h
84b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
85b2a28edaSopenharmony_ci
86b2a28edaSopenharmony_ci// Copyright 2007-2010 Baptiste Lepilleur
87b2a28edaSopenharmony_ci// Distributed under MIT license, or public domain if desired and
88b2a28edaSopenharmony_ci// recognized in your jurisdiction.
89b2a28edaSopenharmony_ci// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
90b2a28edaSopenharmony_ci
91b2a28edaSopenharmony_ci#ifndef JSON_CONFIG_H_INCLUDED
92b2a28edaSopenharmony_ci#define JSON_CONFIG_H_INCLUDED
93b2a28edaSopenharmony_ci
94b2a28edaSopenharmony_ci/// If defined, indicates that json library is embedded in CppTL library.
95b2a28edaSopenharmony_ci//# define JSON_IN_CPPTL 1
96b2a28edaSopenharmony_ci
97b2a28edaSopenharmony_ci/// If defined, indicates that json may leverage CppTL library
98b2a28edaSopenharmony_ci//#  define JSON_USE_CPPTL 1
99b2a28edaSopenharmony_ci/// If defined, indicates that cpptl vector based map should be used instead of
100b2a28edaSopenharmony_ci/// std::map
101b2a28edaSopenharmony_ci/// as Value container.
102b2a28edaSopenharmony_ci//#  define JSON_USE_CPPTL_SMALLMAP 1
103b2a28edaSopenharmony_ci
104b2a28edaSopenharmony_ci// If non-zero, the library uses exceptions to report bad input instead of C
105b2a28edaSopenharmony_ci// assertion macros. The default is to use exceptions.
106b2a28edaSopenharmony_ci#ifndef JSON_USE_EXCEPTION
107b2a28edaSopenharmony_ci#define JSON_USE_EXCEPTION 1
108b2a28edaSopenharmony_ci#endif
109b2a28edaSopenharmony_ci
110b2a28edaSopenharmony_ci/// If defined, indicates that the source file is amalgated
111b2a28edaSopenharmony_ci/// to prevent private header inclusion.
112b2a28edaSopenharmony_ci/// Remarks: it is automatically defined in the generated amalgated header.
113b2a28edaSopenharmony_ci// #define JSON_IS_AMALGAMATION
114b2a28edaSopenharmony_ci
115b2a28edaSopenharmony_ci#ifdef JSON_IN_CPPTL
116b2a28edaSopenharmony_ci#include <cpptl/config.h>
117b2a28edaSopenharmony_ci#ifndef JSON_USE_CPPTL
118b2a28edaSopenharmony_ci#define JSON_USE_CPPTL 1
119b2a28edaSopenharmony_ci#endif
120b2a28edaSopenharmony_ci#endif
121b2a28edaSopenharmony_ci
122b2a28edaSopenharmony_ci#ifdef JSON_IN_CPPTL
123b2a28edaSopenharmony_ci#define JSON_API CPPTL_API
124b2a28edaSopenharmony_ci#elif defined(JSON_DLL_BUILD)
125b2a28edaSopenharmony_ci#if defined(_MSC_VER)
126b2a28edaSopenharmony_ci#define JSON_API __declspec(dllexport)
127b2a28edaSopenharmony_ci#define JSONCPP_DISABLE_DLL_INTERFACE_WARNING
128b2a28edaSopenharmony_ci#endif // if defined(_MSC_VER)
129b2a28edaSopenharmony_ci#elif defined(JSON_DLL)
130b2a28edaSopenharmony_ci#if defined(_MSC_VER)
131b2a28edaSopenharmony_ci#define JSON_API __declspec(dllimport)
132b2a28edaSopenharmony_ci#define JSONCPP_DISABLE_DLL_INTERFACE_WARNING
133b2a28edaSopenharmony_ci#endif // if defined(_MSC_VER)
134b2a28edaSopenharmony_ci#endif // ifdef JSON_IN_CPPTL
135b2a28edaSopenharmony_ci#if !defined(JSON_API)
136b2a28edaSopenharmony_ci#define JSON_API
137b2a28edaSopenharmony_ci#endif
138b2a28edaSopenharmony_ci
139b2a28edaSopenharmony_ci// If JSON_NO_INT64 is defined, then Json only support C++ "int" type for
140b2a28edaSopenharmony_ci// integer
141b2a28edaSopenharmony_ci// Storages, and 64 bits integer support is disabled.
142b2a28edaSopenharmony_ci// #define JSON_NO_INT64 1
143b2a28edaSopenharmony_ci
144b2a28edaSopenharmony_ci#if defined(_MSC_VER) && _MSC_VER <= 1200 // MSVC 6
145b2a28edaSopenharmony_ci// Microsoft Visual Studio 6 only support conversion from __int64 to double
146b2a28edaSopenharmony_ci// (no conversion from unsigned __int64).
147b2a28edaSopenharmony_ci#define JSON_USE_INT64_DOUBLE_CONVERSION 1
148b2a28edaSopenharmony_ci// Disable warning 4786 for VS6 caused by STL (identifier was truncated to '255'
149b2a28edaSopenharmony_ci// characters in the debug information)
150b2a28edaSopenharmony_ci// All projects I've ever seen with VS6 were using this globally (not bothering
151b2a28edaSopenharmony_ci// with pragma push/pop).
152b2a28edaSopenharmony_ci#pragma warning(disable : 4786)
153b2a28edaSopenharmony_ci#endif // if defined(_MSC_VER)  &&  _MSC_VER < 1200 // MSVC 6
154b2a28edaSopenharmony_ci
155b2a28edaSopenharmony_ci#if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008
156b2a28edaSopenharmony_ci/// Indicates that the following function is deprecated.
157b2a28edaSopenharmony_ci#define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
158b2a28edaSopenharmony_ci#elif defined(__clang__) && defined(__has_feature)
159b2a28edaSopenharmony_ci#if __has_feature(attribute_deprecated_with_message)
160b2a28edaSopenharmony_ci#define JSONCPP_DEPRECATED(message)  __attribute__ ((deprecated(message)))
161b2a28edaSopenharmony_ci#endif
162b2a28edaSopenharmony_ci#elif defined(__GNUC__) &&  (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
163b2a28edaSopenharmony_ci#define JSONCPP_DEPRECATED(message)  __attribute__ ((deprecated(message)))
164b2a28edaSopenharmony_ci#elif defined(__GNUC__) &&  (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
165b2a28edaSopenharmony_ci#define JSONCPP_DEPRECATED(message)  __attribute__((__deprecated__))
166b2a28edaSopenharmony_ci#endif
167b2a28edaSopenharmony_ci
168b2a28edaSopenharmony_ci#if !defined(JSONCPP_DEPRECATED)
169b2a28edaSopenharmony_ci#define JSONCPP_DEPRECATED(message)
170b2a28edaSopenharmony_ci#endif // if !defined(JSONCPP_DEPRECATED)
171b2a28edaSopenharmony_ci
172b2a28edaSopenharmony_cinamespace Json {
173b2a28edaSopenharmony_citypedef int Int;
174b2a28edaSopenharmony_citypedef unsigned int UInt;
175b2a28edaSopenharmony_ci#if defined(JSON_NO_INT64)
176b2a28edaSopenharmony_citypedef int LargestInt;
177b2a28edaSopenharmony_citypedef unsigned int LargestUInt;
178b2a28edaSopenharmony_ci#undef JSON_HAS_INT64
179b2a28edaSopenharmony_ci#else                 // if defined(JSON_NO_INT64)
180b2a28edaSopenharmony_ci// For Microsoft Visual use specific types as long long is not supported
181b2a28edaSopenharmony_ci#if defined(_MSC_VER) // Microsoft Visual Studio
182b2a28edaSopenharmony_citypedef __int64 Int64;
183b2a28edaSopenharmony_citypedef unsigned __int64 UInt64;
184b2a28edaSopenharmony_ci#else                 // if defined(_MSC_VER) // Other platforms, use long long
185b2a28edaSopenharmony_citypedef long long int Int64;
186b2a28edaSopenharmony_citypedef unsigned long long int UInt64;
187b2a28edaSopenharmony_ci#endif // if defined(_MSC_VER)
188b2a28edaSopenharmony_citypedef Int64 LargestInt;
189b2a28edaSopenharmony_citypedef UInt64 LargestUInt;
190b2a28edaSopenharmony_ci#define JSON_HAS_INT64
191b2a28edaSopenharmony_ci#endif // if defined(JSON_NO_INT64)
192b2a28edaSopenharmony_ci} // end namespace Json
193b2a28edaSopenharmony_ci
194b2a28edaSopenharmony_ci#endif // JSON_CONFIG_H_INCLUDED
195b2a28edaSopenharmony_ci
196b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
197b2a28edaSopenharmony_ci// End of content of file: include/json/config.h
198b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
199b2a28edaSopenharmony_ci
200b2a28edaSopenharmony_ci
201b2a28edaSopenharmony_ci
202b2a28edaSopenharmony_ci
203b2a28edaSopenharmony_ci
204b2a28edaSopenharmony_ci
205b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
206b2a28edaSopenharmony_ci// Beginning of content of file: include/json/forwards.h
207b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
208b2a28edaSopenharmony_ci
209b2a28edaSopenharmony_ci// Copyright 2007-2010 Baptiste Lepilleur
210b2a28edaSopenharmony_ci// Distributed under MIT license, or public domain if desired and
211b2a28edaSopenharmony_ci// recognized in your jurisdiction.
212b2a28edaSopenharmony_ci// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
213b2a28edaSopenharmony_ci
214b2a28edaSopenharmony_ci#ifndef JSON_FORWARDS_H_INCLUDED
215b2a28edaSopenharmony_ci#define JSON_FORWARDS_H_INCLUDED
216b2a28edaSopenharmony_ci
217b2a28edaSopenharmony_ci#if !defined(JSON_IS_AMALGAMATION)
218b2a28edaSopenharmony_ci#include "config.h"
219b2a28edaSopenharmony_ci#endif // if !defined(JSON_IS_AMALGAMATION)
220b2a28edaSopenharmony_ci
221b2a28edaSopenharmony_cinamespace Json {
222b2a28edaSopenharmony_ci
223b2a28edaSopenharmony_ci// writer.h
224b2a28edaSopenharmony_ciclass FastWriter;
225b2a28edaSopenharmony_ciclass StyledWriter;
226b2a28edaSopenharmony_ci
227b2a28edaSopenharmony_ci// reader.h
228b2a28edaSopenharmony_ciclass Reader;
229b2a28edaSopenharmony_ci
230b2a28edaSopenharmony_ci// features.h
231b2a28edaSopenharmony_ciclass Features;
232b2a28edaSopenharmony_ci
233b2a28edaSopenharmony_ci// value.h
234b2a28edaSopenharmony_citypedef unsigned int ArrayIndex;
235b2a28edaSopenharmony_ciclass StaticString;
236b2a28edaSopenharmony_ciclass Path;
237b2a28edaSopenharmony_ciclass PathArgument;
238b2a28edaSopenharmony_ciclass Value;
239b2a28edaSopenharmony_ciclass ValueIteratorBase;
240b2a28edaSopenharmony_ciclass ValueIterator;
241b2a28edaSopenharmony_ciclass ValueConstIterator;
242b2a28edaSopenharmony_ci
243b2a28edaSopenharmony_ci} // namespace Json
244b2a28edaSopenharmony_ci
245b2a28edaSopenharmony_ci#endif // JSON_FORWARDS_H_INCLUDED
246b2a28edaSopenharmony_ci
247b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
248b2a28edaSopenharmony_ci// End of content of file: include/json/forwards.h
249b2a28edaSopenharmony_ci// //////////////////////////////////////////////////////////////////////
250b2a28edaSopenharmony_ci
251b2a28edaSopenharmony_ci
252b2a28edaSopenharmony_ci
253b2a28edaSopenharmony_ci
254b2a28edaSopenharmony_ci
255b2a28edaSopenharmony_ci#endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
256