classPiiBinaryObject
#include <PiiBinaryObject.h>
A serialization wrapper for binary data.
Description
Note that this wrapper only works with primitive data types.
Constructors and destructor
|
(
Creates a new binary data wrapper with the given pointer and number of elements. |
|
|
(
Creates a new binary data wrapper with the given pointer and number of elements. |
Public member functions
|
template<class Archive>
void
|
(
Calls |
|
template<class Archive>
PII_SEPARATE_SAVE_LOAD_MEMBERS void
|
(
Calls |
|
template<class T>
PiiBinaryObject<
T >
|
(
Constructs a PiiBinaryObject. |
|
template<class T>
PiiBinaryObject<
T >
|
(
Constructs a PiiBinaryObject. |
Function details
-
PiiBinaryObject
(- T *& p
- unsigned int & s
[inline]Creates a new binary data wrapper with the given pointer and number of elements.
-
PiiBinaryObject
(- const T *& p
- unsigned int & s
[inline]Creates a new binary data wrapper with the given pointer and number of elements.
-
template<class Archive>
void load
(- Archive & archive
- const unsigned int
[inline]Calls
archive.readArray(). -
template<class Archive>
PII_SEPARATE_SAVE_LOAD_MEMBERS void save
(- Archive & archive
- const unsigned int
[inline]Calls
archive.writeArray(). -
Constructs a PiiBinaryObject.
-
Constructs a PiiBinaryObject.
Add a note
Not a single note added yet. Be the first, add yours.