Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
detail::formatbuf< Streambuf > Class Template Reference

#include <ostream.h>

Inheritance diagram for detail::formatbuf< Streambuf >:
Inheritance graph
[legend]

Public Member Functions

 formatbuf (buffer< char_type > &buf)
 

Protected Member Functions

auto overflow (int_type ch) -> int_type override
 
auto xsputn (const char_type *s, streamsize count) -> streamsize override
 

Private Types

using char_type = typename Streambuf::char_type
 
using int_type = typename Streambuf::int_type
 
using streamsize = decltype(std::declval< Streambuf >().sputn(nullptr, 0))
 
using traits_type = typename Streambuf::traits_type
 

Private Attributes

buffer< char_type > & buffer_
 

Detailed Description

template<typename Streambuf>
class detail::formatbuf< Streambuf >

Definition at line 26 of file ostream.h.

Member Typedef Documentation

◆ char_type

template<typename Streambuf >
using detail::formatbuf< Streambuf >::char_type = typename Streambuf::char_type
private

Definition at line 28 of file ostream.h.

◆ int_type

template<typename Streambuf >
using detail::formatbuf< Streambuf >::int_type = typename Streambuf::int_type
private

Definition at line 30 of file ostream.h.

◆ streamsize

template<typename Streambuf >
using detail::formatbuf< Streambuf >::streamsize = decltype(std::declval<Streambuf>().sputn(nullptr, 0))
private

Definition at line 29 of file ostream.h.

◆ traits_type

template<typename Streambuf >
using detail::formatbuf< Streambuf >::traits_type = typename Streambuf::traits_type
private

Definition at line 31 of file ostream.h.

Constructor & Destructor Documentation

◆ formatbuf()

template<typename Streambuf >
detail::formatbuf< Streambuf >::formatbuf ( buffer< char_type > &  buf)
inlineexplicit

Definition at line 36 of file ostream.h.

Member Function Documentation

◆ overflow()

template<typename Streambuf >
auto detail::formatbuf< Streambuf >::overflow ( int_type  ch) -> int_type
inlineoverrideprotected

Definition at line 45 of file ostream.h.

◆ xsputn()

template<typename Streambuf >
auto detail::formatbuf< Streambuf >::xsputn ( const char_type s,
streamsize  count 
) -> streamsize
inlineoverrideprotected

Definition at line 51 of file ostream.h.

Member Data Documentation

◆ buffer_

template<typename Streambuf >
buffer<char_type>& detail::formatbuf< Streambuf >::buffer_
private

Definition at line 33 of file ostream.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30