[#BloombergLP-bslstl-IoManip_QuotedStringFormatter]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::IoManip&lowbar;QuotedStringFormatter
:relfileprefix: ../../
:mrdocs:

Temporary proxy for quoting a `bsl&colon;&colon;basic&lowbar;string` in stream I&sol;O&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;iomanip&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;CHAR&lowbar;TYPE,
    class t&lowbar;CHAR&lowbar;TRAITS,
    class t&lowbar;ALLOC&gt;
class IoManip&lowbar;QuotedStringFormatter;
----

== Description

Private class&colon; do not use outside of `bslstl&lowbar;iomanip&period;h` header&period; This private class provides a temporary storage that can be extracted to&sol;from a stream and provides data to the standard implementation of the `quoted` function&period; Note that this class does not contain the storage itself, but only points to an external object&period; Note that `QuotedStringViewFormatter` is designed so that its objects are returned as temporary objects (of opaque type) from `bsl&colon;&colon;quoted`, and then passed to a streaming operator&semi; it serves as a temporary proxy for a string value&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/IoManip_QuotedStringFormatter/2constructor.adoc[`IoManip&lowbar;QuotedStringFormatter`]         [.small]#[constructor]#
| Create an object pointing to the specified `str` and having the optionally specified `delim` and `escape` characters&period;
| xref:BloombergLP/bslstl/IoManip_QuotedStringFormatter/delim.adoc[`delim`] 
| Return the delimiter character used by this formatter&period;
| xref:BloombergLP/bslstl/IoManip_QuotedStringFormatter/escape.adoc[`escape`] 
| Return the escape character&period;
| xref:BloombergLP/bslstl/IoManip_QuotedStringFormatter/str.adoc[`str`] 
| Return a pointer providing modifiable access to the underlying string&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/quoted-0c.adoc[`&colon;&colon;bsl&colon;&colon;quoted`]
| Return a streamable object that quotes the specified `value`&period;
|===


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