Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

X3DTK::X3D::X3DLoader Class Reference

Abstract class defining an interface for an X3D file loader. More...

Inheritance diagram for X3DTK::X3D::X3DLoader:

X3DTK::X3D::libXMLLoader X3DTK::X3D::QLoader X3DTK::X3D::XercesLoader List of all members.

Public Methods

Protected Methods

Protected Attributes


Detailed Description

Abstract class defining an interface for an X3D file loader.


Constructor & Destructor Documentation

X3DTK::X3D::X3DLoader::X3DLoader  
 

Constructor.

virtual X3DTK::X3D::X3DLoader::~X3DLoader   [pure virtual]
 

Destructor.


Member Function Documentation

X3D::X3DFileValidator* X3DTK::X3D::X3DLoader::getFileValidator   const [inline]
 

Gets the fileValidator.

X3D::Scene* X3DTK::X3D::X3DLoader::load const char *    file,
bool    fileValidation = true
const
 

Loads a scene from the file.

If fileValidation is true, then the file will be verified and messages will be written if the file is invalid. Nevertheless the content of the scene is not deleted.

virtual X3D::Scene* X3DTK::X3D::X3DLoader::loadFile const char *    file,
bool    fileValidation
const [protected, pure virtual]
 

Loads a scene from the file. This method has to be redefined.

Implemented in X3DTK::X3D::libXMLLoader, X3DTK::X3D::QLoader, and X3DTK::X3D::XercesLoader.

void X3DTK::X3D::X3DLoader::setComponentCreator X3DComponentCreator   component
 

Sets the componentVisitor.

void X3DTK::X3D::X3DLoader::setFileValidator X3D::X3DFileValidator   fileValidator
 

Sets the fileValidator.


Member Data Documentation

Creator* X3DTK::X3D::X3DLoader::creator [protected]
 

Creator.

X3D::X3DFileValidator* X3DTK::X3D::X3DLoader::fileValidator [protected]
 

FileValidator.


Generated on Thu Oct 9 13:51:04 2003 for X3DToolKit by doxygen1.2.18