ttg 1.0.0-alpha
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_istreambuf Class Reference

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

#include <stream.h>

Inherits std::streambuf.

Public Member Functions

 byte_istreambuf (const char_type *buffer, std::size_t buffer_size=std::numeric_limits< std::size_t >::max())
 
std::streamsize sgetn (char_type *s, std::streamsize n) noexcept
 
std::streamsize xsgetn (char_type *s, std::streamsize max_n) noexcept override final
 
std::streamsize size () const noexcept
 number of characters read from the buffer
 

Detailed Description

streambuf that writes bytes to a buffer in memory

Definition at line 101 of file stream.h.

Constructor & Destructor Documentation

◆ byte_istreambuf()

ttg::detail::byte_istreambuf::byte_istreambuf ( const char_type *  buffer,
std::size_t  buffer_size = std::numeric_limits<std::size_t>::max() 
)
inline

Definition at line 105 of file stream.h.

Member Function Documentation

◆ sgetn()

std::streamsize ttg::detail::byte_istreambuf::sgetn ( char_type *  s,
std::streamsize  n 
)
inlinenoexcept

Definition at line 108 of file stream.h.

Here is the call graph for this function:

◆ size()

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

number of characters read from the buffer

Definition at line 120 of file stream.h.

◆ xsgetn()

std::streamsize ttg::detail::byte_istreambuf::xsgetn ( char_type *  s,
std::streamsize  max_n 
)
inlinefinaloverridenoexcept

Definition at line 112 of file stream.h.

Here is the caller graph for this function:

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