- Cal3D 0.11 API Reference - |
CalDataSource abstract interface class. More...
#include <datasource.h>
Public Member Functions | |
bool | ok () |
virtual void | setError () const =0 |
virtual bool | readBytes (void *pBuffer, int length)=0 |
virtual bool | readFloat (float &value)=0 |
virtual bool | readShort (short &value)=0 |
virtual bool | readInteger (int &value)=0 |
virtual bool | readString (std::string &strValue)=0 |
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.
|
pure virtual |
Implemented in CalBufferSource, and CalStreamSource.
|
pure virtual |
Implemented in CalBufferSource, and CalStreamSource.
|
pure virtual |
Implemented in CalBufferSource, and CalStreamSource.
|
pure virtual |
Implemented in CalBufferSource, and CalStreamSource.
|
pure virtual |
Implemented in CalBufferSource, and CalStreamSource.
|
pure virtual |
Implemented in CalBufferSource, and CalStreamSource.