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

Unpacking status object. More...

Detailed Description

Unpacking status object.

Definition at line 15 of file Pack_stat.hpp.

#include <Pack_stat.hpp>

Public Member Functions

void addOffset (size_t off)
 Increment the offset pointer by off.
 
size_t getOffset ()
 Return the actual counter.
 
void setOffset (size_t c)
 set the actual counter
 

Private Attributes

size_t cnt
 offset
 

Constructor & Destructor Documentation

◆ Unpack_stat()

Unpack_stat::Unpack_stat ( )
inline

Definition at line 22 of file Pack_stat.hpp.

Member Function Documentation

◆ addOffset()

void Unpack_stat::addOffset ( size_t  off)
inline

Increment the offset pointer by off.

Parameters
off

Definition at line 31 of file Pack_stat.hpp.

◆ getOffset()

size_t Unpack_stat::getOffset ( )
inline

Return the actual counter.

Returns
the counter

Definition at line 41 of file Pack_stat.hpp.

◆ setOffset()

void Unpack_stat::setOffset ( size_t  c)
inline

set the actual counter

Definition at line 50 of file Pack_stat.hpp.

Field Documentation

◆ cnt

size_t Unpack_stat::cnt
private

offset

Definition at line 18 of file Pack_stat.hpp.


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