Implementation of Serializer for pointers.
More...
#include <OGF/gom/services/serializer.h>
Implementation of Serializer for pointers.
Definition at line 145 of file serializer.h.
◆ serialize_read()
bool OGF::PointerSerializer::serialize_read |
( |
std::istream & |
stream, |
|
|
void * |
addr |
|
) |
| |
|
overridevirtual |
Reads a value from a stream.
- Parameters
-
[in] | stream | the input stream |
[out] | addr | an untyped pointer where to store the result |
- Return values
-
true | if the value could be successfully read |
false | otherwise |
Implements OGF::Serializer.
◆ serialize_write()
bool OGF::PointerSerializer::serialize_write |
( |
std::ostream & |
stream, |
|
|
void * |
addr |
|
) |
| |
|
overridevirtual |
Writes a value to a stream.
- Parameters
-
[out] | stream | the output stream |
[in] | addr | an untyped pointer where to read the value from |
- Return values
-
true | if the value could be successfully written |
false | otherwise |
Implements OGF::Serializer.
The documentation for this class was generated from the following file: