![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
Wrapper that overrides the GetParams() function of a stream. More...
#include <serialize.h>
Public Member Functions | |
| ParamsStream (SubStream &&substream, const Params ¶ms LIFETIMEBOUND) | |
| template<typename NestedSubstream , typename Params1 , typename Params2 , typename... NestedParams> | |
| ParamsStream (NestedSubstream &&s, const Params1 ¶ms1 LIFETIMEBOUND, const Params2 ¶ms2 LIFETIMEBOUND, const NestedParams &... params LIFETIMEBOUND) | |
| template<typename U > | |
| ParamsStream & | operator<< (const U &obj) |
| template<typename U > | |
| ParamsStream & | operator>> (U &&obj) |
| void | write (std::span< const std::byte > src) |
| void | read (std::span< std::byte > dst) |
| void | ignore (size_t num) |
| bool | empty () const |
| size_t | size () const |
| template<typename P > | |
| const auto & | GetParams () const |
| Get reference to stream parameters. | |
| auto & | GetStream () |
| Get reference to underlying stream. | |
| const auto & | GetStream () const |
Private Attributes | |
| const Params & | m_params |
| SubStream | m_substream |
Wrapper that overrides the GetParams() function of a stream.
Definition at line 1106 of file serialize.h.
|
inline |
Definition at line 1119 of file serialize.h.
|
inline |
Definition at line 1122 of file serialize.h.
|
inline |
|
inline |
Get reference to stream parameters.
Definition at line 1135 of file serialize.h.
|
inline |
Get reference to underlying stream.
Definition at line 1145 of file serialize.h.
|
inline |
Definition at line 1153 of file serialize.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 1108 of file serialize.h.
|
private |
Definition at line 1116 of file serialize.h.