Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 382 of file serialize.h.

Constructor & Destructor Documentation

◆ CFlatData() [1/3]

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

Definition at line 388 of file serialize.h.

◆ CFlatData() [2/3]

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

Definition at line 390 of file serialize.h.

References pbegin, and pend.

◆ CFlatData() [3/3]

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

Member Function Documentation

◆ begin() [1/2]

char* CFlatData::begin ( )
inline

Definition at line 401 of file serialize.h.

References pbegin.

◆ begin() [2/2]

const char* CFlatData::begin ( ) const
inline

Definition at line 402 of file serialize.h.

References pbegin.

◆ end() [1/2]

char* CFlatData::end ( )
inline

Definition at line 403 of file serialize.h.

References pend.

◆ end() [2/2]

const char* CFlatData::end ( ) const
inline

Definition at line 404 of file serialize.h.

References pend.

◆ Serialize()

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

Definition at line 407 of file serialize.h.

References pbegin, and pend.

◆ Unserialize()

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

Definition at line 413 of file serialize.h.

References pbegin, and pend.

Member Data Documentation

◆ pbegin

char* CFlatData::pbegin
protected

Definition at line 385 of file serialize.h.

Referenced by begin(), CFlatData(), Serialize(), and Unserialize().

◆ pend

char* CFlatData::pend
protected

Definition at line 386 of file serialize.h.

Referenced by CFlatData(), end(), Serialize(), and Unserialize().


The documentation for this class was generated from the following file:
Released under the MIT license