Scippy

SoPlex

Sequential object-oriented simPlex

formatbuf< Char > Class Template Reference

#include <ostream.h>

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

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

Definition at line 19 of file ostream.h.

◆ traits_type

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

Definition at line 20 of file ostream.h.

Constructor & Destructor Documentation

◆ formatbuf()

formatbuf ( buffer< Char > &  buf)

Definition at line 25 of file ostream.h.

Member Function Documentation

◆ overflow()

int_type overflow ( int_type  ch = traits_type::eof())
protected

Definition at line 35 of file ostream.h.

References buffer< T >::push_back().

◆ xsputn()

std::streamsize xsputn ( const Char *  s,
std::streamsize  count 
)
protected

Definition at line 41 of file ostream.h.

References buffer< T >::append().

Member Data Documentation

◆ buffer_

buffer<Char>& buffer_
private

Definition at line 22 of file ostream.h.