rt300@0: /// Json-cpp amalgated forward header (http://jsoncpp.sourceforge.net/). rt300@0: /// It is intented to be used with #include rt300@0: /// This header provides forward declaration for all JsonCpp types. rt300@0: rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: // Beginning of content of file: LICENSE rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: rt300@0: /* rt300@0: The JsonCpp library's source code, including accompanying documentation, rt300@0: tests and demonstration applications, are licensed under the following rt300@0: conditions... rt300@0: rt300@0: The author (Baptiste Lepilleur) explicitly disclaims copyright in all rt300@0: jurisdictions which recognize such a disclaimer. In such jurisdictions, rt300@0: this software is released into the Public Domain. rt300@0: rt300@0: In jurisdictions which do not recognize Public Domain property (e.g. Germany as of rt300@0: 2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is rt300@0: released under the terms of the MIT License (see below). rt300@0: rt300@0: In jurisdictions which recognize Public Domain property, the user of this rt300@0: software may choose to accept it either as 1) Public Domain, 2) under the rt300@0: conditions of the MIT License (see below), or 3) under the terms of dual rt300@0: Public Domain/MIT License conditions described here, as they choose. rt300@0: rt300@0: The MIT License is about as close to Public Domain as a license can get, and is rt300@0: described in clear, concise terms at: rt300@0: rt300@0: http://en.wikipedia.org/wiki/MIT_License rt300@0: rt300@0: The full text of the MIT License follows: rt300@0: rt300@0: ======================================================================== rt300@0: Copyright (c) 2007-2010 Baptiste Lepilleur rt300@0: rt300@0: Permission is hereby granted, free of charge, to any person rt300@0: obtaining a copy of this software and associated documentation rt300@0: files (the "Software"), to deal in the Software without rt300@0: restriction, including without limitation the rights to use, copy, rt300@0: modify, merge, publish, distribute, sublicense, and/or sell copies rt300@0: of the Software, and to permit persons to whom the Software is rt300@0: furnished to do so, subject to the following conditions: rt300@0: rt300@0: The above copyright notice and this permission notice shall be rt300@0: included in all copies or substantial portions of the Software. rt300@0: rt300@0: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, rt300@0: EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF rt300@0: MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND rt300@0: NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS rt300@0: BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN rt300@0: ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN rt300@0: CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE rt300@0: SOFTWARE. rt300@0: ======================================================================== rt300@0: (END LICENSE TEXT) rt300@0: rt300@0: The MIT license is compatible with both the GPL and commercial rt300@0: software, affording one all of the rights of Public Domain with the rt300@0: minor nuisance of being required to keep the above copyright notice rt300@0: and license text in the source code. Note also that by accepting the rt300@0: Public Domain "license" you can re-license your copy using whatever rt300@0: license you like. rt300@0: rt300@0: */ rt300@0: rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: // End of content of file: LICENSE rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: rt300@0: rt300@0: rt300@0: rt300@0: rt300@0: #ifndef JSON_FORWARD_AMALGATED_H_INCLUDED rt300@0: # define JSON_FORWARD_AMALGATED_H_INCLUDED rt300@0: /// If defined, indicates that the source file is amalgated rt300@0: /// to prevent private header inclusion. rt300@0: #define JSON_IS_AMALGATED rt300@0: rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: // Beginning of content of file: include/json/config.h rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: rt300@0: // Copyright 2007-2010 Baptiste Lepilleur rt300@0: // Distributed under MIT license, or public domain if desired and rt300@0: // recognized in your jurisdiction. rt300@0: // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE rt300@0: rt300@0: #ifndef JSON_CONFIG_H_INCLUDED rt300@0: # define JSON_CONFIG_H_INCLUDED rt300@0: rt300@0: /// If defined, indicates that json library is embedded in CppTL library. rt300@0: //# define JSON_IN_CPPTL 1 rt300@0: rt300@0: /// If defined, indicates that json may leverage CppTL library rt300@0: //# define JSON_USE_CPPTL 1 rt300@0: /// If defined, indicates that cpptl vector based map should be used instead of std::map rt300@0: /// as Value container. rt300@0: //# define JSON_USE_CPPTL_SMALLMAP 1 rt300@0: /// If defined, indicates that Json specific container should be used rt300@0: /// (hash table & simple deque container with customizable allocator). rt300@0: /// THIS FEATURE IS STILL EXPERIMENTAL! There is know bugs: See #3177332 rt300@0: //# define JSON_VALUE_USE_INTERNAL_MAP 1 rt300@0: /// Force usage of standard new/malloc based allocator instead of memory pool based allocator. rt300@0: /// The memory pools allocator used optimization (initializing Value and ValueInternalLink rt300@0: /// as if it was a POD) that may cause some validation tool to report errors. rt300@0: /// Only has effects if JSON_VALUE_USE_INTERNAL_MAP is defined. rt300@0: //# define JSON_USE_SIMPLE_INTERNAL_ALLOCATOR 1 rt300@0: rt300@0: /// If defined, indicates that Json use exception to report invalid type manipulation rt300@0: /// instead of C assert macro. rt300@0: # define JSON_USE_EXCEPTION 1 rt300@0: rt300@0: /// If defined, indicates that the source file is amalgated rt300@0: /// to prevent private header inclusion. rt300@0: /// Remarks: it is automatically defined in the generated amalgated header. rt300@0: // #define JSON_IS_AMALGAMATION rt300@0: rt300@0: rt300@0: # ifdef JSON_IN_CPPTL rt300@0: # include rt300@0: # ifndef JSON_USE_CPPTL rt300@0: # define JSON_USE_CPPTL 1 rt300@0: # endif rt300@0: # endif rt300@0: rt300@0: # ifdef JSON_IN_CPPTL rt300@0: # define JSON_API CPPTL_API rt300@0: # elif defined(JSON_DLL_BUILD) rt300@0: # define JSON_API __declspec(dllexport) rt300@0: # elif defined(JSON_DLL) rt300@0: # define JSON_API __declspec(dllimport) rt300@0: # else rt300@0: # define JSON_API rt300@0: # endif rt300@0: rt300@0: // If JSON_NO_INT64 is defined, then Json only support C++ "int" type for integer rt300@0: // Storages, and 64 bits integer support is disabled. rt300@0: // #define JSON_NO_INT64 1 rt300@0: rt300@0: #if defined(_MSC_VER) && _MSC_VER <= 1200 // MSVC 6 rt300@0: // Microsoft Visual Studio 6 only support conversion from __int64 to double rt300@0: // (no conversion from unsigned __int64). rt300@0: #define JSON_USE_INT64_DOUBLE_CONVERSION 1 rt300@0: #endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6 rt300@0: rt300@0: #if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008 rt300@0: /// Indicates that the following function is deprecated. rt300@0: # define JSONCPP_DEPRECATED(message) __declspec(deprecated(message)) rt300@0: #endif rt300@0: rt300@0: #if !defined(JSONCPP_DEPRECATED) rt300@0: # define JSONCPP_DEPRECATED(message) rt300@0: #endif // if !defined(JSONCPP_DEPRECATED) rt300@0: rt300@0: namespace Json { rt300@0: typedef int Int; rt300@0: typedef unsigned int UInt; rt300@0: # if defined(JSON_NO_INT64) rt300@0: typedef int LargestInt; rt300@0: typedef unsigned int LargestUInt; rt300@0: # undef JSON_HAS_INT64 rt300@0: # else // if defined(JSON_NO_INT64) rt300@0: // For Microsoft Visual use specific types as long long is not supported rt300@0: # if defined(_MSC_VER) // Microsoft Visual Studio rt300@0: typedef __int64 Int64; rt300@0: typedef unsigned __int64 UInt64; rt300@0: # else // if defined(_MSC_VER) // Other platforms, use long long rt300@0: typedef long long int Int64; rt300@0: typedef unsigned long long int UInt64; rt300@0: # endif // if defined(_MSC_VER) rt300@0: typedef Int64 LargestInt; rt300@0: typedef UInt64 LargestUInt; rt300@0: # define JSON_HAS_INT64 rt300@0: # endif // if defined(JSON_NO_INT64) rt300@0: } // end namespace Json rt300@0: rt300@0: rt300@0: #endif // JSON_CONFIG_H_INCLUDED rt300@0: rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: // End of content of file: include/json/config.h rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: rt300@0: rt300@0: rt300@0: rt300@0: rt300@0: rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: // Beginning of content of file: include/json/forwards.h rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: rt300@0: // Copyright 2007-2010 Baptiste Lepilleur rt300@0: // Distributed under MIT license, or public domain if desired and rt300@0: // recognized in your jurisdiction. rt300@0: // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE rt300@0: rt300@0: #ifndef JSON_FORWARDS_H_INCLUDED rt300@0: # define JSON_FORWARDS_H_INCLUDED rt300@0: rt300@0: #if !defined(JSON_IS_AMALGAMATION) rt300@0: # include "config.h" rt300@0: #endif // if !defined(JSON_IS_AMALGAMATION) rt300@0: rt300@0: namespace Json { rt300@0: rt300@0: // writer.h rt300@0: class FastWriter; rt300@0: class StyledWriter; rt300@0: rt300@0: // reader.h rt300@0: class Reader; rt300@0: rt300@0: // features.h rt300@0: class Features; rt300@0: rt300@0: // value.h rt300@0: typedef unsigned int ArrayIndex; rt300@0: class StaticString; rt300@0: class Path; rt300@0: class PathArgument; rt300@0: class Value; rt300@0: class ValueIteratorBase; rt300@0: class ValueIterator; rt300@0: class ValueConstIterator; rt300@0: #ifdef JSON_VALUE_USE_INTERNAL_MAP rt300@0: class ValueMapAllocator; rt300@0: class ValueInternalLink; rt300@0: class ValueInternalArray; rt300@0: class ValueInternalMap; rt300@0: #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP rt300@0: rt300@0: } // namespace Json rt300@0: rt300@0: rt300@0: #endif // JSON_FORWARDS_H_INCLUDED rt300@0: rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: // End of content of file: include/json/forwards.h rt300@0: // ////////////////////////////////////////////////////////////////////// rt300@0: rt300@0: rt300@0: rt300@0: rt300@0: rt300@0: #endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED