Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
CFlatData Class Reference

Wrapper for serializing arrays and POD. More...

#include <serialize.h>

Public Member Functions

 CFlatData (void *pbeginIn, void *pendIn)
 
template<class T , class TAl >
 CFlatData (std::vector< T, TAl > &v)
 
template<unsigned int N, typename T , typename S , typename D >
 CFlatData (prevector< N, T, S, D > &v)
 
char * begin ()
 
const char * begin () const
 
char * end ()
 
const char * end () const
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 

Protected Attributes

char * pbegin
 
char * pend
 

Detailed Description

Wrapper for serializing arrays and POD.

Definition at line 362 of file serialize.h.

Constructor & Destructor Documentation

CFlatData::CFlatData ( void *  pbeginIn,
void *  pendIn 
)
inline

Definition at line 368 of file serialize.h.

template<class T , class TAl >
CFlatData::CFlatData ( std::vector< T, TAl > &  v)
inlineexplicit

Definition at line 370 of file serialize.h.

template<unsigned int N, typename T , typename S , typename D >
CFlatData::CFlatData ( prevector< N, T, S, D > &  v)
inlineexplicit

Definition at line 376 of file serialize.h.

Here is the call graph for this function:

Member Function Documentation

char* CFlatData::begin ( )
inline

Definition at line 381 of file serialize.h.

const char* CFlatData::begin ( ) const
inline

Definition at line 382 of file serialize.h.

char* CFlatData::end ( )
inline

Definition at line 383 of file serialize.h.

const char* CFlatData::end ( ) const
inline

Definition at line 384 of file serialize.h.

template<typename Stream >
void CFlatData::Serialize ( Stream &  s) const
inline

Definition at line 387 of file serialize.h.

template<typename Stream >
void CFlatData::Unserialize ( Stream &  s)
inline

Definition at line 393 of file serialize.h.

Member Data Documentation

char* CFlatData::pbegin
protected

Definition at line 365 of file serialize.h.

char* CFlatData::pend
protected

Definition at line 366 of file serialize.h.


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