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) |
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 Attributes |
| std::vector< unsigned long > | m_blocks |
| unsigned long | m_pos |
| std::vector< unsigned char > | m_data |
Constructor & Destructor Documentation
| libwpd::IStream::~IStream |
( |
| ) |
|
|
inline |
| libwpd::IStream::IStream |
( |
const IStream & |
| ) |
|
|
private |
Member Function Documentation
| bool libwpd::IStream::createOleFromDirectory |
( |
IStorage * |
io, |
|
|
std::string const & |
name |
|
) |
| |
|
protected |
create the data corresponding to a directory
Referenced by IStream().
| unsigned long libwpd::IStream::read |
( |
unsigned char * |
data, |
|
|
unsigned long |
maxlen |
|
) |
| |
|
inline |
| unsigned long libwpd::IStream::readData |
( |
unsigned long |
pos, |
|
|
unsigned char * |
data, |
|
|
unsigned long |
maxlen |
|
) |
| |
|
protected |
try to read maxlen data using m_data
Referenced by read().
| unsigned long libwpd::IStream::readUsingStorage |
( |
unsigned long |
pos, |
|
|
unsigned char * |
data, |
|
|
unsigned long |
maxlen |
|
) |
| |
|
protected |
try to read maxlen data using m_iStorage
Referenced by read().
| unsigned long libwpd::IStream::size |
( |
| ) |
const |
|
inline |
| unsigned long libwpd::IStream::tell |
( |
| ) |
const |
|
inline |
Member Data Documentation
| std::vector<unsigned long> libwpd::IStream::m_blocks |
|
private |
| std::vector<unsigned char> libwpd::IStream::m_data |
|
private |
| std::string libwpd::IStream::m_name |
| unsigned long libwpd::IStream::m_pos |
|
private |
| unsigned long libwpd::IStream::m_size |
The documentation for this class was generated from the following file: