#include <WPXMemoryStream.h>
Inheritance diagram for WPXMemoryInputStream:

Public Member Functions | |
| WPXMemoryInputStream (uint8_t *data, size_t size) | |
| virtual | ~WPXMemoryInputStream () |
| virtual bool | isOLEStream () |
| Analyses the content of the input stream to see whether it is an OLE2 storage. | |
| virtual WPXInputStream * | getDocumentOLEStream () |
Extracts a PerfectOffice_MAIN stream from an OLE2 storage. | |
| virtual const uint8_t * | read (size_t numBytes, size_t &numBytesRead) |
| Tries to read a given number of bytes starting from the current position inside the input stream. | |
| virtual int | seek (long offset, WPX_SEEK_TYPE seekType) |
| Moves to the next location inside the input stream. | |
| virtual long | tell () |
| Returns the actual position inside the input stream. | |
| virtual bool | atEOS () |
| Determines whether the current position is at the end of the stream. | |
Private Member Functions | |
| WPXMemoryInputStream (const WPXMemoryInputStream &) | |
| WPXMemoryInputStream & | operator= (const WPXMemoryInputStream &) |
Private Attributes | |
| long | m_offset |
| size_t | m_size |
| uint8_t * | m_data |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Determines whether the current position is at the end of the stream.
Implements WPXInputStream. |
|
|
Extracts a
Implements WPXInputStream. |
|
|
Analyses the content of the input stream to see whether it is an OLE2 storage.
Implements WPXInputStream. |
|
|
|
|
||||||||||||
|
Tries to read a given number of bytes starting from the current position inside the input stream.
Implements WPXInputStream. |
|
||||||||||||
|
Moves to the next location inside the input stream.
Implements WPXInputStream. |
|
|
Returns the actual position inside the input stream.
Implements WPXInputStream. |
|
|
|
|
|
|
|
|
|