- Cal3D 0.9 API Reference -

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

CalLoader Class Reference

The loader class. More...

#include <loader.h>

List of all members.

Static Public Methods

CalCoreAnimationloadCoreAnimation (const std::string &strFilename)
 Loads a core animation instance. More...

CalCoreMaterialloadCoreMaterial (const std::string &strFilename)
 Loads a core material instance. More...

CalCoreMeshloadCoreMesh (const std::string &strFilename)
 Loads a core mesh instance. More...

CalCoreSkeletonloadCoreSkeleton (const std::string &strFilename)
 Loads a core skeleton instance. More...

CalCoreAnimationloadCoreAnimation (std::istream &inputStream)
 Loads a core animation instance. More...

CalCoreMaterialloadCoreMaterial (std::istream &inputStream)
 Loads a core material instance. More...

CalCoreMeshloadCoreMesh (std::istream &inputStream)
 Loads a core mesh instance. More...

CalCoreSkeletonloadCoreSkeleton (std::istream &inputStream)
 Loads a core skeleton instance. More...

CalCoreAnimationloadCoreAnimation (void *inputBuffer)
 Loads a core animation instance. More...

CalCoreMaterialloadCoreMaterial (void *inputBuffer)
 Loads a core material instance. More...

CalCoreMeshloadCoreMesh (void *inputBuffer)
 Loads a core mesh instance. More...

CalCoreSkeletonloadCoreSkeleton (void *inputBuffer)
 Loads a core skeleton instance. More...

CalCoreAnimationloadCoreAnimation (CalDataSource &inputSrc)
 Loads a core animation instance. More...

CalCoreMaterialloadCoreMaterial (CalDataSource &inputSrc)
 Loads a core material instance. More...

CalCoreMeshloadCoreMesh (CalDataSource &inputSrc)
 Loads a core mesh instance. More...

CalCoreSkeletonloadCoreSkeleton (CalDataSource &inputSrc)
 Loads a core skeleton instance. More...


Detailed Description

The loader class.


Member Function Documentation

CalCoreAnimation * CalLoader::loadCoreAnimation CalDataSource   dataSrc [static]
 

Loads a core animation instance.

This function loads a core animation instance from a data source.

Parameters:
dataSrc  The data source to load the core animation instance from.
Returns:
One of the following values:
  • a pointer to the core animation
  • 0 if an error happened

CalCoreAnimation * CalLoader::loadCoreAnimation void *    inputBuffer [static]
 

Loads a core animation instance.

This function loads a core animation instance from a memory buffer.

Parameters:
inputBuffer  The memory buffer to load the core animation instance from. This buffer should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core animation
  • 0 if an error happened

CalCoreAnimation * CalLoader::loadCoreAnimation std::istream &    inputStream [static]
 

Loads a core animation instance.

This function loads a core animation instance from an input stream.

Parameters:
inputStream  The stream to load the core animation instance from. This stream should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core animation
  • 0 if an error happened

CalCoreAnimation * CalLoader::loadCoreAnimation const std::string &    strFilename [static]
 

Loads a core animation instance.

This function loads a core animation instance from a file.

Parameters:
strFilename  The file to load the core animation instance from.
Returns:
One of the following values:
  • a pointer to the core animation
  • 0 if an error happened

CalCoreMaterial * CalLoader::loadCoreMaterial CalDataSource   dataSrc [static]
 

Loads a core material instance.

This function loads a core material instance from a data source.

Parameters:
dataSrc  The data source to load the core material instance from.
Returns:
One of the following values:
  • a pointer to the core material
  • 0 if an error happened

CalCoreMaterial * CalLoader::loadCoreMaterial void *    inputBuffer [static]
 

Loads a core material instance.

This function loads a core material instance from a memory buffer.

Parameters:
inputBuffer  The memory buffer to load the core material instance from. This buffer should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core material
  • 0 if an error happened

CalCoreMaterial * CalLoader::loadCoreMaterial std::istream &    inputStream [static]
 

Loads a core material instance.

This function loads a core material instance from an input stream.

Parameters:
inputStream  The stream to load the core material instance from. This stream should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core material
  • 0 if an error happened

CalCoreMaterial * CalLoader::loadCoreMaterial const std::string &    strFilename [static]
 

Loads a core material instance.

This function loads a core material instance from a file.

Parameters:
strFilename  The file to load the core material instance from.
Returns:
One of the following values:
  • a pointer to the core material
  • 0 if an error happened

CalCoreMesh * CalLoader::loadCoreMesh CalDataSource   dataSrc [static]
 

Loads a core mesh instance.

This function loads a core mesh instance from a data source.

Parameters:
dataSrc  The data source to load the core mesh instance from.
Returns:
One of the following values:
  • a pointer to the core mesh
  • 0 if an error happened

CalCoreMesh * CalLoader::loadCoreMesh void *    inputBuffer [static]
 

Loads a core mesh instance.

This function loads a core mesh instance from a memory buffer.

Parameters:
inputBuffer  The memory buffer to load the core mesh instance from. This buffer should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core mesh
  • 0 if an error happened

CalCoreMesh * CalLoader::loadCoreMesh std::istream &    inputStream [static]
 

Loads a core mesh instance.

This function loads a core mesh instance from an input stream.

Parameters:
inputStream  The stream to load the core mesh instance from. This stream should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core mesh
  • 0 if an error happened

CalCoreMesh * CalLoader::loadCoreMesh const std::string &    strFilename [static]
 

Loads a core mesh instance.

This function loads a core mesh instance from a file.

Parameters:
strFilename  The file to load the core mesh instance from.
Returns:
One of the following values:
  • a pointer to the core mesh
  • 0 if an error happened

CalCoreSkeleton * CalLoader::loadCoreSkeleton CalDataSource   dataSrc [static]
 

Loads a core skeleton instance.

This function loads a core skeleton instance from a data source.

Parameters:
dataSrc  The data source to load the core skeleton instance from.
Returns:
One of the following values:
  • a pointer to the core skeleton
  • 0 if an error happened

CalCoreSkeleton * CalLoader::loadCoreSkeleton void *    inputBuffer [static]
 

Loads a core skeleton instance.

This function loads a core skeleton instance from a memory buffer.

Parameters:
inputBuffer  The memory buffer to load the core skeleton instance from. This buffer should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core skeleton
  • 0 if an error happened

CalCoreSkeleton * CalLoader::loadCoreSkeleton std::istream &    inputStream [static]
 

Loads a core skeleton instance.

This function loads a core skeleton instance from an input stream.

Parameters:
inputStream  The stream to load the core skeleton instance from. This stream should be initialized and ready to be read from.
Returns:
One of the following values:
  • a pointer to the core skeleton
  • 0 if an error happened

CalCoreSkeleton * CalLoader::loadCoreSkeleton const std::string &    strFilename [static]
 

Loads a core skeleton instance.

This function loads a core skeleton instance from a file.

Parameters:
strFilename  The file to load the core skeleton instance from.
Returns:
One of the following values:
  • a pointer to the core skeleton
  • 0 if an error happened


The documentation for this class was generated from the following files:
Generated at Sun Oct 12 18:38:49 2003 by The Cal3D Team with doxygen 1.2.14 © 1997-2001 Dimitri van Heesch