HepMC3 event record library
Public Member Functions | Private Types | Private Member Functions | Private Attributes
pythonbuf Class Reference
+ Inheritance diagram for pythonbuf:
+ Collaboration diagram for pythonbuf:

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 overflow (int c) override
 
int _sync ()
 
int sync () override
 

Private Attributes

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

Detailed Description

Definition at line 24 of file iostream.h.

Constructor & Destructor Documentation

~pythonbuf ( )
inlineoverride

Sync before destroy.

Definition at line 77 of file iostream.h.


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