[#BloombergLP-bslfmt-MockFormatContext_Iterator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::MockFormatContext&lowbar;Iterator
:relfileprefix: ../../
:mrdocs:

This class template provides an output iterator to the `MockFormatContext` output buffer allowing appending formatted data&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;mockformatcontext&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;CHAR&gt;
class MockFormatContext&lowbar;Iterator;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/difference_type.adoc[`difference&lowbar;type`] 
| Difference type for iterator arithmetic&period;
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/iterator_category.adoc[`iterator&lowbar;category`] 
| Iterator category tag (output iterator)&period;
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/pointer.adoc[`pointer`] 
| Pointer to a character in the output buffer&period;
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/reference.adoc[`reference`] 
| Reference to a character in the output buffer&period;
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/value_type.adoc[`value&lowbar;type`] 
| Character type stored by the iterator&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/2constructor.adoc[`MockFormatContext&lowbar;Iterator`]         [.small]#[constructor]#
| Create an iterator over a bounded output buffer&period;
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/operator_star.adoc[`operator&ast;`] 
| Return a reference to the character referred to by this iterator&period;
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/operator_inc-01.adoc[`operator&plus;&plus;`] 
| Increment operators
| xref:BloombergLP/bslfmt/MockFormatContext_Iterator/rawPointer.adoc[`rawPointer`] 
| Return a pointer pointing to the character referred to by this iterator&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
