PyNE C++
json-forwards.h
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 #ifdef PYNE_IS_AMALGAMATED
74  #if !defined(JSON_IS_AMALGAMATION)
75  #define JSON_IS_AMALGAMATION
76  #endif
77 #endif
78 
79 
80 #ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
81 # define JSON_FORWARD_AMALGATED_H_INCLUDED
82 #define JSON_IS_AMALGATED
85 
86 // //////////////////////////////////////////////////////////////////////
87 // Beginning of content of file: include/json/config.h
88 // //////////////////////////////////////////////////////////////////////
89 
90 // Copyright 2007-2010 Baptiste Lepilleur
91 // Distributed under MIT license, or public domain if desired and
92 // recognized in your jurisdiction.
93 // See file LICENSE for detail or copy at https://github.com/open-source-parsers/jsoncpp/blob/master/LICENSE
94 
95 #ifndef JSON_CONFIG_H_INCLUDED
96 # define JSON_CONFIG_H_INCLUDED
97 
99 //# define JSON_IN_CPPTL 1
100 
102 //# define JSON_USE_CPPTL 1
105 //# define JSON_USE_CPPTL_SMALLMAP 1
109 //# define JSON_VALUE_USE_INTERNAL_MAP 1
114 //# define JSON_USE_SIMPLE_INTERNAL_ALLOCATOR 1
115 
118 # define JSON_USE_EXCEPTION 1
119 
123 // #define JSON_IS_AMALGAMATION
124 
125 
126 # ifdef JSON_IN_CPPTL
127 # include <cpptl/config.h>
128 # ifndef JSON_USE_CPPTL
129 # define JSON_USE_CPPTL 1
130 # endif
131 # endif
132 
133 # ifdef JSON_IN_CPPTL
134 # define JSON_API CPPTL_API
135 # elif defined(JSON_DLL_BUILD)
136 # define JSON_API __declspec(dllexport)
137 # elif defined(JSON_DLL)
138 # define JSON_API __declspec(dllimport)
139 # else
140 # define JSON_API
141 # endif
142 
143 // If JSON_NO_INT64 is defined, then Json only support C++ "int" type for integer
144 // Storages, and 64 bits integer support is disabled.
145 // #define JSON_NO_INT64 1
146 
147 #if defined(_MSC_VER) && _MSC_VER <= 1200 // MSVC 6
148 // Microsoft Visual Studio 6 only support conversion from __int64 to double
149 // (no conversion from unsigned __int64).
150 #define JSON_USE_INT64_DOUBLE_CONVERSION 1
151 #endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6
152 
153 #if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008
154 # define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
156 #endif
157 
158 #if !defined(JSONCPP_DEPRECATED)
159 # define JSONCPP_DEPRECATED(message)
160 #endif // if !defined(JSONCPP_DEPRECATED)
161 
162 namespace Json {
163  typedef int Int;
164  typedef unsigned int UInt;
165 # if defined(JSON_NO_INT64)
166  typedef int LargestInt;
167  typedef unsigned int LargestUInt;
168 # undef JSON_HAS_INT64
169 # else // if defined(JSON_NO_INT64)
170  // For Microsoft Visual use specific types as long long is not supported
171 # if defined(_MSC_VER) // Microsoft Visual Studio
172  typedef __int64 Int64;
173  typedef unsigned __int64 UInt64;
174 # else // if defined(_MSC_VER) // Other platforms, use long long
175  typedef long long int Int64;
176  typedef unsigned long long int UInt64;
177 # endif // if defined(_MSC_VER)
178  typedef Int64 LargestInt;
179  typedef UInt64 LargestUInt;
180 # define JSON_HAS_INT64
181 # endif // if defined(JSON_NO_INT64)
182 } // end namespace Json
183 
184 
185 #endif // JSON_CONFIG_H_INCLUDED
186 
187 // //////////////////////////////////////////////////////////////////////
188 // End of content of file: include/json/config.h
189 // //////////////////////////////////////////////////////////////////////
190 
191 
192 
193 
194 
195 
196 // //////////////////////////////////////////////////////////////////////
197 // Beginning of content of file: include/json/forwards.h
198 // //////////////////////////////////////////////////////////////////////
199 
200 // Copyright 2007-2010 Baptiste Lepilleur
201 // Distributed under MIT license, or public domain if desired and
202 // recognized in your jurisdiction.
203 // See file LICENSE for detail or copy at https://github.com/open-source-parsers/jsoncpp/blob/master/LICENSE
204 
205 #ifndef JSON_FORWARDS_H_INCLUDED
206 # define JSON_FORWARDS_H_INCLUDED
207 
208 #if !defined(JSON_IS_AMALGAMATION)
209 # include "config.h"
210 #endif // if !defined(JSON_IS_AMALGAMATION)
211 
212 namespace Json {
213 
214  // writer.h
215  class FastWriter;
216  class StyledWriter;
217 
218  // reader.h
219  class Reader;
220 
221  // features.h
222  class Features;
223 
224  // value.h
225  typedef unsigned int ArrayIndex;
226  class StaticString;
227  class Path;
228  class PathArgument;
229  class Value;
230  class ValueIteratorBase;
231  class ValueIterator;
232  class ValueConstIterator;
233 #ifdef JSON_VALUE_USE_INTERNAL_MAP
234  class ValueMapAllocator;
235  class ValueInternalLink;
236  class ValueInternalArray;
237  class ValueInternalMap;
238 #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP
239 
240 } // namespace Json
241 
242 
243 #endif // JSON_FORWARDS_H_INCLUDED
244 
245 // //////////////////////////////////////////////////////////////////////
246 // End of content of file: include/json/forwards.h
247 // //////////////////////////////////////////////////////////////////////
248 
249 
250 
251 
252 
253 #endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
JSON (JavaScript Object Notation).
Definition: json-forwards.h:162