TosTlvValue class. More...
#include "wimax-tlv.h"
Public Member Functions | |
TosTlvValue () | |
TosTlvValue (uint8_t low, uint8_t high, uint8_t mask) | |
Constructor. More... | |
~TosTlvValue () | |
virtual TosTlvValue * | Copy () const |
Copy. More... | |
virtual uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLength) |
Deserialize from a buffer. More... | |
uint8_t | GetHigh (void) const |
Get high part. More... | |
uint8_t | GetLow (void) const |
Get low part. More... | |
uint8_t | GetMask (void) const |
Get the mask. More... | |
virtual uint32_t | GetSerializedSize (void) const |
Get serialized size in bytes. More... | |
virtual void | Serialize (Buffer::Iterator start) const |
Serialize to a buffer. More... | |
Public Member Functions inherited from ns3::TlvValue | |
virtual | ~TlvValue () |
Private Attributes | |
uint8_t | m_high |
high More... | |
uint8_t | m_low |
low More... | |
uint8_t | m_mask |
mask More... | |
TosTlvValue class.
Definition at line 423 of file wimax-tlv.h.
ns3::TosTlvValue::TosTlvValue | ( | ) |
ns3::TosTlvValue::TosTlvValue | ( | uint8_t | low, |
uint8_t | high, | ||
uint8_t | mask | ||
) |
Constructor.
low | low value |
high | high value |
mask | the mask |
Definition at line 827 of file wimax-tlv.cc.
ns3::TosTlvValue::~TosTlvValue | ( | ) |
Definition at line 833 of file wimax-tlv.cc.
|
virtual |
Copy.
Implements ns3::TlvValue.
Definition at line 874 of file wimax-tlv.cc.
References m_high, m_low, m_mask, and TosTlvValue().
|
virtual |
Deserialize from a buffer.
start | the iterator |
valueLen | the maximum length of the value |
Implements ns3::TlvValue.
Definition at line 850 of file wimax-tlv.cc.
References m_high, m_low, m_mask, and ns3::Buffer::Iterator::ReadU8().
Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize().
uint8_t ns3::TosTlvValue::GetHigh | ( | void | ) | const |
uint8_t ns3::TosTlvValue::GetLow | ( | void | ) | const |
uint8_t ns3::TosTlvValue::GetMask | ( | void | ) | const |
|
virtual |
Get serialized size in bytes.
Implements ns3::TlvValue.
Definition at line 838 of file wimax-tlv.cc.
Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize().
|
virtual |
Serialize to a buffer.
start | the iterator |
Implements ns3::TlvValue.
Definition at line 843 of file wimax-tlv.cc.
References m_high, m_low, m_mask, and ns3::Buffer::Iterator::WriteU8().
|
private |
high
Definition at line 461 of file wimax-tlv.h.
Referenced by Copy(), Deserialize(), GetHigh(), Serialize(), and TosTlvValue().
|
private |
low
Definition at line 460 of file wimax-tlv.h.
Referenced by Copy(), Deserialize(), GetLow(), Serialize(), and TosTlvValue().
|
private |
mask
Definition at line 462 of file wimax-tlv.h.
Referenced by Copy(), Deserialize(), GetMask(), Serialize(), and TosTlvValue().