Raven Core  3.0.0
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 374 of file serialize.h.

Constructor & Destructor Documentation

◆ CFlatData() [1/3]

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

Definition at line 380 of file serialize.h.

◆ CFlatData() [2/3]

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

Definition at line 382 of file serialize.h.

◆ CFlatData() [3/3]

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

Definition at line 388 of file serialize.h.

Here is the call graph for this function:

Member Function Documentation

◆ begin() [1/2]

char* CFlatData::begin ( )
inline

Definition at line 393 of file serialize.h.

◆ begin() [2/2]

const char* CFlatData::begin ( ) const
inline

Definition at line 394 of file serialize.h.

◆ end() [1/2]

char* CFlatData::end ( )
inline

Definition at line 395 of file serialize.h.

◆ end() [2/2]

const char* CFlatData::end ( ) const
inline

Definition at line 396 of file serialize.h.

◆ Serialize()

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

Definition at line 399 of file serialize.h.

◆ Unserialize()

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

Definition at line 405 of file serialize.h.

Member Data Documentation

◆ pbegin

char* CFlatData::pbegin
protected

Definition at line 377 of file serialize.h.

◆ pend

char* CFlatData::pend
protected

Definition at line 378 of file serialize.h.


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