odtone::mih::message_helper
// In header: </home/carlos/Projectos/odtone/inc/odtone/mih/message.hpp> class message_helper { public: // construct/copy/destruct message_helper(uint16, const id *); // friend functions friend oarchive & operator<<(message &, const message_helper &); friend iarchive & operator>>(message &, const message_helper &); };
Parsing/generating MIH messages is done using helper classes and operator overloading.
message_helper
public
construct/copy/destructmessage_helper(uint16 mid, const id * dst);
Construct a MIH Message helper.
Parameters: |
|
message_helper
friend functionsfriend oarchive & operator<<(message & msg, const message_helper & mh);
Serialize a MIH message.
Parameters: |
|
||||
Returns: |
The resulting output archive. |
friend iarchive & operator>>(message & msg, const message_helper & mh);
Deserialize a MIH message.
Deserialize a MIH message.
Parameters: |
|
||||
Returns: |
The resulting input archive.s |
||||
Returns: |
The resulting input archive. |