VLink  2.0.0
A high-performance communication middleware
vlink::format::detail::FormatWriter< CharT, WriterT > Class Template Reference

#include <format.h>

Collaboration diagram for vlink::format::detail::FormatWriter< CharT, WriterT >:

Public Member Functions

 FormatWriter (WriterT writer)
 
void format (std::string_view fmt, BasicFormatArgs< CharT > args)
 
auto out () const
 
template<typename WriterImplT = WriterT>
auto total_size () const -> decltype(std::declval< WriterImplT >().total_size())
 
size_t size () const
 

Constructor & Destructor Documentation

◆ FormatWriter()

template<typename CharT , typename WriterT >
vlink::format::detail::FormatWriter< CharT, WriterT >::FormatWriter ( WriterT  writer)
inlineexplicit

Member Function Documentation

◆ format()

template<typename CharT , typename WriterT >
void vlink::format::detail::FormatWriter< CharT, WriterT >::format ( std::string_view  fmt,
BasicFormatArgs< CharT >  args 
)
inline
Here is the call graph for this function:

◆ out()

template<typename CharT , typename WriterT >
auto vlink::format::detail::FormatWriter< CharT, WriterT >::out ( ) const
inline

◆ size()

template<typename CharT , typename WriterT >
size_t vlink::format::detail::FormatWriter< CharT, WriterT >::size ( ) const
inline

◆ total_size()

template<typename CharT , typename WriterT >
template<typename WriterImplT = WriterT>
auto vlink::format::detail::FormatWriter< CharT, WriterT >::total_size ( ) const -> decltype(std::declval<WriterImplT>().total_size())
inline

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