OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
Pack_stat Class Reference

Packing status object. More...

Detailed Description

Packing status object.

Definition at line 49 of file Pack_stat.hpp.

#include <Pack_stat.hpp>

Public Member Functions

void incReq ()
 Increment the request pointer. More...
 
size_t reqPack ()
 return the actual request for packing More...
 
void mark ()
 Mark. More...
 
size_t getMark ()
 Return the mark. More...
 
template<typename T >
void * getMarkPointer (T &mem)
 Return the memory pointer at the mark place. More...
 
template<typename T >
size_t getMarkSize (T &mem)
 Get the memory size from the mark point. More...
 

Private Attributes

size_t p_mark
 
size_t un_ele
 

Member Function Documentation

size_t Pack_stat::getMark ( )
inline

Return the mark.

Returns
the mark

Definition at line 94 of file Pack_stat.hpp.

template<typename T >
void* Pack_stat::getMarkPointer ( T &  mem)
inline

Return the memory pointer at the mark place.

Template Parameters
Tmemory object
Returns
memory pointer at mark place

Definition at line 106 of file Pack_stat.hpp.

template<typename T >
size_t Pack_stat::getMarkSize ( T &  mem)
inline

Get the memory size from the mark point.

Template Parameters
Tmemory object

Definition at line 116 of file Pack_stat.hpp.

void Pack_stat::incReq ( )
inline

Increment the request pointer.

Definition at line 64 of file Pack_stat.hpp.

void Pack_stat::mark ( )
inline

Mark.

Definition at line 84 of file Pack_stat.hpp.

size_t Pack_stat::reqPack ( )
inline

return the actual request for packing

Returns
the actual request for packing

Definition at line 74 of file Pack_stat.hpp.


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