This documentation is not the Latest Release.
A Discrete-Event Network Simulator
API
ns3::TlvValue Class Referenceabstract

The value field of a tlv can take different values (uint8_t, uint16, vector...). More...

#include "wimax-tlv.h"

+ Inheritance diagram for ns3::TlvValue:

Public Member Functions

virtual ~TlvValue ()
 
virtual TlvValueCopy (void) const =0
 
virtual uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLen)=0
 
virtual uint32_t GetSerializedSize (void) const =0
 
virtual void Serialize (Buffer::Iterator start) const =0
 

Detailed Description

The value field of a tlv can take different values (uint8_t, uint16, vector...).

This class is a virtual interface that all the types of tlv values should derive

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

Constructor & Destructor Documentation

virtual ns3::TlvValue::~TlvValue ( )
inlinevirtual

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

Member Function Documentation

virtual TlvValue* ns3::TlvValue::Copy ( void  ) const
pure virtual

Implemented in ns3::Ipv4AddressTlvValue, ns3::ProtocolTlvValue, ns3::PortRangeTlvValue, ns3::TosTlvValue, ns3::ClassificationRuleVectorTlvValue, ns3::CsParamVectorTlvValue, ns3::SfVectorTlvValue, ns3::VectorTlvValue, ns3::U32TlvValue, ns3::U16TlvValue, and ns3::U8TlvValue.

Referenced by ns3::Tlv::CopyValue(), and ns3::Tlv::Tlv().

+ Here is the caller graph for this function:

virtual uint32_t ns3::TlvValue::GetSerializedSize ( void  ) const
pure virtual

Implemented in ns3::Ipv4AddressTlvValue, ns3::ProtocolTlvValue, ns3::PortRangeTlvValue, ns3::TosTlvValue, ns3::VectorTlvValue, ns3::U32TlvValue, ns3::U16TlvValue, and ns3::U8TlvValue.

Referenced by ns3::Tlv::GetSerializedSize().

+ Here is the caller graph for this function:

virtual void ns3::TlvValue::Serialize ( Buffer::Iterator  start) const
pure virtual

Implemented in ns3::Ipv4AddressTlvValue, ns3::ProtocolTlvValue, ns3::PortRangeTlvValue, ns3::TosTlvValue, ns3::VectorTlvValue, ns3::U32TlvValue, ns3::U16TlvValue, and ns3::U8TlvValue.

Referenced by ns3::Tlv::Serialize().

+ Here is the caller graph for this function:


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