|
BDE 4.39.x Production Release
|
#include <bslfmt_format_context.h>
This class provides a type-erased interface to an output iterator that it holds indirectly via a reference to a Format_ContextOutputIteratorImpl type. It is solely for private use by other components of the bslfmt package and should not be used directly.
Public Types | |
| typedef bsl::output_iterator_tag | iterator_category |
| typedef void | difference_type |
| typedef t_CHAR | value_type |
| typedef void | reference |
| typedef void | pointer |
Public Member Functions | |
| Format_ContextOutputIteratorRef (Format_ContextOutputIteratorBase< t_CHAR > *base) | |
| Format_ContextOutputIteratorRef & | operator* () |
| void | operator= (t_CHAR x) |
| Format_ContextOutputIteratorRef & | operator++ () |
| Format_ContextOutputIteratorRef | operator++ (int) |
| typedef void bslfmt::Format_ContextOutputIteratorRef< t_CHAR >::difference_type |
| typedef bsl::output_iterator_tag bslfmt::Format_ContextOutputIteratorRef< t_CHAR >::iterator_category |
| typedef void bslfmt::Format_ContextOutputIteratorRef< t_CHAR >::pointer |
| typedef void bslfmt::Format_ContextOutputIteratorRef< t_CHAR >::reference |
| typedef t_CHAR bslfmt::Format_ContextOutputIteratorRef< t_CHAR >::value_type |
|
inline |
Create an instance of this type. The specified base should be a pointer to an Format_ContextOutputIteratorImpl type whose lifetime must outlive that of the constructed instance.
|
inline |
Return a reference to *this. This method is provided to enable this type to satisfy the requirements of [output.iterators].
|
inline |
Do nothing. This method is provided to enable this type to satisfy the requirements of [output.iterators].
|
inline |
Do nothing. This method is provided to enable this type to satisfy the requirements of [output.iterators].
|
inline |
Call put(x) on the referenced Format_ContextOutputIteratorImpl instance. This will result in the value being written to the underlying iterator referenced by the Format_ContextOutputIteratorImpl instance, and that underlying iterator then being incremented.