SoPlex Documentation
Loading...
Searching...
No Matches

#include <ostream.h>

Inheritance diagram for formatbuf< Char >:

Public Member Functions

 formatbuf (buffer< Char > &buf)
 

Protected Member Functions

int_type overflow (int_type ch=traits_type::eof()) FMT_OVERRIDE
 
std::streamsize xsputn (const Char *s, std::streamsize count) FMT_OVERRIDE
 

Private Types

using int_type = typename std::basic_streambuf<Char>::int_type
 
using traits_type = typename std::basic_streambuf<Char>::traits_type
 

Private Attributes

buffer< Char > & buffer_
 

Detailed Description

template<class Char>
class internal::formatbuf< Char >

Definition at line 17 of file ostream.h.

Member Typedef Documentation

◆ int_type

template<class Char >
using int_type = typename std::basic_streambuf<Char>::int_type
private

Definition at line 19 of file ostream.h.

◆ traits_type

template<class Char >
using traits_type = typename std::basic_streambuf<Char>::traits_type
private

Definition at line 20 of file ostream.h.

Constructor & Destructor Documentation

◆ formatbuf()

template<class Char >
formatbuf ( buffer< Char > & buf)

Definition at line 25 of file ostream.h.

Member Function Documentation

◆ overflow()

template<class Char >
int_type overflow ( int_type ch = traits_type::eof())
protected

Definition at line 35 of file ostream.h.

References formatbuf< Char >::buffer_, and buffer< T >::push_back().

◆ xsputn()

template<class Char >
std::streamsize xsputn ( const Char * s,
std::streamsize count )
protected

Definition at line 41 of file ostream.h.

Member Data Documentation

◆ buffer_

template<class Char >
buffer<Char>& buffer_
private

Definition at line 22 of file ostream.h.

Referenced by test_stream< Char >::operator<<(), and formatbuf< Char >::overflow().