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