Definition at line 26 of file main_ser.cpp.
Public Member Functions | |
my_struct (const my_struct &my) | |
Copy constructor. | |
my_struct (my_struct &&my) | |
Copy constructor from temporal object. | |
my_struct & | operator= (const my_struct &my) |
This is fundamental to avoid crash, otherwise. | |
my_struct & | operator= (my_struct &&my) |
This is fundamental to avoid crash, otherwise. | |
template<int... prp> | |
void | packRequest (size_t &req) const |
Serialization request. | |
template<typename Memory , int... prp> | |
void | pack (ExtPreAlloc< Memory > &mem, Pack_stat &sts) const |
Serialize the data structure. | |
template<typename Memory , int... prp> | |
void | unpack (ExtPreAlloc< Memory > &mem, Unpack_stat &ps) |
De-serialize the data structure. | |
Static Public Member Functions | |
static bool | pack () |
Functions to check if the packing object is complex. | |
static bool | noPointers () |
Data Fields | |
size_t | size |
C string size. | |
char * | ptr |
C string pointer. | |
std::string | str |
C++ string. | |
openfpm::vector< int > | v |
vector | |