JSONVisitor Struct Reference
#include <MiltonJSONSceneLoader.h>
Public Member Functions | |
| DECLARE_STL_TYPEDEF2 (std::map< std::string, JSONVisitorValue >, FunctionMap) | |
| JSONVisitor (ParseFunction nullFunction, ParseFunction boolFunction, ParseFunction intFunction, ParseFunction real_tFunction, ParseFunction stringFunction, ParseFunction arrayFunction, ParseFunction objectFunction) | |
| JSONVisitor () | |
| JSONVisitorValue & | operator[] (const std::type_info &type) |
| JSONVisitorValue & | operator[] (const std::string &key) |
| bool | visit (const MiltonJSONSceneLoader *loader, const JSONVariant &v, JSONParseData &data) |
| bool | visit (const MiltonJSONSceneLoader *loader, JSONObject const &obj, JSONParseData &data, ParseResultsMap *results=NULL, bool allowRepeats=false, bool atLeastOne=false, bool strict=true) |
Public Attributes | |
| FunctionMap | functionMap |
Detailed Description
Definition at line 97 of file MiltonJSONSceneLoader.h.
Constructor & Destructor Documentation
| JSONVisitor::JSONVisitor | ( | ParseFunction | nullFunction, | |
| ParseFunction | boolFunction, | |||
| ParseFunction | intFunction, | |||
| ParseFunction | real_tFunction, | |||
| ParseFunction | stringFunction, | |||
| ParseFunction | arrayFunction, | |||
| ParseFunction | objectFunction | |||
| ) | [inline] |
Definition at line 102 of file MiltonJSONSceneLoader.h.
| JSONVisitor::JSONVisitor | ( | ) | [inline] |
Definition at line 125 of file MiltonJSONSceneLoader.h.
Member Function Documentation
| JSONVisitor::DECLARE_STL_TYPEDEF2 | ( | std::map< std::string, JSONVisitorValue > | , | |
| FunctionMap | ||||
| ) |
| JSONVisitorValue& JSONVisitor::operator[] | ( | const std::type_info & | type | ) | [inline] |
Definition at line 128 of file MiltonJSONSceneLoader.h.
| JSONVisitorValue& JSONVisitor::operator[] | ( | const std::string & | key | ) | [inline] |
Definition at line 132 of file MiltonJSONSceneLoader.h.
| bool JSONVisitor::visit | ( | const MiltonJSONSceneLoader * | loader, | |
| const JSONVariant & | v, | |||
| JSONParseData & | data | |||
| ) |
Definition at line 55 of file MiltonJSONSceneLoader.cpp.
| bool JSONVisitor::visit | ( | const MiltonJSONSceneLoader * | loader, | |
| JSONObject const & | obj, | |||
| JSONParseData & | data, | |||
| ParseResultsMap * | results = NULL, |
|||
| bool | allowRepeats = false, |
|||
| bool | atLeastOne = false, |
|||
| bool | strict = true | |||
| ) |
Definition at line 70 of file MiltonJSONSceneLoader.cpp.
Member Data Documentation
| FunctionMap JSONVisitor::functionMap |
Definition at line 100 of file MiltonJSONSceneLoader.h.
The documentation for this struct was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6