ergo
|
Tools to simplify serialization of e.g. std::vector objects, useful when writing serialization functions needed for Chunks and Tasks usage. 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) |
Tools to simplify serialization of e.g. std::vector objects, useful when writing serialization functions needed for Chunks and Tasks usage.
typedef char* CharPtrType |
typedef const char* ConstCharPtrType |
void std_vector_assignFromBuffer_and_move_ptr | ( | VectorType & | v, |
ConstCharPtrType & | p, | ||
const char * | bufEndPtr | ||
) |
Referenced by distr_org_struct::assignFromBuffer(), and distr_org_mm_struct::assignFromBuffer().
size_t std_vector_getSize | ( | const VectorType & | v | ) |
Referenced by distr_org_struct::getSize(), and distr_org_mm_struct::getSize().
void std_vector_writeToBuffer_and_move_ptr | ( | const VectorType & | v, |
CharPtrType & | p | ||
) |
Referenced by distr_org_struct::writeToBuffer(), and distr_org_mm_struct::writeToBuffer().