source/integrals/serialization_tools.h File Reference

Tools to simplify serialization of e.g. More...

#include <vector>

Go to the source code of this file.

Typedefs

typedef char * CharPtrType
typedef const char * ConstCharPtrType

Functions

template<typename VectorType >
size_t std_vector_getSize (const VectorType &v)
template<typename VectorType >
void std_vector_writeToBuffer_and_move_ptr (const VectorType &v, CharPtrType &p)
template<typename VectorType >
void std_vector_assignFromBuffer_and_move_ptr (VectorType &v, ConstCharPtrType &p, const char *bufEndPtr)

Detailed Description

Tools to simplify serialization of e.g.

std::vector objects, useful when writing serialization functions needed for Chunks and Tasks usage.

Author:
: Elias Rudberg responsible.

Typedef Documentation

typedef char* CharPtrType
typedef const char* ConstCharPtrType

Function Documentation

template<typename VectorType >
void std_vector_assignFromBuffer_and_move_ptr ( VectorType v,
ConstCharPtrType p,
const char *  bufEndPtr 
) [inline]
template<typename VectorType >
size_t std_vector_getSize ( const VectorType v  )  [inline]
template<typename VectorType >
void std_vector_writeToBuffer_and_move_ptr ( const VectorType v,
CharPtrType p 
) [inline]

Generated on 10 Jul 2018 for ergo by  doxygen 1.6.1