#include <serializer.hpp>
Inherited by cppa::binary_serializer.
List of all members.
Detailed Description
Technology-independent serialization interface.
- Examples:
-
announce_example_5.cpp.
Member Function Documentation
virtual void cppa::serializer::begin_object |
( |
const std::string & |
type_name | ) |
[pure virtual] |
Begins serialization of an object of the type named type_name
.
- Parameters:
-
type_name | The platform-independent libcppa type name. |
- Examples:
- announce_example_5.cpp.
virtual void cppa::serializer::begin_sequence |
( |
size_t |
num | ) |
[pure virtual] |
virtual void cppa::serializer::end_object |
( |
| ) |
[pure virtual] |
virtual void cppa::serializer::end_sequence |
( |
| ) |
[pure virtual] |
virtual void cppa::serializer::write_tuple |
( |
size_t |
num, |
|
|
const primitive_variant * |
values |
|
) |
| [pure virtual] |
Writes num
values as a tuple to the data sink.
- Parameters:
-
num | Size of the array values . |
values | An array of size num of primitive data values. |
virtual void cppa::serializer::write_value |
( |
const primitive_variant & |
value | ) |
[pure virtual] |
Writes a single value to the data sink.
- Parameters:
-
value | A primitive data value. |
- Examples:
- announce_example_5.cpp.
The documentation for this class was generated from the following file: