#include <RVNGStream.h>
librevenge::RVNGInputStream::RVNGInputStream |
( |
| ) |
|
|
inline |
virtual librevenge::RVNGInputStream::~RVNGInputStream |
( |
| ) |
|
|
inlinevirtual |
virtual bool librevenge::RVNGInputStream::existsSubStream |
( |
const char * |
name | ) |
|
|
pure virtual |
virtual RVNGInputStream* librevenge::RVNGInputStream::getSubStreamById |
( |
unsigned |
id | ) |
|
|
pure virtual |
virtual RVNGInputStream* librevenge::RVNGInputStream::getSubStreamByName |
( |
const char * |
name | ) |
|
|
pure virtual |
virtual bool librevenge::RVNGInputStream::isEnd |
( |
| ) |
|
|
pure virtual |
virtual bool librevenge::RVNGInputStream::isStructured |
( |
| ) |
|
|
pure virtual |
virtual const unsigned char* librevenge::RVNGInputStream::read |
( |
unsigned long |
numBytes, |
|
|
unsigned long & |
numBytesRead |
|
) |
| |
|
pure virtual |
virtual int librevenge::RVNGInputStream::seek |
( |
long |
offset, |
|
|
RVNG_SEEK_TYPE |
seekType |
|
) |
| |
|
pure virtual |
Moves to the next location inside the input stream.
- Parameters
-
offset | The offset of the location inside the input stream to move to. It is relative either to the current position or to the beginning of the input stream depending on the value of the seekType parameter. |
seekType | Determines whether the offset is relative to the beginning of the input stream (RVNG_SEEK_SET ) or to the current position (RVNG_SEEK_CUR ). |
- Returns
- An integer value that should be 0 (zero) if the seek was successful and any other value if it failed (i.e. the requested
offset
is beyond the end of the input stream or before its beginning).
Implemented in librevenge::RVNGStringStream, librevenge::RVNGMemoryInputStream, librevenge::RVNGDirectoryStream, and librevenge::RVNGFileStream.
Referenced by librevenge::RVNGZipStream::isZipFile().
virtual unsigned librevenge::RVNGInputStream::subStreamCount |
( |
| ) |
|
|
pure virtual |
virtual const char* librevenge::RVNGInputStream::subStreamName |
( |
unsigned |
id | ) |
|
|
pure virtual |
virtual long librevenge::RVNGInputStream::tell |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: