oos::generic_json_parser< T > Class Template Reference
An generic json parser base class. More...
#include <generic_json_parser.hpp>
Protected Member Functions | |
generic_json_parser (T *h) | |
void | parse_json (std::istream &in) |
Parse the json input stream. More... | |
Detailed Description
template<class T>
class oos::generic_json_parser< T >
An generic json parser base class.
- Template Parameters
-
T The concrete parser class
This class implements a generic json parser base class. It parses an json input stream and for each json value type a method of parser class T is called. The parser class decides what it will do with the given information.
Constructor & Destructor Documentation
template<class T>
|
inlineprotected |
Creates a new generic_json_parser for concrete parser h.
- Parameters
-
h The concrete parser.
Member Function Documentation
template<class T >
|
protected |
Parse the json input stream.
Parse the json input stream and call the appropiate callbacks interally.
- Parameters
-
in The json input stream
The documentation for this class was generated from the following file:
- json/generic_json_parser.hpp