U16TlvValue class. More...
#include "wimax-tlv.h"
 Inheritance diagram for ns3::U16TlvValue:
 Inheritance diagram for ns3::U16TlvValue: Collaboration diagram for ns3::U16TlvValue:
 Collaboration diagram for ns3::U16TlvValue:| Public Member Functions | |
| U16TlvValue () | |
| U16TlvValue (uint16_t value) | |
| Constructor. | |
| ~U16TlvValue () override | |
| U16TlvValue * | Copy () const override | 
| Copy. | |
| uint32_t | Deserialize (Buffer::Iterator start) | 
| Deserialize from a buffer. | |
| uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLen) override | 
| Deserialize from a buffer. | |
| uint32_t | GetSerializedSize () const override | 
| Get serialized size in bytes. | |
| uint16_t | GetValue () const | 
| Get value. | |
| void | Serialize (Buffer::Iterator start) const override | 
| Serialize to a buffer. | |
|  Public Member Functions inherited from ns3::TlvValue | |
| virtual | ~TlvValue () | 
| Private Attributes | |
| uint16_t | m_value | 
| value | |
U16TlvValue class.
Definition at line 203 of file wimax-tlv.h.
| ns3::U16TlvValue::U16TlvValue | ( | uint16_t | value | ) | 
Constructor.
| value | value to encode | 
Definition at line 515 of file wimax-tlv.cc.
References m_value.
| ns3::U16TlvValue::U16TlvValue | ( | ) | 
Definition at line 520 of file wimax-tlv.cc.
References m_value.
Referenced by Copy().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | override | 
Definition at line 525 of file wimax-tlv.cc.
| 
 | overridevirtual | 
Copy.
Implements ns3::TlvValue.
Definition at line 561 of file wimax-tlv.cc.
References U16TlvValue(), and m_value.
 Here is the call graph for this function:
 Here is the call graph for this function:| uint32_t ns3::U16TlvValue::Deserialize | ( | Buffer::Iterator | start | ) | 
Deserialize from a buffer.
| start | the iterator | 
Definition at line 548 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::ReadNtohU16().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | overridevirtual | 
Deserialize from a buffer.
| start | the iterator | 
| valueLen | the maximum length of the value | 
Implements ns3::TlvValue.
Definition at line 542 of file wimax-tlv.cc.
References Deserialize().
Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize(), ns3::SfVectorTlvValue::Deserialize(), and Deserialize().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overridevirtual | 
Get serialized size in bytes.
Implements ns3::TlvValue.
Definition at line 530 of file wimax-tlv.cc.
| uint16_t ns3::U16TlvValue::GetValue | ( | ) | const | 
| 
 | overridevirtual | 
Serialize to a buffer.
| start | the iterator | 
Implements ns3::TlvValue.
Definition at line 536 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::WriteHtonU16().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
value
Definition at line 235 of file wimax-tlv.h.
Referenced by U16TlvValue(), U16TlvValue(), Copy(), Deserialize(), GetValue(), and Serialize().