#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/iostream.h>
Public Member Functions | |
pythonbuf (const object &pyostream, size_t buffer_size=1024) | |
pythonbuf (pythonbuf &&)=default | |
~pythonbuf () override | |
Sync before destroy. More... | |
pythonbuf (const object &pyostream, size_t buffer_size=1024) | |
pythonbuf (pythonbuf &&)=default | |
~pythonbuf () override | |
Sync before destroy. More... | |
Private Types | |
using | traits_type = std::streambuf::traits_type |
using | traits_type = std::streambuf::traits_type |
Private Member Functions | |
int | overflow (int c) override |
size_t | utf8_remainder () const |
int | _sync () |
int | sync () override |
int | overflow (int c) override |
size_t | utf8_remainder () const |
int | _sync () |
int | sync () override |
Private Attributes | |
const size_t | buf_size |
std::unique_ptr< char[]> | d_buffer |
object | pywrite |
object | pyflush |
Definition at line 38 of file iostream.h.
|
private |
Definition at line 40 of file iostream.h.
|
private |
Definition at line 40 of file iostream.h.
Definition at line 120 of file iostream.h.
|
default |
|
inlineoverride |
Sync before destroy.
Definition at line 129 of file iostream.h.
Definition at line 120 of file iostream.h.
|
default |
|
inlineoverride |
|
inlineprivate |
Definition at line 94 of file iostream.h.
Referenced by sync(), and ~pythonbuf().
|
inlineprivate |
Definition at line 94 of file iostream.h.
References pyflush, pywrite, and utf8_remainder().
|
inlineoverrideprivate |
Definition at line 47 of file iostream.h.
|
inlineoverrideprivate |
Definition at line 47 of file iostream.h.
References sync().
|
inlineoverrideprivate |
Definition at line 117 of file iostream.h.
Referenced by overflow().
|
inlineoverrideprivate |
Definition at line 117 of file iostream.h.
References _sync().
|
inlineprivate |
Definition at line 58 of file iostream.h.
Referenced by _sync().
|
inlineprivate |
Definition at line 58 of file iostream.h.
|
private |
Definition at line 42 of file iostream.h.
Referenced by pythonbuf().
|
private |
Definition at line 43 of file iostream.h.
Referenced by pythonbuf().
|
private |
Definition at line 45 of file iostream.h.
Referenced by _sync().
|
private |
Definition at line 44 of file iostream.h.
Referenced by _sync().