![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <probe/bus/json/reader.hpp>
Static Public Member Functions | |
| static void | Read (UnknownElement &elementRoot, std::istream &istr) |
| static void | Read (Null &null, std::istream &istr) |
| static void | Read (Boolean &boolean, std::istream &istr) |
| static void | Read (Number &number, std::istream &istr) |
| static void | Read (String &string, std::istream &istr) |
| static void | Read (Array &array, std::istream &istr) |
| static void | Read (Object &object, std::istream &istr) |
Private Types | |
| typedef std::vector< Token > | Tokens |
Private Member Functions | |
| void | EatWhiteSpace (InputStream &inputStream) |
| void | MatchExpectedString (const std::string &sExpected, InputStream &inputStream) |
| const std::string & | MatchExpectedToken (Token::Type nExpected, TokenStream &tokenStream) |
| void | MatchNumber (std::string &sNumber, InputStream &inputStream) |
| void | MatchString (std::string &sValue, InputStream &inputStream) |
| void | Parse (Null &null, TokenStream &tokenStream) |
| void | Parse (Boolean &boolean, TokenStream &tokenStream) |
| void | Parse (Number &number, TokenStream &tokenStream) |
| void | Parse (String &string, TokenStream &tokenStream) |
| void | Parse (Array &array, TokenStream &tokenStream) |
| void | Parse (Object &object, TokenStream &tokenStream) |
| void | Parse (UnknownElement &element, TokenStream &tokenStream) |
| void | Scan (Tokens &tokens, InputStream &inputStream) |
Static Private Member Functions | |
| template<typename ElementTypeT> | |
| static void | Read_i (ElementTypeT &element, std::istream &istr) |
Classes | |
| class | InputStream |
| struct | Location |
| class | ParseException |
| class | ScanException |
| struct | Token |
| class | TokenStream |
Definition at line 19 of file reader.hpp.
typedef std::vector<Token> wns::probe::bus::json::Reader::Tokens [private] |
Definition at line 96 of file reader.hpp.
| void wns::probe::bus::json::Reader::EatWhiteSpace | ( | InputStream & | inputStream | ) | [inline, private] |
Definition at line 257 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::MatchExpectedString | ( | const std::string & | sExpected, | |
| InputStream & | inputStream | |||
| ) | [inline, private] |
Definition at line 264 of file readerInl.hpp.
| const std::string & wns::probe::bus::json::Reader::MatchExpectedToken | ( | Token::Type | nExpected, | |
| Reader::TokenStream & | tokenStream | |||
| ) | [inline, private] |
Definition at line 500 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::MatchNumber | ( | std::string & | sNumber, | |
| InputStream & | inputStream | |||
| ) | [inline, private] |
Definition at line 321 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::MatchString | ( | std::string & | sValue, | |
| InputStream & | inputStream | |||
| ) | [inline, private] |
Definition at line 281 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Parse | ( | Null & | null, | |
| Reader::TokenStream & | tokenStream | |||
| ) | [inline, private] |
Definition at line 494 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Parse | ( | Boolean & | boolean, | |
| TokenStream & | tokenStream | |||
| ) | [private] |
| void wns::probe::bus::json::Reader::Parse | ( | Number & | number, | |
| TokenStream & | tokenStream | |||
| ) | [private] |
| void wns::probe::bus::json::Reader::Parse | ( | String & | string, | |
| Reader::TokenStream & | tokenStream | |||
| ) | [inline, private] |
Definition at line 461 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Parse | ( | Array & | array, | |
| Reader::TokenStream & | tokenStream | |||
| ) | [inline, private] |
Definition at line 438 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Parse | ( | Object & | object, | |
| Reader::TokenStream & | tokenStream | |||
| ) | [inline, private] |
Definition at line 396 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Parse | ( | UnknownElement & | element, | |
| Reader::TokenStream & | tokenStream | |||
| ) | [inline, private] |
Definition at line 335 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Read | ( | UnknownElement & | elementRoot, | |
| std::istream & | istr | |||
| ) | [inline, static] |
Definition at line 132 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Read | ( | Null & | null, | |
| std::istream & | istr | |||
| ) | [inline, static] |
Definition at line 131 of file readerInl.hpp.
| static void wns::probe::bus::json::Reader::Read | ( | Boolean & | boolean, | |
| std::istream & | istr | |||
| ) | [static] |
| static void wns::probe::bus::json::Reader::Read | ( | Number & | number, | |
| std::istream & | istr | |||
| ) | [static] |
| void wns::probe::bus::json::Reader::Read | ( | String & | string, | |
| std::istream & | istr | |||
| ) | [inline, static] |
Definition at line 128 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Read | ( | Array & | array, | |
| std::istream & | istr | |||
| ) | [inline, static] |
Definition at line 127 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Read | ( | Object & | object, | |
| std::istream & | istr | |||
| ) | [inline, static] |
Definition at line 126 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Read_i | ( | ElementTypeT & | element, | |
| std::istream & | istr | |||
| ) | [inline, static, private] |
Definition at line 136 of file readerInl.hpp.
| void wns::probe::bus::json::Reader::Scan | ( | Tokens & | tokens, | |
| InputStream & | inputStream | |||
| ) | [inline, private] |
Definition at line 156 of file readerInl.hpp.
1.5.5