Abstract interface that all serialized user defined classes inherit.
More...
#include <msg_serialize.h>
Abstract interface that all serialized user defined classes inherit.
◆ read()
virtual std::istream & serialize::I::read |
( |
serialize & | ms, |
|
|
std::istream & | is ) |
|
pure virtual |
Inheriting class implements the read function. Read each class member to the ostream. Read in the same order as write(). Each level within the hierarchy must implement. Ensure base read() implementation is called if necessary.
- Parameters
-
[in] | ms | - the message serialize instance |
[in] | is | - the input stream |
- Returns
- The input stream
◆ write()
virtual std::ostream & serialize::I::write |
( |
serialize & | ms, |
|
|
std::ostream & | os ) |
|
pure virtual |
Inheriting class implements the write function. Write each class member to the ostream. Write in the same order as read(). Each level within the hierarchy must implement. Ensure base write() implementation is called if necessary.
- Parameters
-
[in] | ms | - the message serialize instance |
[in] | is | - the input stream |
- Returns
- The input stream
The documentation for this class was generated from the following file: