00001 00002 00003 00004 00005 // ////////////////////////////////////////////////////////////////////// 00006 // Beginning of content of file: LICENSE 00007 // ////////////////////////////////////////////////////////////////////// 00008 00009 /* 00010 The JsonCpp library's source code, including accompanying documentation, 00011 tests and demonstration applications, are licensed under the following 00012 conditions... 00013 00014 The author (Baptiste Lepilleur) explicitly disclaims copyright in all 00015 jurisdictions which recognize such a disclaimer. In such jurisdictions, 00016 this software is released into the Public Domain. 00017 00018 In jurisdictions which do not recognize Public Domain property (e.g. Germany as of 00019 2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is 00020 released under the terms of the MIT License (see below). 00021 00022 In jurisdictions which recognize Public Domain property, the user of this 00023 software may choose to accept it either as 1) Public Domain, 2) under the 00024 conditions of the MIT License (see below), or 3) under the terms of dual 00025 Public Domain/MIT License conditions described here, as they choose. 00026 00027 The MIT License is about as close to Public Domain as a license can get, and is 00028 described in clear, concise terms at: 00029 00030 http://en.wikipedia.org/wiki/MIT_License 00031 00032 The full text of the MIT License follows: 00033 00034 ======================================================================== 00035 Copyright (c) 2007-2010 Baptiste Lepilleur 00036 00037 Permission is hereby granted, free of charge, to any person 00038 obtaining a copy of this software and associated documentation 00039 files (the "Software"), to deal in the Software without 00040 restriction, including without limitation the rights to use, copy, 00041 modify, merge, publish, distribute, sublicense, and/or sell copies 00042 of the Software, and to permit persons to whom the Software is 00043 furnished to do so, subject to the following conditions: 00044 00045 The above copyright notice and this permission notice shall be 00046 included in all copies or substantial portions of the Software. 00047 00048 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00049 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00050 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00051 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 00052 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 00053 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00054 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 00055 SOFTWARE. 00056 ======================================================================== 00057 (END LICENSE TEXT) 00058 00059 The MIT license is compatible with both the GPL and commercial 00060 software, affording one all of the rights of Public Domain with the 00061 minor nuisance of being required to keep the above copyright notice 00062 and license text in the source code. Note also that by accepting the 00063 Public Domain "license" you can re-license your copy using whatever 00064 license you like. 00065 00066 */ 00067 00068 // ////////////////////////////////////////////////////////////////////// 00069 // End of content of file: LICENSE 00070 // ////////////////////////////////////////////////////////////////////// 00071 00072 00073 00074 00075 00076 #ifndef JSON_FORWARD_AMALGATED_H_INCLUDED 00077 # define JSON_FORWARD_AMALGATED_H_INCLUDED 00078 00079 00080 #define JSON_IS_AMALGATED 00081 00082 // ////////////////////////////////////////////////////////////////////// 00083 // Beginning of content of file: include/json/config.h 00084 // ////////////////////////////////////////////////////////////////////// 00085 00086 // Copyright 2007-2010 Baptiste Lepilleur 00087 // Distributed under MIT license, or public domain if desired and 00088 // recognized in your jurisdiction. 00089 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 00090 00091 #ifndef JSON_CONFIG_H_INCLUDED 00092 # define JSON_CONFIG_H_INCLUDED 00093 00095 //# define JSON_IN_CPPTL 1 00096 00098 //# define JSON_USE_CPPTL 1 00101 //# define JSON_USE_CPPTL_SMALLMAP 1 00105 //# define JSON_VALUE_USE_INTERNAL_MAP 1 00110 //# define JSON_USE_SIMPLE_INTERNAL_ALLOCATOR 1 00111 00114 # define JSON_USE_EXCEPTION 1 00115 00119 #define JSON_IS_AMALGAMATION 00120 00121 00122 # ifdef JSON_IN_CPPTL 00123 # include <cpptl/config.h> 00124 # ifndef JSON_USE_CPPTL 00125 # define JSON_USE_CPPTL 1 00126 # endif 00127 # endif 00128 00129 # ifdef JSON_IN_CPPTL 00130 # define JSON_API CPPTL_API 00131 # elif defined(JSON_DLL_BUILD) 00132 # define JSON_API __declspec(dllexport) 00133 # elif defined(JSON_DLL) 00134 # define JSON_API __declspec(dllimport) 00135 # else 00136 # define JSON_API 00137 # endif 00138 00139 // If JSON_NO_INT64 is defined, then Json only support C++ "int" type for integer 00140 // Storages, and 64 bits integer support is disabled. 00141 // #define JSON_NO_INT64 1 00142 00143 #if defined(_MSC_VER) && _MSC_VER <= 1200 // MSVC 6 00144 // Microsoft Visual Studio 6 only support conversion from __int64 to double 00145 // (no conversion from unsigned __int64). 00146 #define JSON_USE_INT64_DOUBLE_CONVERSION 1 00147 #endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6 00148 00149 #if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008 00150 00151 # define JSONCPP_DEPRECATED(message) __declspec(deprecated(message)) 00152 #endif 00153 00154 #if !defined(JSONCPP_DEPRECATED) 00155 # define JSONCPP_DEPRECATED(message) 00156 #endif // if !defined(JSONCPP_DEPRECATED) 00157 00158 namespace Json { 00159 typedef int Int; 00160 typedef unsigned int UInt; 00161 # if defined(JSON_NO_INT64) 00162 typedef int LargestInt; 00163 typedef unsigned int LargestUInt; 00164 # undef JSON_HAS_INT64 00165 # else // if defined(JSON_NO_INT64) 00166 // For Microsoft Visual use specific types as long long is not supported 00167 # if defined(_MSC_VER) // Microsoft Visual Studio 00168 typedef __int64 Int64; 00169 typedef unsigned __int64 UInt64; 00170 # else // if defined(_MSC_VER) // Other platforms, use long long 00171 typedef long long int Int64; 00172 typedef unsigned long long int UInt64; 00173 # endif // if defined(_MSC_VER) 00174 typedef Int64 LargestInt; 00175 typedef UInt64 LargestUInt; 00176 # define JSON_HAS_INT64 00177 # endif // if defined(JSON_NO_INT64) 00178 } // end namespace Json 00179 00180 00181 #endif // JSON_CONFIG_H_INCLUDED 00182 00183 // ////////////////////////////////////////////////////////////////////// 00184 // End of content of file: include/json/config.h 00185 // ////////////////////////////////////////////////////////////////////// 00186 00187 00188 00189 00190 00191 00192 // ////////////////////////////////////////////////////////////////////// 00193 // Beginning of content of file: include/json/forwards.h 00194 // ////////////////////////////////////////////////////////////////////// 00195 00196 // Copyright 2007-2010 Baptiste Lepilleur 00197 // Distributed under MIT license, or public domain if desired and 00198 // recognized in your jurisdiction. 00199 // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 00200 00201 #ifndef JSON_FORWARDS_H_INCLUDED 00202 # define JSON_FORWARDS_H_INCLUDED 00203 00204 #if !defined(JSON_IS_AMALGAMATION) 00205 # include "config.h" 00206 #endif // if !defined(JSON_IS_AMALGAMATION) 00207 00208 namespace Json { 00209 00210 // writer.h 00211 class FastWriter; 00212 class StyledWriter; 00213 00214 // reader.h 00215 class Reader; 00216 00217 // features.h 00218 class Features; 00219 00220 // value.h 00221 typedef unsigned int ArrayIndex; 00222 class StaticString; 00223 class Path; 00224 class PathArgument; 00225 class Value; 00226 class ValueIteratorBase; 00227 class ValueIterator; 00228 class ValueConstIterator; 00229 #ifdef JSON_VALUE_USE_INTERNAL_MAP 00230 class ValueMapAllocator; 00231 class ValueInternalLink; 00232 class ValueInternalArray; 00233 class ValueInternalMap; 00234 #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP 00235 00236 } // namespace Json 00237 00238 00239 #endif // JSON_FORWARDS_H_INCLUDED 00240 00241 // ////////////////////////////////////////////////////////////////////// 00242 // End of content of file: include/json/forwards.h 00243 // ////////////////////////////////////////////////////////////////////// 00244 00245 00246 00247 00248 00249 #endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED