Bitcoin ABC 0.30.5
P2P Digital Currency
Public Member Functions | List of all members
DifferentialIndexedItemFormatter Struct Reference

Helper for a list of items containing a differentially encoded index as their first member. More...

#include <serialize.h>

Inheritance diagram for DifferentialIndexedItemFormatter:
[legend]
Collaboration diagram for DifferentialIndexedItemFormatter:
[legend]

Public Member Functions

template<typename Stream , typename T >
void Ser (Stream &s, T v)
 
template<typename Stream , typename T >
void Unser (Stream &s, T &v)
 
- Public Member Functions inherited from DifferenceFormatter
template<typename Stream , typename I >
void Ser (Stream &s, I v)
 
template<typename Stream , typename I >
void Unser (Stream &s, I &v)
 

Detailed Description

Helper for a list of items containing a differentially encoded index as their first member.

See DifferenceFormatter for info about the index encoding.

The index should be a public member of the object. SerData()/UnserData() methods must be implemented to serialize/deserialize the remaining item data.

To be used with a VectorFormatter.

Definition at line 794 of file serialize.h.

Member Function Documentation

◆ Ser()

template<typename Stream , typename T >
void DifferentialIndexedItemFormatter::Ser ( Stream &  s,
v 
)
inline

Definition at line 795 of file serialize.h.

Here is the call graph for this function:

◆ Unser()

template<typename Stream , typename T >
void DifferentialIndexedItemFormatter::Unser ( Stream &  s,
T &  v 
)
inline

Definition at line 800 of file serialize.h.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: