A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::U16TlvValue Class Reference

#include <wimax-tlv.h>

+ Inheritance diagram for ns3::U16TlvValue:
+ Collaboration diagram for ns3::U16TlvValue:

Public Member Functions

 U16TlvValue (uint16_t value)
 U16TlvValue ()
 ~U16TlvValue (void)
virtual U16TlvValueCopy (void) const
virtual uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLen)
uint32_t Deserialize (Buffer::Iterator start)
virtual uint32_t GetSerializedSize (void) const
uint16_t GetValue (void) const
virtual void Serialize (Buffer::Iterator start) const
- Public Member Functions inherited from ns3::TlvValue
virtual ~TlvValue ()

Private Attributes

uint16_t m_value

Detailed Description

Definition at line 124 of file wimax-tlv.h.

Constructor & Destructor Documentation

ns3::U16TlvValue::U16TlvValue ( uint16_t  value)

Definition at line 536 of file wimax-tlv.cc.

References m_value.

ns3::U16TlvValue::U16TlvValue ( )

Definition at line 541 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 546 of file wimax-tlv.cc.

Member Function Documentation

U16TlvValue * ns3::U16TlvValue::Copy ( void  ) const
virtual

Implements ns3::TlvValue.

Definition at line 580 of file wimax-tlv.cc.

References m_value, and U16TlvValue().

+ Here is the call graph for this function:

uint32_t ns3::U16TlvValue::Deserialize ( Buffer::Iterator  start,
uint64_t  valueLen 
)
virtual

Implements ns3::TlvValue.

Definition at line 561 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)

Definition at line 567 of file wimax-tlv.cc.

References m_value, and ns3::Buffer::Iterator::ReadNtohU16().

+ Here is the call graph for this function:

uint32_t ns3::U16TlvValue::GetSerializedSize ( void  ) const
virtual

Implements ns3::TlvValue.

Definition at line 551 of file wimax-tlv.cc.

uint16_t ns3::U16TlvValue::GetValue ( void  ) const

Definition at line 574 of file wimax-tlv.cc.

References m_value.

void ns3::U16TlvValue::Serialize ( Buffer::Iterator  start) const
virtual

Implements ns3::TlvValue.

Definition at line 556 of file wimax-tlv.cc.

References m_value, and ns3::Buffer::Iterator::WriteHtonU16().

+ Here is the call graph for this function:

Member Data Documentation

uint16_t ns3::U16TlvValue::m_value
private

Definition at line 137 of file wimax-tlv.h.

Referenced by Copy(), Deserialize(), GetValue(), Serialize(), and U16TlvValue().


The documentation for this class was generated from the following files: