an internal class used to return the OLE/Zip InputStream
More...
#include <MWAWInputStream.hxx>
|
| | MWAWStringStream (const unsigned char *data, const unsigned long dataSize) |
| | constructor More...
|
| |
| | ~MWAWStringStream () |
| | destructor More...
|
| |
| const unsigned char * | read (unsigned long numBytes, unsigned long &numBytesRead) |
| | ! reads numbytes data, WITHOUT using any endian or section consideration More...
|
| |
| long | tell () |
| | returns actual offset position More...
|
| |
| int | seek (long offset, WPX_SEEK_TYPE seekType) |
| | seeks to a offset position, from actual or beginning position More...
|
| |
| bool | atEOS () |
| | returns true if we are at the end of the section/file More...
|
| |
| bool | isStructuredDocument () |
| | Analyses the content of the input stream to see whether it is an Zip/OLE2 storage. More...
|
| |
| WPXInputStream * | getSubStream (const char *) |
| | Tries to extract a stream from a structured document. More...
|
| |
| bool | isOLEStream () |
| | Analyses the content of the input stream to see whether it is an Zip/OLE2 storage. More...
|
| |
| WPXInputStream * | getDocumentOLEStream (const char *name) |
| | Tries to extract a stream from a structured document. More...
|
| |
an internal class used to return the OLE/Zip InputStream
| MWAWStringStream::MWAWStringStream |
( |
const unsigned char * |
data, |
|
|
const unsigned long |
dataSize |
|
) |
| |
| MWAWStringStream::~MWAWStringStream |
( |
| ) |
|
|
inline |
| bool MWAWStringStream::atEOS |
( |
| ) |
|
|
inline |
returns true if we are at the end of the section/file
| WPXInputStream* MWAWStringStream::getDocumentOLEStream |
( |
const char * |
name | ) |
|
|
inline |
Tries to extract a stream from a structured document.
- Note
- not implemented
| WPXInputStream* MWAWStringStream::getSubStream |
( |
const char * |
| ) |
|
|
inline |
Tries to extract a stream from a structured document.
- Note
- not implemented
Referenced by getDocumentOLEStream().
| bool MWAWStringStream::isOLEStream |
( |
| ) |
|
|
inline |
Analyses the content of the input stream to see whether it is an Zip/OLE2 storage.
- Returns
- return false
| bool MWAWStringStream::isStructuredDocument |
( |
| ) |
|
|
inline |
Analyses the content of the input stream to see whether it is an Zip/OLE2 storage.
- Returns
- return false
Referenced by isOLEStream().
| const unsigned char * MWAWStringStream::read |
( |
unsigned long |
numBytes, |
|
|
unsigned long & |
numBytesRead |
|
) |
| |
! reads numbytes data, WITHOUT using any endian or section consideration
- Returns
- a pointer to the read elements
| int MWAWStringStream::seek |
( |
long |
offset, |
|
|
WPX_SEEK_TYPE |
seekType |
|
) |
| |
seeks to a offset position, from actual or beginning position
- Returns
- 0 if ok
- See Also
- pushLimit popLimit
| long MWAWStringStream::tell |
( |
| ) |
|
|
inline |
returns actual offset position
| std::vector<unsigned char> MWAWStringStream::m_buffer |
|
private |
| volatile long MWAWStringStream::m_offset |
|
private |
The documentation for this class was generated from the following files: