U32TlvValue class. More...
#include "wimax-tlv.h"
Public Member Functions | |
U32TlvValue (uint32_t value) | |
Constructor. More... | |
U32TlvValue () | |
~U32TlvValue (void) | |
virtual U32TlvValue * | Copy (void) const |
Copy. More... | |
virtual uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLen) |
Deserialize from a buffer. More... | |
uint32_t | Deserialize (Buffer::Iterator start) |
Deserialize from a buffer. More... | |
virtual uint32_t | GetSerializedSize (void) const |
Get serialized size in bytes. More... | |
uint32_t | GetValue (void) const |
Get value. More... | |
virtual void | Serialize (Buffer::Iterator start) const |
Serialize to a buffer. More... | |
Public Member Functions inherited from ns3::TlvValue | |
virtual | ~TlvValue () |
Private Attributes | |
uint32_t | m_value |
value More... | |
U32TlvValue class.
Definition at line 248 of file wimax-tlv.h.
ns3::U32TlvValue::U32TlvValue | ( | uint32_t | value | ) |
Constructor.
value | to encode |
Definition at line 599 of file wimax-tlv.cc.
References m_value.
ns3::U32TlvValue::U32TlvValue | ( | ) |
ns3::U32TlvValue::~U32TlvValue | ( | void | ) |
Definition at line 609 of file wimax-tlv.cc.
|
virtual |
Copy.
Implements ns3::TlvValue.
Definition at line 641 of file wimax-tlv.cc.
References m_value, and U32TlvValue().
|
virtual |
Deserialize from a buffer.
start | the iterator |
valueLen | the maximum length of the value |
Implements ns3::TlvValue.
Definition at line 623 of file wimax-tlv.cc.
Referenced by ns3::SfVectorTlvValue::Deserialize().
uint32_t ns3::U32TlvValue::Deserialize | ( | Buffer::Iterator | start | ) |
Deserialize from a buffer.
start | the iterator |
Definition at line 629 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::ReadNtohU32().
|
virtual |
Get serialized size in bytes.
Implements ns3::TlvValue.
Definition at line 613 of file wimax-tlv.cc.
uint32_t ns3::U32TlvValue::GetValue | ( | void | ) | const |
|
virtual |
Serialize to a buffer.
start | the iterator |
Implements ns3::TlvValue.
Definition at line 618 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::WriteHtonU32().
|
private |
value
Definition at line 280 of file wimax-tlv.h.
Referenced by Copy(), Deserialize(), GetValue(), Serialize(), and U32TlvValue().