OpenM++ runtime library (libopenm)
|
pack and unpack adapter for metadata table db rows (empty implementation). More...
#include <msgEmpty.h>
Public Member Functions | |
EmptyPackedAdapter (MsgTag i_tag) | |
create pack and unpack adapter for metadata table db rows | |
MsgTag | tag (void) const noexcept override |
return message tag More... | |
const vector< uint8_t > | pack (const IRowBaseVec &) const override |
pack vector of db rows into byte vector: return empty vector. More... | |
void | unpackTo (int, void *, IRowBaseVec &) const override |
unpack from byte[] into vector of rows (does nothing). More... | |
virtual MsgTag | tag (void) const noexcept=0 |
return message tag More... | |
virtual const vector< uint8_t > | pack (const IRowBaseVec &i_rowVec) const =0 |
pack vector of db rows into byte vector. More... | |
virtual void | unpackTo (int i_packSize, void *i_packedData, IRowBaseVec &io_rowVec) const =0 |
unpack from byte[] into vector of rows. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from openm::IPackedAdapter | |
static IPackedAdapter * | create (MsgTag i_msgTag) |
pack adapter factory: create new adapter for metadata table db rows. More... | |
static size_t | packedSize (const type_info &i_type, size_t i_size) |
return byte size to pack source array. More... | |
static unique_ptr< uint8_t[]> | packArray (const type_info &i_type, size_t i_size, void *i_valueArr) |
return new allocated and packed copy of source array. More... | |
pack and unpack adapter for metadata table db rows (empty implementation).
|
inlineoverridevirtual |
pack vector of db rows into byte vector: return empty vector.
Implements openm::IPackedAdapter.
|
inlineoverridevirtualnoexcept |
return message tag
Implements openm::IPackedAdapter.
|
inlineoverridevirtual |
unpack from byte[] into vector of rows (does nothing).
Implements openm::IPackedAdapter.