libzypp 17.35.1
|
#include <zypp-core/base/simplestreambuf.h>
Public Member Functions | |
SimpleStreamBuf (size_t bufsize_r=512) | |
~SimpleStreamBuf () override | |
template<typename OpenSpecType > | |
SimpleStreamBuf * | open (OpenSpecType &&name_r, std::ios_base::openmode mode_r=std::ios_base::in) |
SimpleStreamBuf * | close () |
Protected Member Functions | |
int | sync () override |
int_type | overflow (int_type c=traits_type::eof()) override |
int_type | underflow () override |
pos_type | seekpos (pos_type pos_r, std::ios_base::openmode openMode) override |
pos_type | seekoff (off_type off_r, std::ios_base::seekdir way_r, std::ios_base::openmode openMode) override |
Private Types | |
using | buffer_type = std::vector<char> |
Private Attributes | |
buffer_type | _buffer |
Additional Inherited Members | |
![]() | |
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 213 of file simplestreambuf.h.
|
inline |
Definition at line 59 of file simplestreambuf.h.
|
inlineoverride |
Definition at line 60 of file simplestreambuf.h.
|
inline |
Definition at line 63 of file simplestreambuf.h.
|
inline |
Definition at line 79 of file simplestreambuf.h.
|
inlineoverrideprotected |
Definition at line 95 of file simplestreambuf.h.
|
inlineoverrideprotected |
Definition at line 105 of file simplestreambuf.h.
|
inlineoverrideprotected |
Definition at line 126 of file simplestreambuf.h.
|
inlineoverrideprotected |
Definition at line 149 of file simplestreambuf.h.
|
inlineoverrideprotected |
Definition at line 154 of file simplestreambuf.h.
|
private |
Definition at line 214 of file simplestreambuf.h.