HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
format_handler< ArgFormatter, Char, Context > Struct Template Reference

#include <format.h>

+ Inheritance diagram for format_handler< ArgFormatter, Char, Context >:

Public Types

typedef
internal::null_terminating_iterator
< Char > 
iterator
 
typedef ArgFormatter::range range
 

Public Member Functions

 format_handler (range r, basic_string_view< Char > str, basic_format_args< Context > format_args, internal::locale_ref loc)
 
void on_text (const Char *begin, const Char *end)
 
void on_arg_id ()
 
void on_arg_id (unsigned id)
 
void on_arg_id (basic_string_view< Char > id)
 
void on_replacement_field (const Char *p)
 
iterator on_format_specs (iterator it)
 
- Public Member Functions inherited from internal::error_handler
FMT_CONSTEXPR error_handler ()
 
FMT_CONSTEXPR error_handler (const error_handler &)
 
FMT_API void on_error (const char *message)
 

Public Attributes

Context context
 
basic_format_arg< Contextarg
 

Detailed Description

template<typename ArgFormatter, typename Char, typename Context>
struct format_handler< ArgFormatter, Char, Context >

Definition at line 3221 of file format.h.

Member Typedef Documentation

template<typename ArgFormatter, typename Char, typename Context>
typedef internal::null_terminating_iterator<Char> format_handler< ArgFormatter, Char, Context >::iterator

Definition at line 3222 of file format.h.

template<typename ArgFormatter, typename Char, typename Context>
typedef ArgFormatter::range format_handler< ArgFormatter, Char, Context >::range

Definition at line 3223 of file format.h.

Constructor & Destructor Documentation

template<typename ArgFormatter, typename Char, typename Context>
format_handler< ArgFormatter, Char, Context >::format_handler ( range  r,
basic_string_view< Char >  str,
basic_format_args< Context format_args,
internal::locale_ref  loc 
)
inline

Definition at line 3225 of file format.h.

Member Function Documentation

template<typename ArgFormatter, typename Char, typename Context>
void format_handler< ArgFormatter, Char, Context >::on_arg_id ( )
inline

Definition at line 3238 of file format.h.

template<typename ArgFormatter, typename Char, typename Context>
void format_handler< ArgFormatter, Char, Context >::on_arg_id ( unsigned  id)
inline

Definition at line 3239 of file format.h.

template<typename ArgFormatter, typename Char, typename Context>
void format_handler< ArgFormatter, Char, Context >::on_arg_id ( basic_string_view< Char >  id)
inline

Definition at line 3243 of file format.h.

template<typename ArgFormatter, typename Char, typename Context>
iterator format_handler< ArgFormatter, Char, Context >::on_format_specs ( iterator  it)
inline

Definition at line 3254 of file format.h.

template<typename ArgFormatter, typename Char, typename Context>
void format_handler< ArgFormatter, Char, Context >::on_replacement_field ( const Char *  p)
inline

Definition at line 3247 of file format.h.

template<typename ArgFormatter, typename Char, typename Context>
void format_handler< ArgFormatter, Char, Context >::on_text ( const Char *  begin,
const Char *  end 
)
inline

Definition at line 3230 of file format.h.

Member Data Documentation

template<typename ArgFormatter, typename Char, typename Context>
basic_format_arg<Context> format_handler< ArgFormatter, Char, Context >::arg

Definition at line 3273 of file format.h.

template<typename ArgFormatter, typename Char, typename Context>
Context format_handler< ArgFormatter, Char, Context >::context

Definition at line 3272 of file format.h.


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