[#ParamsStream-02]
= ParamsStream
:mrdocs:

Wrapper that overrides the GetParams() function of a stream&period;

== Synopsis

Declared in `&lt;serialize&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename SubStream,
    typename Params&gt;
class ParamsStream;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:ParamsStream-02/2constructor-01.adoc[`ParamsStream`]         [.small]#[constructor]#
| Constructors
| xref:ParamsStream-02/GetParams.adoc[`GetParams`] 
| Get reference to stream parameters&period;
| xref:ParamsStream-02/GetStream-06.adoc[`GetStream`] 
| `GetStream` overloads
| xref:ParamsStream-02/empty.adoc[`empty`] 
| Return whether the underlying stream is empty&period;
| xref:ParamsStream-02/ignore.adoc[`ignore`] 
| Skip the given number of bytes in the underlying stream&period;
| xref:ParamsStream-02/operator_rshift.adoc[`operator&gt;&gt;`] 
| Unserialize an object through this stream&period;
| xref:ParamsStream-02/read.adoc[`read`] 
| Read bytes from the underlying stream&period;
| xref:ParamsStream-02/size.adoc[`size`] 
| Return the number of bytes available in the underlying stream&period;
| xref:ParamsStream-02/write.adoc[`write`] 
| Write bytes to the underlying stream&period;
| xref:ParamsStream-02/operator_lshift.adoc[`operator&lt;&lt;`] 
| Serialize an object through this stream&period;
|===


== Deduction Guides

[cols="1,4"]
|===
| Name| Description
| xref:ParamsStream-00.adoc[`ParamsStream&lt;Substream, Params&gt;`] 
| Explicit template deduction guide is required for single&hyphen;parameter constructor so Substream&amp;&amp; is treated as a forwarding reference, and SubStream is deduced as reference type for lvalue arguments&period;
| xref:ParamsStream-0f.adoc[`ParamsStream&lt;decltype(ParamsStream&lcub;std&colon;&colon;forward&lt;Substream&gt;(s), params2, params&period;&period;&period;&rcub;), Params1&gt;`] 
| Template deduction guide for multiple params arguments that creates a nested ParamsStream&period;
|===



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