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 | |
|
inline |
Definition at line 50 of file main_ser.cpp.
|
inline |
Copy constructor.
Definition at line 57 of file main_ser.cpp.
|
inline |
Copy constructor from temporal object.
Definition at line 63 of file main_ser.cpp.
|
inline |
Definition at line 68 of file main_ser.cpp.
|
inlinestatic |
Definition at line 117 of file main_ser.cpp.
This is fundamental to avoid crash, otherwise.
Definition at line 76 of file main_ser.cpp.
This is fundamental to avoid crash, otherwise.
Definition at line 90 of file main_ser.cpp.
|
inlinestatic |
Functions to check if the packing object is complex.
Definition at line 45 of file main_ser.cpp.
|
inline |
Serialize the data structure.
Definition at line 127 of file main_ser.cpp.
|
inline |
Serialization request.
Definition at line 107 of file main_ser.cpp.
|
inline |
De-serialize the data structure.
Definition at line 168 of file main_ser.cpp.
char* my_struct::ptr |
C string pointer.
Definition at line 32 of file main_ser.cpp.
size_t my_struct::size |
C string size.
Definition at line 29 of file main_ser.cpp.
std::string my_struct::str |
C++ string.
Definition at line 35 of file main_ser.cpp.
openfpm::vector<int> my_struct::v |
vector
Definition at line 38 of file main_ser.cpp.