Fabcoin Core  0.16.2
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 396 of file serialize.h.

Constructor & Destructor Documentation

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

Definition at line 402 of file serialize.h.

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

Definition at line 404 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 410 of file serialize.h.

Here is the call graph for this function:

Member Function Documentation

char* CFlatData::begin ( void  )
inline

Definition at line 415 of file serialize.h.

const char* CFlatData::begin ( void  ) const
inline

Definition at line 416 of file serialize.h.

char* CFlatData::end ( void  )
inline

Definition at line 417 of file serialize.h.

const char* CFlatData::end ( void  ) const
inline

Definition at line 418 of file serialize.h.

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

Definition at line 421 of file serialize.h.

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

Definition at line 427 of file serialize.h.

Member Data Documentation

char* CFlatData::pbegin
protected

Definition at line 399 of file serialize.h.

char* CFlatData::pend
protected

Definition at line 400 of file serialize.h.


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