#include <deserializer.hpp>
Inherited by cppa::binary_deserializer.
List of all members.
Detailed Description
Technology-independent deserialization interface.
- Examples:
-
announce_example_5.cpp.
Member Function Documentation
virtual void cppa::deserializer::begin_object |
( |
const std::string & |
type_name | ) |
[pure virtual] |
Begins deserialization of an object of type type_name
.
- Parameters:
-
type_name | The platform-independent libcppa type name. |
- Examples:
- announce_example_5.cpp.
virtual size_t cppa::deserializer::begin_sequence |
( |
| ) |
[pure virtual] |
virtual void cppa::deserializer::end_object |
( |
| ) |
[pure virtual] |
virtual void cppa::deserializer::end_sequence |
( |
| ) |
[pure virtual] |
virtual std::string cppa::deserializer::peek_object |
( |
| ) |
[pure virtual] |
Equal to seek_object() but doesn't modify the internal in-stream position.
Reads a tuple of primitive values from the data source of the types ptypes
.
- Parameters:
-
num | The size of the tuple. |
ptypes | Array of expected primitive data types. |
storage | Array of size num , storing the result of this function. |
Reads a primitive value from the data source of type ptype
.
- Parameters:
-
ptype | Expected primitive data type. |
- Returns:
- A primitive value of type
ptype
.
- Examples:
- announce_example_5.cpp.
virtual std::string cppa::deserializer::seek_object |
( |
| ) |
[pure virtual] |
The documentation for this class was generated from the following file: