HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
basic_printf_context< OutputIt, Char > Class Template Reference

#include <ostream.h>

Public Types

using char_type = Char
 
using format_arg = basic_format_arg< basic_printf_context >
 
using parse_context_type = basic_printf_parse_context< Char >
 
template<typename T >
using formatter_type = printf_formatter< T >
 

Public Member Functions

 basic_printf_context (OutputIt out, basic_format_args< basic_printf_context > args)
 
OutputIt out ()
 
void advance_to (OutputIt it)
 
detail::locale_ref locale ()
 
format_arg arg (int id) const
 
FMT_CONSTEXPR void on_error (const char *message)
 

Detailed Description

template<typename OutputIt, typename Char>
class basic_printf_context< OutputIt, Char >

Definition at line 18 of file ostream.h.

Member Typedef Documentation

template<typename OutputIt, typename Char>
using basic_printf_context< OutputIt, Char >::char_type = Char

Definition at line 33 of file printf.h.

template<typename OutputIt, typename Char>
using basic_printf_context< OutputIt, Char >::format_arg = basic_format_arg<basic_printf_context>

Definition at line 34 of file printf.h.

template<typename OutputIt, typename Char>
template<typename T >
using basic_printf_context< OutputIt, Char >::formatter_type = printf_formatter<T>

Definition at line 36 of file printf.h.

template<typename OutputIt, typename Char>
using basic_printf_context< OutputIt, Char >::parse_context_type = basic_printf_parse_context<Char>

Definition at line 35 of file printf.h.

Constructor & Destructor Documentation

template<typename OutputIt, typename Char>
basic_printf_context< OutputIt, Char >::basic_printf_context ( OutputIt  out,
basic_format_args< basic_printf_context< OutputIt, Char > >  args 
)
inline

Constructs a printf_context object. References to the arguments are stored in the context object so make sure they have appropriate lifetimes.

Definition at line 44 of file printf.h.

Member Function Documentation

template<typename OutputIt, typename Char>
void basic_printf_context< OutputIt, Char >::advance_to ( OutputIt  it)
inline

Definition at line 49 of file printf.h.

template<typename OutputIt, typename Char>
format_arg basic_printf_context< OutputIt, Char >::arg ( int  id) const
inline

Definition at line 53 of file printf.h.

template<typename OutputIt, typename Char>
detail::locale_ref basic_printf_context< OutputIt, Char >::locale ( )
inline

Definition at line 51 of file printf.h.

template<typename OutputIt, typename Char>
FMT_CONSTEXPR void basic_printf_context< OutputIt, Char >::on_error ( const char *  message)
inline

Definition at line 55 of file printf.h.

template<typename OutputIt, typename Char>
OutputIt basic_printf_context< OutputIt, Char >::out ( )
inline

Definition at line 48 of file printf.h.


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