ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ttg::detail::byte_ostreambuf Class Reference

streambuf that writes bytes to a buffer in memory More...

#include <stream.h>

Inherits std::streambuf.

Public Member Functions

 byte_ostreambuf (char_type *buffer, std::streamsize buffer_size=std::numeric_limits< std::streamsize >::max())
 
std::streamsize sputn (const char_type *s, std::streamsize n) noexcept
 
std::streamsize xsputn (const char_type *s, std::streamsize n) noexcept override final
 
std::streamsize size () const noexcept
 number of characters written to the buffer
 

Detailed Description

streambuf that writes bytes to a buffer in memory

Definition at line 72 of file stream.h.

Constructor & Destructor Documentation

◆ byte_ostreambuf()

ttg::detail::byte_ostreambuf::byte_ostreambuf ( char_type *  buffer,
std::streamsize  buffer_size = std::numeric_limits<std::streamsize>::max() 
)
inline

Definition at line 76 of file stream.h.

Member Function Documentation

◆ size()

std::streamsize ttg::detail::byte_ostreambuf::size ( ) const
inlinenoexcept

number of characters written to the buffer

Definition at line 91 of file stream.h.

◆ sputn()

std::streamsize ttg::detail::byte_ostreambuf::sputn ( const char_type *  s,
std::streamsize  n 
)
inlinenoexcept

Definition at line 79 of file stream.h.

Here is the call graph for this function:

◆ xsputn()

std::streamsize ttg::detail::byte_ostreambuf::xsputn ( const char_type *  s,
std::streamsize  n 
)
inlinefinaloverridenoexcept

Definition at line 83 of file stream.h.

Here is the caller graph for this function:

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