genesis 1 #ifndef JSON_SPIRIT_READER
genesis 2 #define JSON_SPIRIT_READER
genesis 3
genesis 4
genesis 5
genesis 6
genesis 7
genesis 8
genesis 9 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
genesis 10 # pragma once
genesis 11 #endif
genesis 12
genesis 13 #include "json_spirit_value.h"
genesis 14 #include "json_spirit_error_position.h"
genesis 15 #include <iostream>
genesis 16
genesis 17 namespace json_spirit
genesis 18 {
genesis 19
genesis 20
genesis 21 bool read( const std::string& s, Value& value );
genesis 22 bool read( std::istream& is, Value& value );
genesis 23 bool read( std::string::const_iterator& begin, std::string::const_iterator end, Value& value );
genesis 24
genesis 25 void read_or_throw( const std::string& s, Value& value );
genesis 26 void read_or_throw( std::istream& is, Value& value );
genesis 27 void read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end, Value& value );
genesis 28
genesis 29 #ifndef BOOST_NO_STD_WSTRING
genesis 30
genesis 31 bool read( const std::wstring& s, wValue& value );
genesis 32 bool read( std::wistream& is, wValue& value );
genesis 33 bool read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value );
genesis 34
genesis 35 void read_or_throw( const std::wstring& s, wValue& value );
genesis 36 void read_or_throw( std::wistream& is, wValue& value );
genesis 37 void read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value );
genesis 38
genesis 39 #endif
genesis 40
genesis 41 bool read( const std::string& s, mValue& value );
genesis 42 bool read( std::istream& is, mValue& value );
genesis 43 bool read( std::string::const_iterator& begin, std::string::const_iterator end, mValue& value );
genesis 44
genesis 45 void read_or_throw( const std::string& s, mValue& value );
genesis 46 void read_or_throw( std::istream& is, mValue& value );
genesis 47 void read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end, mValue& value );
genesis 48
genesis 49 #ifndef BOOST_NO_STD_WSTRING
genesis 50
genesis 51 bool read( const std::wstring& s, wmValue& value );
genesis 52 bool read( std::wistream& is, wmValue& value );
genesis 53 bool read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value );
genesis 54
genesis 55 void read_or_throw( const std::wstring& s, wmValue& value );
genesis 56 void read_or_throw( std::wistream& is, wmValue& value );
genesis 57 void read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value );
genesis 58
genesis 59 #endif
genesis 60 }
genesis 61
genesis 62 #endif