kblib 0.2.3
General utilities library for modern C++
kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t > Class Template Reference

#include <kblib/io.h>

Inheritance diagram for kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >:
Collaboration diagram for kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >:

Public Types

using base_type = std::basic_streambuf< typename SB1_t::char_type, typename SB1_t::traits_type >
 

Public Member Functions

 basic_teestreambuf ()=delete
 
 basic_teestreambuf (SB1_t *a, SB2_t *b)
 

Protected Member Functions

auto imbue (const std::locale &loc) -> void override
 
auto sync () -> int override
 
auto xsputn (const char_type *s, std::streamsize count) -> std::streamsize override
 
auto overflow (int_type ch) -> int_type override
 

Detailed Description

template<typename SB1_t, typename SB2_t>
class kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >

Definition at line 418 of file io.h.

Member Typedef Documentation

◆ base_type

template<typename SB1_t , typename SB2_t >
using kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >::base_type = std::basic_streambuf<typename SB1_t::char_type, typename SB1_t::traits_type>

Definition at line 422 of file io.h.

Constructor & Destructor Documentation

◆ basic_teestreambuf() [1/2]

template<typename SB1_t , typename SB2_t >
kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >::basic_teestreambuf ( )
delete

◆ basic_teestreambuf() [2/2]

template<typename SB1_t , typename SB2_t >
kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >::basic_teestreambuf ( SB1_t *  a,
SB2_t *  b 
)
inline

Definition at line 439 of file io.h.

Member Function Documentation

◆ imbue()

template<typename SB1_t , typename SB2_t >
auto kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >::imbue ( const std::locale &  loc) -> void
inlineoverrideprotected

Definition at line 451 of file io.h.

◆ overflow()

template<typename SB1_t , typename SB2_t >
auto kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >::overflow ( int_type  ch) -> int_type
inlineoverrideprotected

Definition at line 473 of file io.h.

◆ sync()

template<typename SB1_t , typename SB2_t >
auto kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >::sync ( ) -> int
inlineoverrideprotected

Definition at line 457 of file io.h.

◆ xsputn()

template<typename SB1_t , typename SB2_t >
auto kblib::detail_io::basic_teestreambuf< SB1_t, SB2_t >::xsputn ( const char_type *  s,
std::streamsize  count 
) -> std::streamsize
inlineoverrideprotected

Definition at line 459 of file io.h.


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