List of all members.
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 Member Functions |
unsigned long | read (unsigned long pos, unsigned char *data, unsigned long maxlen) |
| IStream (const IStream &) |
IStream & | operator= (const IStream &) |
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
Member Function Documentation
return the actual position in the stream
Referenced by read().
Member Data Documentation
the full stream name
Referenced by read().
pointer to the actual position
Referenced by read(), and tell().
The documentation for this class was generated from the following file: