NEURON
pybind11::detail::pythonibuf< StringType > Class Template Reference

#include <pybind_utils.hpp>

Inheritance diagram for pybind11::detail::pythonibuf< StringType >:

Public Member Functions

 pythonibuf (object pyistream)
 

Private Types

using traits_type = std::streambuf::traits_type
 

Private Member Functions

 pythonibuf (const pythonibuf &)
 
pythonibufoperator= (const pythonibuf &)
 
int_type underflow ()
 

Private Attributes

char d_buffer [buf_sz]
 
object pyistream
 
object pyread
 

Static Private Attributes

static const std::size_t put_back_ = 1
 
static const std::size_t buf_sz = 1024 + put_back_
 

Detailed Description

template<typename StringType>
class pybind11::detail::pythonibuf< StringType >

Definition at line 45 of file pybind_utils.hpp.

Member Typedef Documentation

◆ traits_type

template<typename StringType >
using pybind11::detail::pythonibuf< StringType >::traits_type = std::streambuf::traits_type
private

Definition at line 47 of file pybind_utils.hpp.

Constructor & Destructor Documentation

◆ pythonibuf() [1/2]

template<typename StringType >
pybind11::detail::pythonibuf< StringType >::pythonibuf ( const pythonibuf< StringType > &  )
private

◆ pythonibuf() [2/2]

template<typename StringType >
pybind11::detail::pythonibuf< StringType >::pythonibuf ( object  pyistream)
inline

Definition at line 84 of file pybind_utils.hpp.

Member Function Documentation

◆ operator=()

template<typename StringType >
pythonibuf& pybind11::detail::pythonibuf< StringType >::operator= ( const pythonibuf< StringType > &  )
private

◆ underflow()

template<typename StringType >
int_type pybind11::detail::pythonibuf< StringType >::underflow ( )
inlineprivate

Definition at line 61 of file pybind_utils.hpp.

Member Data Documentation

◆ buf_sz

template<typename StringType >
const std::size_t pybind11::detail::pythonibuf< StringType >::buf_sz = 1024 + put_back_
staticprivate

Definition at line 50 of file pybind_utils.hpp.

◆ d_buffer

template<typename StringType >
char pybind11::detail::pythonibuf< StringType >::d_buffer[buf_sz]
private

Definition at line 51 of file pybind_utils.hpp.

◆ put_back_

template<typename StringType >
const std::size_t pybind11::detail::pythonibuf< StringType >::put_back_ = 1
staticprivate

Definition at line 49 of file pybind_utils.hpp.

◆ pyistream

template<typename StringType >
object pybind11::detail::pythonibuf< StringType >::pyistream
private

Definition at line 53 of file pybind_utils.hpp.

◆ pyread

template<typename StringType >
object pybind11::detail::pythonibuf< StringType >::pyread
private

Definition at line 54 of file pybind_utils.hpp.


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