OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
Support Class Reference

Detailed Description

Definition at line 11 of file Support.hpp.

Public Member Functions

 Support (const size_t &referencePoint, const openfpm::vector_std< size_t > &keys)
 
 Support (const size_t &referencePoint, const std::vector< size_t > &keys)
 
 Support (const Support &other)
 
size_t size ()
 
const size_t getReferencePointKey () const
 
const openfpm::vector_std< size_t > & getKeys () const
 
openfpm::vector_std< size_t > & getKeys ()
 
template<int ... prp>
void packRequest (size_t &req) const
 
template<int ... prp>
void pack (ExtPreAlloc< HeapMemory > &mem, Pack_stat &sts) const
 
template<unsigned int ... prp, typename MemType >
void unpack (ExtPreAlloc< MemType > &mem, Unpack_stat &ps)
 

Static Public Member Functions

static bool pack ()
 
static bool packRequest ()
 

Private Attributes

size_t referencePointKey
 
openfpm::vector_std< size_t > keys
 

Constructor & Destructor Documentation

◆ Support() [1/4]

Support::Support ( )
inline

Definition at line 25 of file Support.hpp.

◆ Support() [2/4]

Support::Support ( const size_t &  referencePoint,
const openfpm::vector_std< size_t > &  keys 
)
inline

Definition at line 27 of file Support.hpp.

◆ Support() [3/4]

Support::Support ( const size_t &  referencePoint,
const std::vector< size_t > &  keys 
)
inline

Definition at line 32 of file Support.hpp.

◆ Support() [4/4]

Support::Support ( const Support other)
inline

Definition at line 37 of file Support.hpp.

Member Function Documentation

◆ getKeys() [1/2]

openfpm::vector_std< size_t > & Support::getKeys ( )
inline

Definition at line 57 of file Support.hpp.

◆ getKeys() [2/2]

const openfpm::vector_std< size_t > & Support::getKeys ( ) const
inline

Definition at line 52 of file Support.hpp.

◆ getReferencePointKey()

const size_t Support::getReferencePointKey ( ) const
inline

Definition at line 47 of file Support.hpp.

◆ pack() [1/2]

static bool Support::pack ( )
inlinestatic

Definition at line 62 of file Support.hpp.

◆ pack() [2/2]

template<int ... prp>
void Support::pack ( ExtPreAlloc< HeapMemory > &  mem,
Pack_stat sts 
) const
inline

Definition at line 78 of file Support.hpp.

◆ packRequest() [1/2]

static bool Support::packRequest ( )
inlinestatic

Definition at line 67 of file Support.hpp.

◆ packRequest() [2/2]

template<int ... prp>
void Support::packRequest ( size_t &  req) const
inline

Definition at line 72 of file Support.hpp.

◆ size()

size_t Support::size ( )
inline

Definition at line 42 of file Support.hpp.

◆ unpack()

template<unsigned int ... prp, typename MemType >
void Support::unpack ( ExtPreAlloc< MemType > &  mem,
Unpack_stat ps 
)
inline

Definition at line 84 of file Support.hpp.

Field Documentation

◆ keys

openfpm::vector_std<size_t> Support::keys
private

Definition at line 21 of file Support.hpp.

◆ referencePointKey

size_t Support::referencePointKey
private

Definition at line 20 of file Support.hpp.


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