Base::ByteArrayIStreambuf Class Reference

This class implements the streambuf interface to read data from a QByteArray. More...

#include <Stream.h>

List of all members.

Public Member Functions

 ByteArrayIStreambuf (const QByteArray &buf)
 ~ByteArrayIStreambuf ()

Protected Member Functions

virtual int_type pbackfail (int_type ch)
virtual pos_type seekoff (std::streambuf::off_type off, std::ios_base::seekdir way, std::ios_base::openmode which=std::ios::in|std::ios::out)
virtual pos_type seekpos (std::streambuf::pos_type pos, std::ios_base::openmode which=std::ios::in|std::ios::out)
virtual std::streamsize showmanyc ()
virtual int_type uflow ()
virtual int_type underflow ()

Detailed Description

This class implements the streambuf interface to read data from a QByteArray.

This class can only be used for reading but not for writing purposes.

Author:
Werner Mayer

Definition at line 155 of file Stream.h.


Constructor & Destructor Documentation

ByteArrayIStreambuf::ByteArrayIStreambuf ( const QByteArray &  buf  )  [explicit]

Definition at line 300 of file Stream.cpp.

ByteArrayIStreambuf::~ByteArrayIStreambuf (  ) 

Definition at line 307 of file Stream.cpp.


Member Function Documentation

ByteArrayIStreambuf::int_type ByteArrayIStreambuf::pbackfail ( int_type  ch  )  [protected, virtual]

Definition at line 327 of file Stream.cpp.

std::streambuf::pos_type ByteArrayIStreambuf::seekoff ( std::streambuf::off_type  off,
std::ios_base::seekdir  way,
std::ios_base::openmode  which = std::ios::in | std::ios::out 
) [protected, virtual]

Definition at line 341 of file Stream.cpp.

References Sketcher::end.

Referenced by seekpos().

std::streambuf::pos_type ByteArrayIStreambuf::seekpos ( std::streambuf::pos_type  pos,
std::ios_base::openmode  which = std::ios::in | std::ios::out 
) [protected, virtual]

Definition at line 365 of file Stream.cpp.

References seekoff().

std::streamsize ByteArrayIStreambuf::showmanyc (  )  [protected, virtual]

Definition at line 335 of file Stream.cpp.

ByteArrayIStreambuf::int_type ByteArrayIStreambuf::uflow (  )  [protected, virtual]

Definition at line 319 of file Stream.cpp.

ByteArrayIStreambuf::int_type ByteArrayIStreambuf::underflow (  )  [protected, virtual]

Definition at line 311 of file Stream.cpp.


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

Generated on Wed Nov 23 19:01:46 2011 for FreeCAD by  doxygen 1.6.1