ttg::detail::counting_streambuf Class Reference
Inheritance diagram for ttg::detail::counting_streambuf:

Documentation

streambuf that counts bytes

Definition at line 14 of file stream.h.

Public Member Functions

size_t size () const
 

Protected Member Functions

std::streamsize xsputn (const char_type *s, std::streamsize n) override
 

Member Function Documentation

◆ size()

size_t ttg::detail::counting_streambuf::size ( ) const
inline
Returns
the size of data put into *this

Definition at line 19 of file stream.h.

◆ xsputn()

std::streamsize ttg::detail::counting_streambuf::xsputn ( const char_type *  s,
std::streamsize  n 
)
inlineoverrideprotected

Definition at line 22 of file stream.h.


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