Implementation of Serializer for bool.
More...
#include <OGF/gom/services/serializer.h>
Implementation of Serializer for bool.
Definition at line 123 of file serializer.h.
◆ serialize_read()
bool OGF::BoolSerializer::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::BoolSerializer::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: