- Cal3D 0.11 API Reference -

Public Member Functions | List of all members
CalDataSource Class Referenceabstract

CalDataSource abstract interface class. More...

#include <datasource.h>

Inheritance diagram for CalDataSource:
CalBufferSource CalStreamSource

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 Sat Aug 16 2014 01:39:52 by The Cal3D Team with Doxygen 1.8.7