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

#include <core.h>

Public Types

using char_type = Char
 
using iterator = OutputIt
 
using format_arg = basic_format_arg< basic_format_context >
 
using parse_context_type = basic_format_parse_context< Char >
 
template<typename T >
using formatter_type = formatter< T, char_type >
 

Public Member Functions

 basic_format_context (const basic_format_context &)=delete
 
void operator= (const basic_format_context &)=delete
 
 basic_format_context (OutputIt out, basic_format_args< basic_format_context > ctx_args, detail::locale_ref loc=detail::locale_ref())
 
format_arg arg (int id) const
 
format_arg arg (basic_string_view< char_type > name)
 
int arg_id (basic_string_view< char_type > name)
 
const basic_format_args
< basic_format_context > & 
args () const
 
detail::error_handler error_handler ()
 
void on_error (const char *message)
 
iterator out ()
 
void advance_to (iterator it)
 
detail::locale_ref locale ()
 

Detailed Description

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

Definition at line 1490 of file core.h.

Member Typedef Documentation

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

The character type for the output.

Definition at line 1493 of file core.h.

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

Definition at line 1502 of file core.h.

template<typename OutputIt, typename Char>
template<typename T >
using basic_format_context< OutputIt, Char >::formatter_type = formatter<T, char_type>

Definition at line 1504 of file core.h.

template<typename OutputIt, typename Char>
using basic_format_context< OutputIt, Char >::iterator = OutputIt

Definition at line 1501 of file core.h.

template<typename OutputIt, typename Char>
using basic_format_context< OutputIt, Char >::parse_context_type = basic_format_parse_context<Char>

Definition at line 1503 of file core.h.

Constructor & Destructor Documentation

template<typename OutputIt, typename Char>
basic_format_context< OutputIt, Char >::basic_format_context ( const basic_format_context< OutputIt, Char > &  )
delete
template<typename OutputIt, typename Char>
basic_format_context< OutputIt, Char >::basic_format_context ( OutputIt  out,
basic_format_args< basic_format_context< OutputIt, Char > >  ctx_args,
detail::locale_ref  loc = detail::locale_ref() 
)
inline

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

Definition at line 1512 of file core.h.

Member Function Documentation

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

Definition at line 1529 of file core.h.

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

Definition at line 1517 of file core.h.

template<typename OutputIt, typename Char>
format_arg basic_format_context< OutputIt, Char >::arg ( basic_string_view< char_type name)
inline

Definition at line 1518 of file core.h.

template<typename OutputIt, typename Char>
int basic_format_context< OutputIt, Char >::arg_id ( basic_string_view< char_type name)
inline

Definition at line 1519 of file core.h.

template<typename OutputIt, typename Char>
const basic_format_args<basic_format_context>& basic_format_context< OutputIt, Char >::args ( ) const
inline

Definition at line 1520 of file core.h.

template<typename OutputIt, typename Char>
detail::error_handler basic_format_context< OutputIt, Char >::error_handler ( )
inline

Definition at line 1522 of file core.h.

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

Definition at line 1533 of file core.h.

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

Definition at line 1523 of file core.h.

template<typename OutputIt, typename Char>
void basic_format_context< OutputIt, Char >::operator= ( const basic_format_context< OutputIt, Char > &  )
delete
template<typename OutputIt, typename Char>
iterator basic_format_context< OutputIt, Char >::out ( )
inline

Definition at line 1526 of file core.h.


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