MiltonJSONSceneLoader Class Reference
Scene loader for Milton JSON scene format. More...
#include <MiltonJSONSceneLoader.h>

Public Member Functions | |
Constructors | |
| MiltonJSONSceneLoader () | |
| virtual | ~MiltonJSONSceneLoader () |
Main usage interface | |
| virtual bool | parse (const std::string &fileName, ParseData &outData) |
| Attempts to parse the given file, storing the results in outData. | |
Protected Member Functions | |
| virtual bool | _parse (const std::string &input, ParseData &outData) const |
| virtual bool | _finalizeData (JSONParseData &data) const |
| Called after successful parsing of 'scenefile' element. | |
Detailed Description
Scene loader for Milton JSON scene format.
- Date:
- Fall 2008
Definition at line 152 of file MiltonJSONSceneLoader.h.
Constructor & Destructor Documentation
| MiltonJSONSceneLoader::MiltonJSONSceneLoader | ( | ) | [inline] |
Definition at line 157 of file MiltonJSONSceneLoader.h.
| virtual MiltonJSONSceneLoader::~MiltonJSONSceneLoader | ( | ) | [inline, virtual] |
Definition at line 161 of file MiltonJSONSceneLoader.h.
Member Function Documentation
| bool MiltonJSONSceneLoader::parse | ( | const std::string & | fileName, | |
| ParseData & | outData | |||
| ) | [virtual] |
Attempts to parse the given file, storing the results in outData.
- Returns:
- whether or not parsing was successful
Implements SceneLoader.
Definition at line 119 of file MiltonJSONSceneLoader.cpp.
| bool MiltonJSONSceneLoader::_parse | ( | const std::string & | input, | |
| ParseData & | outData | |||
| ) | const [protected, virtual] |
Definition at line 150 of file MiltonJSONSceneLoader.cpp.
| bool MiltonJSONSceneLoader::_finalizeData | ( | JSONParseData & | data | ) | const [protected, virtual] |
Called after successful parsing of 'scenefile' element.
Initializes defaults for the camera, output, and renderer of they weren't specified and ensures all references are in place between them
Definition at line 215 of file MiltonJSONSceneLoader.cpp.
The documentation for this class was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6