genesis 1
genesis 2
genesis 3
genesis 4
genesis 5
genesis 6 #include "json_spirit_reader.h"
genesis 7 #include "json_spirit_reader_template.h"
genesis 8
genesis 9 using namespace json_spirit;
genesis 10
genesis 11 bool json_spirit::read( const std::string& s, Value& value )
genesis 12 {
genesis 13 return read_string( s, value );
genesis 14 }
genesis 15
genesis 16 void json_spirit::read_or_throw( const std::string& s, Value& value )
genesis 17 {
genesis 18 read_string_or_throw( s, value );
genesis 19 }
genesis 20
genesis 21 bool json_spirit::read( std::istream& is, Value& value )
genesis 22 {
genesis 23 return read_stream( is, value );
genesis 24 }
genesis 25
genesis 26 void json_spirit::read_or_throw( std::istream& is, Value& value )
genesis 27 {
genesis 28 read_stream_or_throw( is, value );
genesis 29 }
genesis 30
genesis 31 bool json_spirit::read( std::string::const_iterator& begin, std::string::const_iterator end, Value& value )
genesis 32 {
genesis 33 return read_range( begin, end, value );
genesis 34 }
genesis 35
genesis 36 void json_spirit::read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end, Value& value )
genesis 37 {
genesis 38 begin = read_range_or_throw( begin, end, value );
genesis 39 }
genesis 40
genesis 41 #ifndef BOOST_NO_STD_WSTRING
genesis 42
genesis 43 bool json_spirit::read( const std::wstring& s, wValue& value )
genesis 44 {
genesis 45 return read_string( s, value );
genesis 46 }
genesis 47
genesis 48 void json_spirit::read_or_throw( const std::wstring& s, wValue& value )
genesis 49 {
genesis 50 read_string_or_throw( s, value );
genesis 51 }
genesis 52
genesis 53 bool json_spirit::read( std::wistream& is, wValue& value )
genesis 54 {
genesis 55 return read_stream( is, value );
genesis 56 }
genesis 57
genesis 58 void json_spirit::read_or_throw( std::wistream& is, wValue& value )
genesis 59 {
genesis 60 read_stream_or_throw( is, value );
genesis 61 }
genesis 62
genesis 63 bool json_spirit::read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value )
genesis 64 {
genesis 65 return read_range( begin, end, value );
genesis 66 }
genesis 67
genesis 68 void json_spirit::read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value )
genesis 69 {
genesis 70 begin = read_range_or_throw( begin, end, value );
genesis 71 }
genesis 72
genesis 73 #endif
genesis 74
genesis 75 bool json_spirit::read( const std::string& s, mValue& value )
genesis 76 {
genesis 77 return read_string( s, value );
genesis 78 }
genesis 79
genesis 80 void json_spirit::read_or_throw( const std::string& s, mValue& value )
genesis 81 {
genesis 82 read_string_or_throw( s, value );
genesis 83 }
genesis 84
genesis 85 bool json_spirit::read( std::istream& is, mValue& value )
genesis 86 {
genesis 87 return read_stream( is, value );
genesis 88 }
genesis 89
genesis 90 void json_spirit::read_or_throw( std::istream& is, mValue& value )
genesis 91 {
genesis 92 read_stream_or_throw( is, value );
genesis 93 }
genesis 94
genesis 95 bool json_spirit::read( std::string::const_iterator& begin, std::string::const_iterator end, mValue& value )
genesis 96 {
genesis 97 return read_range( begin, end, value );
genesis 98 }
genesis 99
genesis 100 void json_spirit::read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end, mValue& value )
genesis 101 {
genesis 102 begin = read_range_or_throw( begin, end, value );
genesis 103 }
genesis 104
genesis 105 #ifndef BOOST_NO_STD_WSTRING
genesis 106
genesis 107 bool json_spirit::read( const std::wstring& s, wmValue& value )
genesis 108 {
genesis 109 return read_string( s, value );
genesis 110 }
genesis 111
genesis 112 void json_spirit::read_or_throw( const std::wstring& s, wmValue& value )
genesis 113 {
genesis 114 read_string_or_throw( s, value );
genesis 115 }
genesis 116
genesis 117 bool json_spirit::read( std::wistream& is, wmValue& value )
genesis 118 {
genesis 119 return read_stream( is, value );
genesis 120 }
genesis 121
genesis 122 void json_spirit::read_or_throw( std::wistream& is, wmValue& value )
genesis 123 {
genesis 124 read_stream_or_throw( is, value );
genesis 125 }
genesis 126
genesis 127 bool json_spirit::read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value )
genesis 128 {
genesis 129 return read_range( begin, end, value );
genesis 130 }
genesis 131
genesis 132 void json_spirit::read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value )
genesis 133 {
genesis 134 begin = read_range_or_throw( begin, end, value );
genesis 135 }
genesis 136
genesis 137 #endif