Castor3D  ..
Public Member Functions | List of all members
Castor3D::SceneFileParser Class Reference

ESCN file parser. More...

+ Inheritance diagram for Castor3D::SceneFileParser:
+ Collaboration diagram for Castor3D::SceneFileParser:

Public Member Functions

C3D_API SceneFileParser (Engine &p_engine)
 
C3D_API ~SceneFileParser ()
 
C3D_API RenderWindowSPtr GetRenderWindow ()
 
C3D_API bool ParseFile (Castor::TextFile &p_file)
 
C3D_API bool ParseFile (Castor::Path const &p_pathFile)
 
ScenePtrStrMap::iterator ScenesBegin ()
 
ScenePtrStrMap::const_iterator ScenesBegin () const
 
ScenePtrStrMap::const_iterator ScenesEnd () const
 

Detailed Description

ESCN file parser.

Reads ESCN files and extracts all 3D data from it

Author
Sylvain DOREMUS
Date
25/08/2010

Constructor & Destructor Documentation

◆ SceneFileParser()

C3D_API Castor3D::SceneFileParser::SceneFileParser ( Engine p_engine)

Constructor

◆ ~SceneFileParser()

C3D_API Castor3D::SceneFileParser::~SceneFileParser ( )

Destructor

Member Function Documentation

◆ GetRenderWindow()

C3D_API RenderWindowSPtr Castor3D::SceneFileParser::GetRenderWindow ( )

Retrieves the render window defined by the scene

◆ ParseFile() [1/2]

C3D_API bool Castor3D::SceneFileParser::ParseFile ( Castor::TextFile &  p_file)

Parses the given file (expecting it to be in ESCN file format)

Parameters
[in,out]p_fileThe file
Returns
the parsed scene

◆ ParseFile() [2/2]

C3D_API bool Castor3D::SceneFileParser::ParseFile ( Castor::Path const &  p_pathFile)

Parses the given file (expecting it to be in ESCN file format)

Parameters
[in]p_pathFileThe file path
Returns
true if successful, false if not

◆ ScenesBegin() [1/2]

ScenePtrStrMap::iterator Castor3D::SceneFileParser::ScenesBegin ( )
inline

◆ ScenesBegin() [2/2]

ScenePtrStrMap::const_iterator Castor3D::SceneFileParser::ScenesBegin ( ) const
inline

◆ ScenesEnd()

ScenePtrStrMap::const_iterator Castor3D::SceneFileParser::ScenesEnd ( ) const
inline

The documentation for this class was generated from the following file: