|
BDE 4.39.x Production Release
|
#include <bslfmt_format_context.h>
A format context for use by formatter::format() partial specialization. It provides access to the output iterator for writing the formatted value and access to all formatting arguments.
Public Types | |
| typedef t_OUT | iterator |
| typedef t_CHAR | char_type |
Public Member Functions | |
| void | advance_to (iterator it) |
| iterator | out () |
| Arg | arg (size_t id) const BSLS_KEYWORD_NOEXCEPT |
Friends | |
| class | Format_ContextFactory |
| typedef t_CHAR bslfmt::basic_format_context< t_OUT, t_CHAR >::char_type |
| typedef t_OUT bslfmt::basic_format_context< t_OUT, t_CHAR >::iterator |
|
inline |
Update the contained iterator to that specified by it.
|
inline |
Return a basic_format_arg type for the argument in the position specified by id, with indexing starting at zero. If id is not less than the number of contained arguments, a default-constructed basic_format_arg object is returned.
|
inline |
Return (by value) the contained output iterator. As this is returned by value, any changes will not be reflected in the contained iterator unless a subsequent call to advance_to is made.
|
friend |