filters
POLE::Stream Class Reference
List of all members.Detailed Description
Definition at line 109 of file kpresenter/powerpoint/libppt/pole.h.
Public Member Functions | |
Stream (Storage *storage, const std::string &name) | |
~Stream () | |
std::string | fullName () |
unsigned long | size () |
unsigned long | tell () |
void | seek (unsigned long pos) |
int | getch () |
unsigned long | read (unsigned char *data, unsigned long maxlen) |
bool | eof () |
bool | fail () |
Stream (Storage *storage, const std::string &name) | |
~Stream () | |
std::string | fullName () |
unsigned long | size () |
unsigned long | tell () |
void | seek (unsigned long pos) |
int | getch () |
unsigned long | read (unsigned char *data, unsigned long maxlen) |
bool | eof () |
bool | fail () |
Stream (Storage *storage, const std::string &name) | |
~Stream () | |
std::string | fullName () |
unsigned long | size () |
unsigned long | tell () |
void | seek (unsigned long pos) |
int | getch () |
unsigned long | read (unsigned char *data, unsigned long maxlen) |
bool | eof () |
bool | fail () |
Stream (StreamIO *io) | |
unsigned long | size () |
unsigned long | tell () |
void | seek (unsigned long pos) |
int | getch () |
unsigned long | read (unsigned char *data, unsigned long maxlen) |
Friends | |
class | Storage |
class | StorageIO |
Constructor & Destructor Documentation
Stream::Stream | ( | Storage * | storage, | |
const std::string & | name | |||
) |
Stream::~Stream | ( | ) |
POLE::Stream::Stream | ( | Storage * | storage, | |
const std::string & | name | |||
) |
Creates a new stream.
POLE::Stream::~Stream | ( | ) |
Destroys the stream.
POLE::Stream::Stream | ( | Storage * | storage, | |
const std::string & | name | |||
) |
Creates a new stream.
POLE::Stream::~Stream | ( | ) |
Destroys the stream.
Member Function Documentation
std::string Stream::fullName | ( | ) |
Returns the full stream name.
Definition at line 1279 of file kpresenter/powerpoint/libppt/pole.cpp.
unsigned long Stream::size | ( | ) |
unsigned long Stream::tell | ( | ) |
Returns the current read/write position.
Definition at line 1284 of file kpresenter/powerpoint/libppt/pole.cpp.
void Stream::seek | ( | unsigned long | pos | ) |
Sets the read/write position.
Definition at line 1289 of file kpresenter/powerpoint/libppt/pole.cpp.
int Stream::getch | ( | ) |
unsigned long Stream::read | ( | unsigned char * | data, | |
unsigned long | maxlen | |||
) |
bool Stream::eof | ( | ) |
Returns true if the read/write position is past the file.
Definition at line 1309 of file kpresenter/powerpoint/libppt/pole.cpp.
bool Stream::fail | ( | ) |
Returns true whenever error occurs.
Definition at line 1314 of file kpresenter/powerpoint/libppt/pole.cpp.
std::string POLE::Stream::fullName | ( | ) |
Returns the full stream name.
unsigned long POLE::Stream::size | ( | ) |
Returns the stream size.
unsigned long POLE::Stream::tell | ( | ) |
Returns the current read/write position.
void POLE::Stream::seek | ( | unsigned long | pos | ) |
Sets the read/write position.
int POLE::Stream::getch | ( | ) |
Reads a byte.
unsigned long POLE::Stream::read | ( | unsigned char * | data, | |
unsigned long | maxlen | |||
) |
Reads a block of data.
bool POLE::Stream::eof | ( | ) |
Returns true if the read/write position is past the file.
bool POLE::Stream::fail | ( | ) |
Returns true whenever error occurs.
std::string POLE::Stream::fullName | ( | ) |
Returns the full stream name.
unsigned long POLE::Stream::size | ( | ) |
Returns the stream size.
unsigned long POLE::Stream::tell | ( | ) |
Returns the current read/write position.
void POLE::Stream::seek | ( | unsigned long | pos | ) |
Sets the read/write position.
int POLE::Stream::getch | ( | ) |
Reads a byte.
unsigned long POLE::Stream::read | ( | unsigned char * | data, | |
unsigned long | maxlen | |||
) |
Reads a block of data.
bool POLE::Stream::eof | ( | ) |
Returns true if the read/write position is past the file.
bool POLE::Stream::fail | ( | ) |
Returns true whenever error occurs.
The documentation for this class was generated from the following files: