Public Member Functions | |
| IStream (IStorage *io, std::string const &name) | |
| ~IStream () | |
| unsigned long | size () const |
| unsigned long | tell () const |
| unsigned long | read (unsigned char *data, unsigned long maxlen) |
Public Attributes | |
| IStorage * | m_iStorage |
| unsigned long | m_size |
| the stream size | |
| std::string | m_name |
Protected Member Functions | |
| bool | createOleFromDirectory (IStorage *io, std::string const &name) |
| create the data corresponding to a directory | |
| unsigned long | readUsingStorage (unsigned long pos, unsigned char *data, unsigned long maxlen) |
| try to read maxlen data using m_iStorage | |
| unsigned long | readData (unsigned long pos, unsigned char *data, unsigned long maxlen) |
| try to read maxlen data using m_data | |
Private Member Functions | |
| IStream (const IStream &) | |
| IStream & | operator= (const IStream &) |
Private Attributes | |
| std::vector< unsigned long > | m_blocks |
| unsigned long | m_pos |
| std::vector< unsigned char > | m_data |
| libwps_OLE::IStream::IStream | ( | libwps_OLE::IStorage * | s, |
| std::string const & | name | ||
| ) |
|
inline |
|
protected |
create the data corresponding to a directory
Referenced by IStream().
|
protected |
try to read maxlen data using m_data
Referenced by read().
|
protected |
try to read maxlen data using m_iStorage
Referenced by read().
|
private |
Referenced by IStream().
|
private |
Referenced by read().
| std::string libwps_OLE::IStream::m_name |