VSDInternalStream Class Reference

#include <VSDInternalStream.h>

Public Member Functions

 VSDInternalStream (WPXInputStream *input, unsigned long size, bool compressed)
 VSDInternalStream (const unsigned char *buffer, unsigned long size)
 ~VSDInternalStream ()
bool isOLEStream ()
WPXInputStream * getDocumentOLEStream (const char *)
const unsigned char * read (unsigned long numBytes, unsigned long &numBytesRead)
int seek (long offset, WPX_SEEK_TYPE seekType)
long tell ()
bool atEOS ()
unsigned long getSize () const

Private Member Functions

 VSDInternalStream (const VSDInternalStream &)
VSDInternalStreamoperator= (const VSDInternalStream &)

Private Attributes

volatile long m_offset
std::vector< unsigned char > m_buffer

Constructor & Destructor Documentation

VSDInternalStream::VSDInternalStream ( WPXInputStream *  input,
unsigned long  size,
bool  compressed 
)
VSDInternalStream::VSDInternalStream ( const unsigned char *  buffer,
unsigned long  size 
)
VSDInternalStream::~VSDInternalStream ( )
inline
VSDInternalStream::VSDInternalStream ( const VSDInternalStream )
private

Member Function Documentation

bool VSDInternalStream::atEOS ( )
WPXInputStream* VSDInternalStream::getDocumentOLEStream ( const char *  )
inline
unsigned long VSDInternalStream::getSize ( ) const
inline
bool VSDInternalStream::isOLEStream ( )
inline
VSDInternalStream& VSDInternalStream::operator= ( const VSDInternalStream )
private
const unsigned char * VSDInternalStream::read ( unsigned long  numBytes,
unsigned long &  numBytesRead 
)
int VSDInternalStream::seek ( long  offset,
WPX_SEEK_TYPE  seekType 
)
long VSDInternalStream::tell ( )

Member Data Documentation

std::vector<unsigned char> VSDInternalStream::m_buffer
private
volatile long VSDInternalStream::m_offset
private

Referenced by atEOS(), read(), seek(), and tell().


The documentation for this class was generated from the following files:

Generated for libvisio by doxygen 1.8.1.2