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>

+ Inheritance diagram for basic_format_context< OutputIt, Char >:

Classes

struct  formatter_type
 

Public Types

typedef Char char_type
 
typedef OutputIt iterator
 
- Public Types inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char >
typedef OutputIt iterator
 

Public Member Functions

 basic_format_context (OutputIt out, basic_string_view< char_type > format_str, basic_format_args< basic_format_context > ctx_args, internal::locale_ref loc=internal::locale_ref())
 
format_arg next_arg ()
 
format_arg get_arg (unsigned arg_id)
 
format_arg get_arg (basic_string_view< char_type > name)
 
- Public Member Functions inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char >
basic_parse_context< char_type > & parse_context ()
 
basic_format_args
< basic_format_context
< OutputIt, Char > > 
args () const
 
internal::error_handler error_handler ()
 
void on_error (const char *message)
 
iterator out ()
 
iterator begin ()
 
void advance_to (iterator it)
 
locale_ref locale ()
 

Additional Inherited Members

- Protected Types inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char >
typedef Char char_type
 
typedef basic_format_arg
< basic_format_context
< OutputIt, Char > > 
format_arg
 
- Protected Member Functions inherited from internal::context_base< OutputIt, basic_format_context< OutputIt, Char >, Char >
 context_base (OutputIt out, basic_string_view< char_type > format_str, basic_format_args< basic_format_context< OutputIt, Char > > ctx_args, locale_ref loc=locale_ref())
 
format_arg do_get_arg (unsigned arg_id)
 
format_arg get_arg (unsigned arg_id)
 

Detailed Description

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

Definition at line 1076 of file core.h.

Member Typedef Documentation

template<typename OutputIt, typename Char >
typedef Char basic_format_context< OutputIt, Char >::char_type

The character type for the output.

Definition at line 1081 of file core.h.

template<typename OutputIt, typename Char >
typedef OutputIt internal::context_base< OutputIt, Context, Char >::iterator

Definition at line 986 of file core.h.

Constructor & Destructor Documentation

template<typename OutputIt, typename Char >
basic_format_context< OutputIt, Char >::basic_format_context ( OutputIt  out,
basic_string_view< char_type format_str,
basic_format_args< basic_format_context< OutputIt, Char > >  ctx_args,
internal::locale_ref  loc = internal::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 1104 of file core.h.

Member Function Documentation

template<typename OutputIt, typename Char >
format_arg basic_format_context< OutputIt, Char >::get_arg ( unsigned  arg_id)
inline

Definition at line 1112 of file core.h.

template<typename Range , typename Char >
basic_format_context< Range, Char >::format_arg basic_format_context< Range, Char >::get_arg ( basic_string_view< char_type name)

Definition at line 3211 of file format.h.

template<typename OutputIt, typename Char >
format_arg basic_format_context< OutputIt, Char >::next_arg ( )
inline

Definition at line 1109 of file core.h.


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