- Cal3D 0.11 API Reference -

CalDataSource Class Reference

CalDataSource abstract interface class. More...

#include <datasource.h>

Inheritance diagram for CalDataSource:

CalBufferSource CalStreamSource List of all members.

Public Member Functions

virtual bool ok () const =0
virtual void setError () const =0
virtual bool readBytes (void *pBuffer, int length)=0
virtual bool readFloat (float &value)=0
virtual bool readInteger (int &value)=0
virtual bool readString (std::string &strValue)=0

Detailed Description

CalDataSource abstract interface class.

This is an abstract class designed to represent a source of Cal3d data, whether it is an ifstream, istream, or even a memory buffer. Inheriting classes must implement the 'read' functions below.


The documentation for this class was generated from the following file:
Generated at Thu Jun 29 19:03:59 2006 by The Cal3D Team with Doxygen 1.4.6