WPSStream Struct Reference

small structure use to store a stream and it debug file More...

#include <WPSStream.h>

Public Member Functions

 WPSStream (RVNGInputStreamPtr input, libwps::DebugFile &ascii)
 constructor with an ascii file
 
 WPSStream (RVNGInputStreamPtr input)
 constructor without an ascii file
 
 ~WPSStream ()
 destructor
 
bool checkFilePosition (long pos) const
 return true if the position is in the file
 

Public Attributes

RVNGInputStreamPtr m_input
 the stream
 
libwps::DebugFilem_ascii
 the ascii file
 
long m_eof
 the last position
 

Protected Attributes

libwps::DebugFile m_asciiFile
 the local file(if not, is given)
 

Detailed Description

small structure use to store a stream and it debug file

Constructor & Destructor Documentation

◆ WPSStream() [1/2]

WPSStream::WPSStream ( RVNGInputStreamPtr  input,
libwps::DebugFile ascii 
)

constructor with an ascii file

◆ WPSStream() [2/2]

WPSStream::WPSStream ( RVNGInputStreamPtr  input)
explicit

constructor without an ascii file

◆ ~WPSStream()

WPSStream::~WPSStream ( )

destructor

Member Function Documentation

◆ checkFilePosition()

bool WPSStream::checkFilePosition ( long  pos) const
inline

return true if the position is in the file

Referenced by WPSOLE1Parser::createZones().

Member Data Documentation

◆ m_ascii

libwps::DebugFile& WPSStream::m_ascii

the ascii file

Referenced by WPSOLE1Parser::createZones().

◆ m_asciiFile

libwps::DebugFile WPSStream::m_asciiFile
protected

the local file(if not, is given)

◆ m_eof

long WPSStream::m_eof

the last position

Referenced by checkFilePosition(), WPSStream(), and WPSStream().

◆ m_input


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

Generated on Thu Jul 27 2023 11:31:48 for libwps by doxygen 1.9.7