internal class used to create a RVNGInputStream from a unsigned char's pointer  
 More...
#include <WPSStringStream.h>
internal class used to create a RVNGInputStream from a unsigned char's pointer 
- Note
- this class (highly inspired from librevenge) does not implement the isStructured's protocol, ie. it only returns false. 
◆ WPSStringStream() [1/2]
      
        
          | WPSStringStream::WPSStringStream | ( | const unsigned char * | data, | 
        
          |  |  | const unsigned int | dataSize | 
        
          |  | ) |  |  | 
      
 
 
◆ ~WPSStringStream()
      
        
          | WPSStringStream::~WPSStringStream | ( |  | ) |  | 
      
 
 
◆ WPSStringStream() [2/2]
◆ append()
      
        
          | void WPSStringStream::append | ( | const unsigned char * | data, | 
        
          |  |  | const unsigned int | dataSize | 
        
          |  | ) |  |  | 
      
 
append some data at the end of the string 
 
 
◆ existsSubStream()
      
        
          | bool WPSStringStream::existsSubStream | ( | const char * | name | ) |  | 
      
 
returns true if a substream with name exists 
- See also
- returns always false 
 
 
◆ getSubStreamById()
      
        
          | librevenge::RVNGInputStream * WPSStringStream::getSubStreamById | ( | unsigned |  | ) |  | 
      
 
return a new stream for a ole zone 
- See also
- returns always 0 
 
 
◆ getSubStreamByName()
      
        
          | librevenge::RVNGInputStream * WPSStringStream::getSubStreamByName | ( | const char * | name | ) |  | 
      
 
return a new stream for a ole zone 
- See also
- returns always 0 
 
 
◆ isEnd()
      
        
          | bool WPSStringStream::isEnd | ( |  | ) |  | 
      
 
returns true if we are at the end of the section/file 
 
 
◆ isStructured()
      
        
          | bool WPSStringStream::isStructured | ( |  | ) |  | 
      
 
returns true if the stream is ole 
- See also
- returns always false 
 
 
◆ operator=()
◆ read()
      
        
          | const unsigned char * WPSStringStream::read | ( | unsigned long | numBytes, | 
        
          |  |  | unsigned long & | numBytesRead | 
        
          |  | ) |  |  | 
      
 
! reads numbytes data. 
- Returns
- a pointer to the read elements 
 
 
◆ seek()
      
        
          | int WPSStringStream::seek | ( | long | offset, | 
        
          |  |  | librevenge::RVNG_SEEK_TYPE | seekType | 
        
          |  | ) |  |  | 
      
 
seeks to a offset position, from actual, beginning or ending position 
- Returns
- 0 if ok 
 
 
◆ subStreamCount()
      
        
          | unsigned WPSStringStream::subStreamCount | ( |  | ) |  | 
      
 
returns the number of sub streams. 
- See also
- returns always 0 
 
 
◆ subStreamName()
      
        
          | const char * WPSStringStream::subStreamName | ( | unsigned |  | ) |  | 
      
 
returns the ith sub streams name 
- See also
- returns always 0 
 
 
◆ tell()
      
        
          | long WPSStringStream::tell | ( |  | ) |  | 
      
 
returns actual offset position 
 
 
◆ m_data
The documentation for this class was generated from the following files: