OpenM++ runtime library (libopenm)
openm::RowMpiPackedAdapter< TRow > Struct Template Reference

MPI-based adapter to pack and unpack metadata db row. More...

Public Member Functions

void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 
void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 
void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 
int packedSize (const IRowBaseUptr &i_row)
 

Static Public Member Functions

static void pack (const IRowBaseUptr &i_row, int i_packedSize, void *io_packedData, int &io_packPos)
 pack db row into MPI message. More...
 
static void unpackTo (const IRowBaseUptr &io_row, int i_packedSize, void *i_packedData, int &io_packPos)
 unpack MPI message into db row. More...
 
static int packedSize (const IRowBaseUptr &i_row)
 return byte size to pack db row into MPI message. More...
 

Detailed Description

template<typename TRow>
struct openm::RowMpiPackedAdapter< TRow >

MPI-based adapter to pack and unpack metadata db row.

Template Parameters
TRowtype of metadata db row.

Member Function Documentation

◆ pack()

template<typename TRow >
static void openm::RowMpiPackedAdapter< TRow >::pack ( const IRowBaseUptr i_row,
int  i_packedSize,
void *  io_packedData,
int &  io_packPos 
)
static

pack db row into MPI message.

Parameters
[in]i_rowunique_ptr to source metadata db row
[in]i_packedSizetotal size in bytes of io_packedData buffer
[in,out]io_packedDatadestination buffer to pack MPI message
[in,out]io_packPoscurrent position in io_packedData buffer

◆ packedSize()

template<typename TRow >
static int openm::RowMpiPackedAdapter< TRow >::packedSize ( const IRowBaseUptr i_row)
static

return byte size to pack db row into MPI message.

Parameters
[in]i_rowunique_ptr to source metadata db row

◆ unpackTo()

template<typename TRow >
static void openm::RowMpiPackedAdapter< TRow >::unpackTo ( const IRowBaseUptr io_row,
int  i_packedSize,
void *  i_packedData,
int &  io_packPos 
)
static

unpack MPI message into db row.

Parameters
[in,out]io_rowunique_ptr to destination metadata db row
[in]i_packedSizetotal size in bytes of i_packedData buffer
[in]i_packedDatasource MPI message buffer to unpack
[in,out]io_packPoscurrent position in i_packedData buffer

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