internal class used to create a RVNGInputStream from a unsigned char's pointer More...
#include <MWAWStringStream.hxx>
Public Member Functions | |
| MWAWStringStream (const unsigned char *data, const unsigned int dataSize) | |
| constructor | |
| ~MWAWStringStream () | |
| destructor | |
| void | append (const unsigned char *data, const unsigned int dataSize) |
| append some data at the end of the string | |
| const unsigned char * | read (unsigned long numBytes, unsigned long &numBytesRead) |
| ! reads numbytes data. | |
| long | tell () |
| returns actual offset position | |
| int | seek (long offset, librevenge::RVNG_SEEK_TYPE seekType) |
| seeks to a offset position, from actual, beginning or ending position | |
| bool | isEnd () |
| returns true if we are at the end of the section/file | |
| bool | isStructured () |
| returns true if the stream is ole | |
| unsigned | subStreamCount () |
| returns the number of sub streams. | |
| const char * | subStreamName (unsigned) |
| returns the ith sub streams name | |
| bool | existsSubStream (const char *name) |
| returns true if a substream with name exists | |
| librevenge::RVNGInputStream * | getSubStreamByName (const char *name) |
| return a new stream for a ole zone | |
| librevenge::RVNGInputStream * | getSubStreamById (unsigned) |
| return a new stream for a ole zone | |
Private Member Functions | |
| MWAWStringStream (const MWAWStringStream &) | |
| MWAWStringStream & | operator= (const MWAWStringStream &) |
Private Attributes | |
| MWAWStringStreamPrivate * | m_data |
| the string stream data | |
internal class used to create a RVNGInputStream from a unsigned char's pointer
| MWAWStringStream::MWAWStringStream | ( | const unsigned char * | data, |
| const unsigned int | dataSize | ||
| ) |
constructor
destructor
| MWAWStringStream::MWAWStringStream | ( | const MWAWStringStream & | ) | [private] |
| void MWAWStringStream::append | ( | const unsigned char * | data, |
| const unsigned int | dataSize | ||
| ) |
append some data at the end of the string
| bool MWAWStringStream::existsSubStream | ( | const char * | name | ) |
returns true if a substream with name exists
| librevenge::RVNGInputStream * MWAWStringStream::getSubStreamById | ( | unsigned | ) |
return a new stream for a ole zone
| librevenge::RVNGInputStream * MWAWStringStream::getSubStreamByName | ( | const char * | name | ) |
return a new stream for a ole zone
| bool MWAWStringStream::isEnd | ( | ) |
returns true if we are at the end of the section/file
| bool MWAWStringStream::isStructured | ( | ) |
returns true if the stream is ole
| MWAWStringStream& MWAWStringStream::operator= | ( | const MWAWStringStream & | ) | [private] |
| const unsigned char * MWAWStringStream::read | ( | unsigned long | numBytes, |
| unsigned long & | numBytesRead | ||
| ) |
! reads numbytes data.
| int MWAWStringStream::seek | ( | long | offset, |
| librevenge::RVNG_SEEK_TYPE | seekType | ||
| ) |
seeks to a offset position, from actual, beginning or ending position
| unsigned MWAWStringStream::subStreamCount | ( | ) |
returns the number of sub streams.
| const char * MWAWStringStream::subStreamName | ( | unsigned | ) |
returns the ith sub streams name
| long MWAWStringStream::tell | ( | ) |
returns actual offset position
MWAWStringStreamPrivate* MWAWStringStream::m_data [private] |