+++ /dev/null
-#ifndef JSON_SPIRIT_READER\r
-#define JSON_SPIRIT_READER\r
-\r
-// Copyright John W. Wilkinson 2007 - 2011\r
-// Distributed under the MIT License, see accompanying file LICENSE.txt\r
-\r
-// json spirit version 4.05\r
-\r
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)\r
-# pragma once\r
-#endif\r
-\r
-#include "json_spirit_value.h"\r
-#include "json_spirit_error_position.h"\r
-#include <iostream>\r
-\r
-namespace json_spirit\r
-{\r
- // functions to reads a JSON values\r
-\r
-#ifdef JSON_SPIRIT_VALUE_ENABLED\r
- bool read( const std::string& s, Value& value );\r
- bool read( std::istream& is, Value& value );\r
- bool read( std::string::const_iterator& begin, std::string::const_iterator end, Value& value );\r
-\r
- void read_or_throw( const std::string& s, Value& value ); \r
- void read_or_throw( std::istream& is, Value& value );\r
- void read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end, Value& value );\r
-#endif\r
-\r
-#if defined( JSON_SPIRIT_WVALUE_ENABLED ) && !defined( BOOST_NO_STD_WSTRING )\r
- bool read( const std::wstring& s, wValue& value );\r
- bool read( std::wistream& is, wValue& value );\r
- bool read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value ); \r
-\r
- void read_or_throw( const std::wstring& s, wValue& value );\r
- void read_or_throw( std::wistream& is, wValue& value );\r
- void read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value );\r
-#endif\r
-\r
-#ifdef JSON_SPIRIT_MVALUE_ENABLED\r
- bool read( const std::string& s, mValue& value );\r
- bool read( std::istream& is, mValue& value );\r
- bool read( std::string::const_iterator& begin, std::string::const_iterator end, mValue& value );\r
-\r
- void read_or_throw( const std::string& s, mValue& value ); \r
- void read_or_throw( std::istream& is, mValue& value );\r
- void read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end, mValue& value );\r
-#endif\r
-\r
-#if defined( JSON_SPIRIT_WMVALUE_ENABLED ) && !defined( BOOST_NO_STD_WSTRING )\r
- bool read( const std::wstring& s, wmValue& value );\r
- bool read( std::wistream& is, wmValue& value );\r
- bool read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value ); \r
-\r
- void read_or_throw( const std::wstring& s, wmValue& value );\r
- void read_or_throw( std::wistream& is, wmValue& value );\r
- void read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value );\r
-#endif\r
-}\r
-\r
-#endif\r