WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
basic_format_context< OutputIt, Char > Class Template Reference

#include <core.h>

Inheritance diagram for basic_format_context< OutputIt, Char >:
Collaboration 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
 
basic_format_arg< basic_format_context< OutputIt, Char > > arg (unsigned id) 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 1081 of file core.h.

Member Typedef Documentation

◆ char_type

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

The character type for the output.

Definition at line 1086 of file core.h.

◆ iterator

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

Definition at line 990 of file core.h.

Constructor & Destructor Documentation

◆ basic_format_context()

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 1109 of file core.h.

Member Function Documentation

◆ get_arg() [1/2]

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

Definition at line 1117 of file core.h.

Here is the caller graph for this function:

◆ get_arg() [2/2]

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 3058 of file format.h.

Here is the call graph for this function:

◆ next_arg()

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

Definition at line 1114 of file core.h.

Here is the caller graph for this function:

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