U16TlvValue class. More...
#include "wimax-tlv.h"
Inheritance diagram for ns3::U16TlvValue:
Collaboration diagram for ns3::U16TlvValue:Public Member Functions | |
| U16TlvValue (uint16_t value) | |
| Constructor. More... | |
| U16TlvValue () | |
| ~U16TlvValue (void) | |
| virtual U16TlvValue * | 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... | |
| uint16_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 | |
| uint16_t | m_value |
| value More... | |
U16TlvValue class.
Definition at line 209 of file wimax-tlv.h.
| ns3::U16TlvValue::U16TlvValue | ( | uint16_t | value | ) |
Constructor.
| value | value to encode |
Definition at line 549 of file wimax-tlv.cc.
References m_value.
| ns3::U16TlvValue::U16TlvValue | ( | ) |
Definition at line 554 of file wimax-tlv.cc.
References m_value.
Referenced by Copy().
Here is the caller graph for this function:| ns3::U16TlvValue::~U16TlvValue | ( | void | ) |
Definition at line 559 of file wimax-tlv.cc.
|
virtual |
Copy.
Implements ns3::TlvValue.
Definition at line 593 of file wimax-tlv.cc.
References m_value, and U16TlvValue().
Here is the call graph for this function:
|
virtual |
Deserialize from a buffer.
| start | the iterator |
| valueLen | the maximum length of the value |
Implements ns3::TlvValue.
Definition at line 574 of file wimax-tlv.cc.
Referenced by ns3::SfVectorTlvValue::Deserialize(), and ns3::ClassificationRuleVectorTlvValue::Deserialize().
Here is the caller graph for this function:| uint32_t ns3::U16TlvValue::Deserialize | ( | Buffer::Iterator | start | ) |
Deserialize from a buffer.
| start | the iterator |
Definition at line 580 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::ReadNtohU16().
Here is the call graph for this function:
|
virtual |
Get serialized size in bytes.
Implements ns3::TlvValue.
Definition at line 564 of file wimax-tlv.cc.
| uint16_t ns3::U16TlvValue::GetValue | ( | void | ) | const |
|
virtual |
Serialize to a buffer.
| start | the iterator |
Implements ns3::TlvValue.
Definition at line 569 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::WriteHtonU16().
Here is the call graph for this function:
|
private |
value
Definition at line 240 of file wimax-tlv.h.
Referenced by Copy(), Deserialize(), GetValue(), Serialize(), and U16TlvValue().