This class implements the streambuf interface to read data from a QByteArray. More...
#include <Stream.h>
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 () |
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.
Definition at line 155 of file Stream.h.
| ByteArrayIStreambuf::ByteArrayIStreambuf | ( | const QByteArray & | buf | ) | [explicit] |
Definition at line 300 of file Stream.cpp.
| ByteArrayIStreambuf::~ByteArrayIStreambuf | ( | ) |
Definition at line 307 of file Stream.cpp.
| 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] |
| 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.
1.6.1