#include <register_session_data.h>
Public Member Functions | |
virtual Reader & | deserialize (Reader &reader, size_t length) |
virtual Reader & | deserialize (Reader &reader) |
virtual size_t | getLength () const |
RegisterSessionData () | |
virtual Writer & | serialize (Writer &writer) const |
Public Attributes | |
EIP_UINT | options |
EIP_UINT | protocol_version |
Data structure for data portion of the session registration command and response
Definition at line 46 of file register_session_data.h.
eip::RegisterSessionData::RegisterSessionData | ( | ) | [inline] |
Definition at line 52 of file register_session_data.h.
virtual Reader& eip::RegisterSessionData::deserialize | ( | Reader & | reader, |
size_t | length | ||
) | [inline, virtual] |
Extra length information is not relevant in this context. Same as deserialize(reader)
Definition at line 79 of file register_session_data.h.
virtual Reader& eip::RegisterSessionData::deserialize | ( | Reader & | reader | ) | [inline, virtual] |
Deserialize data from the given reader without length information
reader | Reader to use for deserialization |
std::length_error | if the buffer is overrun while deserializing |
Definition at line 91 of file register_session_data.h.
virtual size_t eip::RegisterSessionData::getLength | ( | ) | const [inline, virtual] |
Get the length of serialized data that would be produced if serialized
Definition at line 58 of file register_session_data.h.
virtual Writer& eip::RegisterSessionData::serialize | ( | Writer & | writer | ) | const [inline, virtual] |
Serialize data into the given buffer
writer | Writer to use for serialization |
std::length_error | if the buffer is too small for the header data |
Definition at line 69 of file register_session_data.h.
Definition at line 50 of file register_session_data.h.
Definition at line 49 of file register_session_data.h.