Public Member Functions |
| | IStream (IStorage *io, std::string const &name) |
| | constructor
|
| | ~IStream () |
| | destructor
|
| unsigned long | size () const |
| | return the stream size
|
| unsigned long | tell () const |
| | return the actual position in the stream
|
| unsigned long | read (unsigned char *data, unsigned long maxlen) |
| | try to read maxlen bytes
|
Private Attributes |
| IStorage * | m_io |
| | the main storage
|
| unsigned long | m_size |
| | the stream size
|
| std::string | m_name |
| | the full stream name
|
| std::vector< unsigned long > | m_blocks |
| | the list of block in the stream
|
| unsigned long | m_pos |
| | pointer to the actual position
|
Constructor & Destructor Documentation
| libmwawOLE::IStream::IStream |
( |
IStorage * |
io, |
|
|
std::string const & |
name |
|
) |
| |
| libmwawOLE::IStream::~IStream |
( |
| ) |
|
|
inline |
| libmwawOLE::IStream::IStream |
( |
const IStream & |
| ) |
|
|
private |
Member Function Documentation
| unsigned long libmwawOLE::IStream::read |
( |
unsigned char * |
data, |
|
|
unsigned long |
maxlen |
|
) |
| |
|
inline |
| unsigned long libmwawOLE::IStream::read |
( |
unsigned long |
pos, |
|
|
unsigned char * |
data, |
|
|
unsigned long |
maxlen |
|
) |
| |
|
private |
| unsigned long libmwawOLE::IStream::size |
( |
| ) |
const |
|
inline |
| unsigned long libmwawOLE::IStream::tell |
( |
| ) |
const |
|
inline |
return the actual position in the stream
Referenced by read().
Member Data Documentation
| std::vector<unsigned long> libmwawOLE::IStream::m_blocks |
|
private |
| std::string libmwawOLE::IStream::m_name |
|
private |
the full stream name
Referenced by read().
| unsigned long libmwawOLE::IStream::m_pos |
|
private |
pointer to the actual position
Referenced by read(), and tell().
| unsigned long libmwawOLE::IStream::m_size |
|
private |
The documentation for this class was generated from the following file: