Agora  1.2.0
Agora project
fmt::v8::detail::formatbuf< Streambuf > Class Template Reference

#include <format.h>

Inheritance diagram for fmt::v8::detail::formatbuf< Streambuf >:
Collaboration diagram for fmt::v8::detail::formatbuf< Streambuf >:

Public Member Functions

 formatbuf (buffer< char_type > &buf)
 

Protected Member Functions

auto overflow (int_type ch) -> int_type override
 
auto xsputn (const char_type *s, streamsize count) -> streamsize override
 

Private Types

using char_type = typename Streambuf::char_type
 
using streamsize = decltype(std::declval< Streambuf >().sputn(nullptr, 0))
 
using int_type = typename Streambuf::int_type
 
using traits_type = typename Streambuf::traits_type
 

Private Attributes

buffer< char_type > & buffer_
 

Member Typedef Documentation

◆ char_type

template<typename Streambuf >
using fmt::v8::detail::formatbuf< Streambuf >::char_type = typename Streambuf::char_type
private

◆ int_type

template<typename Streambuf >
using fmt::v8::detail::formatbuf< Streambuf >::int_type = typename Streambuf::int_type
private

◆ streamsize

template<typename Streambuf >
using fmt::v8::detail::formatbuf< Streambuf >::streamsize = decltype(std::declval<Streambuf>().sputn(nullptr, 0))
private

◆ traits_type

template<typename Streambuf >
using fmt::v8::detail::formatbuf< Streambuf >::traits_type = typename Streambuf::traits_type
private

Constructor & Destructor Documentation

◆ formatbuf()

template<typename Streambuf >
fmt::v8::detail::formatbuf< Streambuf >::formatbuf ( buffer< char_type > &  buf)
inlineexplicit

Member Function Documentation

◆ overflow()

template<typename Streambuf >
auto fmt::v8::detail::formatbuf< Streambuf >::overflow ( int_type  ch) -> int_type
inlineoverrideprotected
Here is the call graph for this function:

◆ xsputn()

template<typename Streambuf >
auto fmt::v8::detail::formatbuf< Streambuf >::xsputn ( const char_type s,
streamsize  count 
) -> streamsize
inlineoverrideprotected
Here is the call graph for this function:

Member Data Documentation

◆ buffer_

template<typename Streambuf >
buffer<char_type>& fmt::v8::detail::formatbuf< Streambuf >::buffer_
private

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