U32TlvValue class. More...
#include "wimax-tlv.h"
Inheritance diagram for ns3::U32TlvValue:
Collaboration diagram for ns3::U32TlvValue:Public Member Functions | |
| U32TlvValue () | |
| U32TlvValue (uint32_t value) | |
| Constructor. | |
| ~U32TlvValue () override | |
| U32TlvValue * | 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. | |
| uint32_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 () |
| virtual TlvValue * | Copy () const =0 |
| Copy function. | |
| virtual uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLen)=0 |
| Deserialize from a buffer. | |
| virtual uint32_t | GetSerializedSize () const =0 |
| Get serialized size in bytes. | |
| virtual void | Serialize (Buffer::Iterator start) const =0 |
| Serialize to a buffer. | |
Private Attributes | |
| uint32_t | m_value |
| value | |
U32TlvValue class.
Definition at line 254 of file wimax-tlv.h.
| ns3::U32TlvValue::U32TlvValue | ( | uint32_t | value | ) |
Constructor.
| value | to encode |
Definition at line 586 of file wimax-tlv.cc.
References m_value.
| ns3::U32TlvValue::U32TlvValue | ( | ) |
Definition at line 591 of file wimax-tlv.cc.
References m_value.
Referenced by Copy().
Here is the caller graph for this function:
|
override |
Definition at line 596 of file wimax-tlv.cc.
|
overridevirtual |
Copy.
Implements ns3::TlvValue.
Definition at line 632 of file wimax-tlv.cc.
References U32TlvValue(), and m_value.
Here is the call graph for this function:| uint32_t ns3::U32TlvValue::Deserialize | ( | Buffer::Iterator | start | ) |
Deserialize from a buffer.
| start | the iterator |
Definition at line 619 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::ReadNtohU32().
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 613 of file wimax-tlv.cc.
References Deserialize().
Referenced by Deserialize(), and ns3::SfVectorTlvValue::Deserialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Get serialized size in bytes.
Implements ns3::TlvValue.
Definition at line 601 of file wimax-tlv.cc.
| uint32_t ns3::U32TlvValue::GetValue | ( | ) | const |
|
overridevirtual |
Serialize to a buffer.
| start | the iterator |
Implements ns3::TlvValue.
Definition at line 607 of file wimax-tlv.cc.
References m_value, and ns3::Buffer::Iterator::WriteHtonU32().
Here is the call graph for this function:
|
private |
value
Definition at line 287 of file wimax-tlv.h.
Referenced by U32TlvValue(), Copy(), Deserialize(), GetValue(), and Serialize().