1 #ifndef JSON_SPIRIT_READER
2 #define JSON_SPIRIT_READER
9 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
21 #ifdef JSON_SPIRIT_VALUE_ENABLED
22 bool read(
const std::string& s, Value& value );
23 bool read( std::istream& is, Value& value );
24 bool read( std::string::const_iterator& begin, std::string::const_iterator end, Value& value );
28 void read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end, Value& value );
31 #if defined( JSON_SPIRIT_WVALUE_ENABLED ) && !defined( BOOST_NO_STD_WSTRING )
32 bool read(
const std::wstring& s, wValue& value );
33 bool read( std::wistream& is, wValue& value );
34 bool read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value );
38 void read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wValue& value );
41 #ifdef JSON_SPIRIT_MVALUE_ENABLED
42 bool read(
const std::string& s,
mValue& value );
44 bool read( std::string::const_iterator& begin, std::string::const_iterator end,
mValue& value );
48 void read_or_throw( std::string::const_iterator& begin, std::string::const_iterator end,
mValue& value );
51 #if defined( JSON_SPIRIT_WMVALUE_ENABLED ) && !defined( BOOST_NO_STD_WSTRING )
52 bool read(
const std::wstring& s, wmValue& value );
53 bool read( std::wistream& is, wmValue& value );
54 bool read( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value );
58 void read_or_throw( std::wstring::const_iterator& begin, std::wstring::const_iterator end, wmValue& value );
mConfig::Value_type mValue
void read_or_throw(const std::string &s, mValue &value)
bool read(const std::string &s, mValue &value)