Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
pythonbuf Class Reference

#include <iostream.h>

Inheritance diagram for pythonbuf:
Inheritance graph
[legend]

Public Member Functions

 pythonbuf (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
 

Private Member Functions

int _sync ()
 
int overflow (int c) override
 
int sync () override
 

Private Attributes

const size_t buf_size
 
std::unique_ptr< char[]> d_buffer
 
object pyflush
 
object pywrite
 

Detailed Description

Definition at line 24 of file iostream.h.

Member Typedef Documentation

using pythonbuf::traits_type = std::streambuf::traits_type
private

Definition at line 26 of file iostream.h.

Constructor & Destructor Documentation

pythonbuf::pythonbuf ( object  pyostream,
size_t  buffer_size = 1024 
)
inline

Definition at line 66 of file iostream.h.

pythonbuf::pythonbuf ( pythonbuf &&  )
default
pythonbuf::~pythonbuf ( )
inlineoverride

Sync before destroy.

Definition at line 77 of file iostream.h.

Member Function Documentation

int pythonbuf::_sync ( )
inlineprivate

Definition at line 44 of file iostream.h.

int pythonbuf::overflow ( int  c)
inlineoverrideprivate

Definition at line 33 of file iostream.h.

int pythonbuf::sync ( )
inlineoverrideprivate

Definition at line 60 of file iostream.h.

Member Data Documentation

const size_t pythonbuf::buf_size
private

Definition at line 28 of file iostream.h.

std::unique_ptr<char[]> pythonbuf::d_buffer
private

Definition at line 29 of file iostream.h.

object pythonbuf::pyflush
private

Definition at line 31 of file iostream.h.

object pythonbuf::pywrite
private

Definition at line 30 of file iostream.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:48