libzypp 17.31.23
|
#include <base/simplestreambuf.h>
Public Member Functions | |
SimpleStreamBuf (size_t bufsize_r=512) | |
virtual | ~SimpleStreamBuf () |
SimpleStreamBuf * | open (const char *name_r, std::ios_base::openmode mode_r=std::ios_base::in) |
SimpleStreamBuf * | close () |
Protected Member Functions | |
virtual int | sync () |
virtual int_type | overflow (int_type c=traits_type::eof()) |
virtual int_type | underflow () |
virtual pos_type | seekpos (pos_type pos_r, std::ios_base::openmode openMode) |
virtual pos_type | seekoff (off_type off_r, std::ios_base::seekdir way_r, std::ios_base::openmode openMode) |
Private Types | |
typedef std::vector< char > | buffer_type |
Private Attributes | |
buffer_type | _buffer |
Additional Inherited Members | |
Related Functions inherited from Impl | |
std::ostream & | operator<< (std::ostream &str, const RepoManager::Impl &obj) |
Stream output. | |
Implementation of a std::streambuf that is using a std::vector<char> as buffer, relies on a Impl class that must implement the basic i/o functionality:
Definition at line 54 of file simplestreambuf.h.
|
private |
Definition at line 212 of file simplestreambuf.h.
|
inline |
Definition at line 59 of file simplestreambuf.h.
|
inlinevirtual |
Definition at line 60 of file simplestreambuf.h.
|
inline |
Definition at line 62 of file simplestreambuf.h.
|
inline |
Definition at line 78 of file simplestreambuf.h.
|
inlineprotectedvirtual |
Definition at line 94 of file simplestreambuf.h.
|
inlineprotectedvirtual |
Definition at line 104 of file simplestreambuf.h.
|
inlineprotectedvirtual |
Definition at line 125 of file simplestreambuf.h.
|
inlineprotectedvirtual |
Definition at line 148 of file simplestreambuf.h.
|
inlineprotectedvirtual |
Definition at line 153 of file simplestreambuf.h.
|
private |
Definition at line 213 of file simplestreambuf.h.