#include <pldatasrc.h>
Inheritance diagram for PLDataSource:
Public Member Functions | |
PLDataSource (PLIProgressNotification *pNotification=NULL) | |
virtual void | Open (const char *pszName, int FileSize) |
virtual void | Close () |
char * | GetName () |
virtual PLBYTE * | GetBufferPtr (int MinBytesInBuffer)=0 |
Read but don't advance file pointer. | |
virtual PLBYTE * | ReadNBytes (int n) |
This needs to be overridden in derived classes. | |
int | GetFileSize () |
virtual PLBYTE * | ReadEverything ()=0 |
PLBYTE * | Read1Byte () |
PLBYTE * | Read2Bytes () |
PLBYTE * | Read4Bytes () |
void | OProgressNotification (double part) |
handles progress notification from other libs | |
void | AlignToWord () |
void | Skip (int n) |
void | CheckEOF () |
Test to see if we didn't go past the end of the file. |
Definition at line 27 of file pldatasrc.h.
|
Constructs a new data source. pNotification points to an object that reacts to progress notification messages. |
|
This is a legacy routine that interferes with progress notifications. Don't call it! Implemented in PLFileSource, PLMemSource, and PLResourceSource. |