Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
toolbox::io::StreamBuf Class Referencefinal

#include <toolbox/io/Stream.hpp>

Inheritance diagram for toolbox::io::StreamBuf:
Inheritance graph
[legend]
Collaboration diagram for toolbox::io::StreamBuf:
Collaboration graph
[legend]

Public Member Functions

 StreamBuf (Buffer &buf) noexcept
 
 ~StreamBuf () override
 
 StreamBuf (const StreamBuf &)=delete
 
StreamBufoperator= (const StreamBuf &)=delete
 
 StreamBuf (StreamBuf &&)=delete
 
StreamBufoperator= (StreamBuf &&)=delete
 
void commit () noexcept
 
void reset () noexcept
 

Protected Member Functions

int_type overflow (int_type c) noexcept override
 
std::streamsize xsputn (const char_type *s, std::streamsize count) noexcept override
 

Detailed Description

Definition at line 26 of file Stream.hpp.

Constructor & Destructor Documentation

◆ StreamBuf() [1/3]

toolbox::io::StreamBuf::StreamBuf ( Buffer buf)
inlineexplicitnoexcept

Definition at line 28 of file Stream.hpp.

◆ ~StreamBuf()

toolbox::io::StreamBuf::~StreamBuf ( )
overridedefault

◆ StreamBuf() [2/3]

toolbox::io::StreamBuf::StreamBuf ( const StreamBuf )
delete

◆ StreamBuf() [3/3]

toolbox::io::StreamBuf::StreamBuf ( StreamBuf &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

StreamBuf & toolbox::io::StreamBuf::operator= ( const StreamBuf )
delete

◆ operator=() [2/2]

StreamBuf & toolbox::io::StreamBuf::operator= ( StreamBuf &&  )
delete

◆ commit()

void toolbox::io::StreamBuf::commit ( )
inlinenoexcept

Definition at line 42 of file Stream.hpp.

◆ reset()

void toolbox::io::StreamBuf::reset ( )
inlinenoexcept

Definition at line 43 of file Stream.hpp.

◆ overflow()

StreamBuf::int_type toolbox::io::StreamBuf::overflow ( int_type  c)
overrideprotectednoexcept

Definition at line 25 of file Stream.cpp.

◆ xsputn()

std::streamsize toolbox::io::StreamBuf::xsputn ( const char_type s,
std::streamsize  count 
)
overrideprotectednoexcept

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