Format value according to the previously parsed specification.

Synopsis

Declared in <bdlb_guidformatter.h>

template<class t_FORMAT_CONTEXT>
t_FORMAT_CONTEXT::iterator
format(
    Guid const& value,
    t_FORMAT_CONTEXT& formatContext) const;

Description

Create a string representation of the specified value in accordance with the format specification previously parsed by parse (see grammar documented at the top of this component) and the specified formatContext, and copy it to the output iterator held by formatContext. Return the updated output iterator. The behavior is undefined unless t_FORMAT_CONTEXT::char_type is t_CHAR.

Return Value

output iterator after writing

Parameters

Name

Description

value

guid to format

formatContext

format context providing the output iterator

Created with MrDocs