VSDInternalStream Class Reference

#include <VSDInternalStream.h>

Inheritance diagram for VSDInternalStream:

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() [1/3]

VSDInternalStream::VSDInternalStream ( WPXInputStream *  input,
unsigned long  size,
bool  compressed 
)

◆ VSDInternalStream() [2/3]

VSDInternalStream::VSDInternalStream ( const unsigned char *  buffer,
unsigned long  size 
)

◆ ~VSDInternalStream()

VSDInternalStream::~VSDInternalStream ( )
inline

◆ VSDInternalStream() [3/3]

VSDInternalStream::VSDInternalStream ( const VSDInternalStream )
private

Member Function Documentation

◆ atEOS()

bool VSDInternalStream::atEOS ( )

◆ getDocumentOLEStream()

WPXInputStream* VSDInternalStream::getDocumentOLEStream ( const char *  )
inline

◆ getSize()

unsigned long VSDInternalStream::getSize ( ) const
inline

◆ isOLEStream()

bool VSDInternalStream::isOLEStream ( )
inline

◆ operator=()

VSDInternalStream& VSDInternalStream::operator= ( const VSDInternalStream )
private

◆ read()

const unsigned char * VSDInternalStream::read ( unsigned long  numBytes,
unsigned long &  numBytesRead 
)

◆ seek()

int VSDInternalStream::seek ( long  offset,
WPX_SEEK_TYPE  seekType 
)

◆ tell()

long VSDInternalStream::tell ( )

Referenced by getDocumentOLEStream().

Member Data Documentation

◆ m_buffer

std::vector<unsigned char> VSDInternalStream::m_buffer
private

◆ m_offset

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.13