AgentXcpp  Revision:0.1
Internals Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends
agentxcpp::UndoSetPDU Class Reference

Represents an UndoSet-PDU. More...

#include <UndoSetPDU.hpp>

Inheritance diagram for agentxcpp::UndoSetPDU:
[legend]
Collaboration diagram for agentxcpp::UndoSetPDU:
[legend]

List of all members.

Public Member Functions

 UndoSetPDU (data_t::const_iterator &pos, const data_t::const_iterator &end, bool big_endian)
 Parse constructor.
data_t serialize () const
 Serialize the PDU.

Detailed Description

Represents an UndoSet-PDU.

Definition at line 31 of file UndoSetPDU.hpp.


Constructor & Destructor Documentation

agentxcpp::UndoSetPDU::UndoSetPDU ( data_t::const_iterator &  pos,
const data_t::const_iterator &  end,
bool  big_endian 
) [inline]

Parse constructor.

Construct the object by parsing a stream. See Parsing incoming PDUs for details about PDU parsing.

Parameters:
posIterator pointing to the current stream position. The iterator is advanced while reading the header.
endIterator pointing one element past the end of the current stream. This is needed to mark the end of the buffer.
big_endianWhether the serialized form of the PDU is in big_endian format.
Exceptions:
parse_errorIf parsing fails, for example because reading the stream fails or the PDU is malformed.

Definition at line 54 of file UndoSetPDU.hpp.


Member Function Documentation

data_t agentxcpp::UndoSetPDU::serialize ( ) const [inline, virtual]

Serialize the PDU.

Implements agentxcpp::PDU.

Definition at line 64 of file UndoSetPDU.hpp.

References agentxcpp::PDU::add_header(), and agentxcpp::PDU::agentxUndoSetPDU.


The documentation for this class was generated from the following file: