OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
my_struct Struct Reference

Detailed Description

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_structoperator= (const my_struct &my)
 This is fundamental to avoid crash, otherwise.
 
my_structoperator= (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
 

The documentation for this struct was generated from the following file: