A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::CsParamVectorTlvValue Class Reference

this class implements the convergence sub-layer descriptor as a tlv vector More...

#include "wimax-tlv.h"

+ Inheritance diagram for ns3::CsParamVectorTlvValue:
+ Collaboration diagram for ns3::CsParamVectorTlvValue:

Public Types

enum  Type { Classifier_DSC_Action = 1 , Packet_Classification_Rule = 3 }
 Type enumeration. More...
 
- Public Types inherited from ns3::VectorTlvValue
typedef std::vector< Tlv * >::const_iterator Iterator
 TLV vector iterator typedef.
 

Public Member Functions

 CsParamVectorTlvValue ()
 
CsParamVectorTlvValueCopy () const override
 Copy.
 
uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLength) override
 Deserialize from a buffer.
 
- Public Member Functions inherited from ns3::VectorTlvValue
 VectorTlvValue ()
 
 ~VectorTlvValue () override
 
void Add (const Tlv &val)
 Add a TLV.
 
Iterator Begin () const
 Begin iterator.
 
VectorTlvValueCopy () const override=0
 Copy.
 
uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLength) override=0
 Deserialize from a buffer.
 
Iterator End () const
 End iterator.
 
uint32_t GetSerializedSize () const override
 Get serialized size in bytes.
 
void Serialize (Buffer::Iterator start) const override
 Serialize to a buffer.
 
- Public Member Functions inherited from ns3::TlvValue
virtual ~TlvValue ()
 
virtual TlvValueCopy () 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.
 

Detailed Description

this class implements the convergence sub-layer descriptor as a tlv vector

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

Member Enumeration Documentation

◆ Type

Type enumeration.

Enumerator
Classifier_DSC_Action 
Packet_Classification_Rule 

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

Constructor & Destructor Documentation

◆ CsParamVectorTlvValue()

ns3::CsParamVectorTlvValue::CsParamVectorTlvValue ( )

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

Referenced by Copy().

+ Here is the caller graph for this function:

Member Function Documentation

◆ Copy()

CsParamVectorTlvValue * ns3::CsParamVectorTlvValue::Copy ( ) const
overridevirtual

Copy.

Returns
the vector TLV value

Implements ns3::VectorTlvValue.

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

References CsParamVectorTlvValue(), ns3::VectorTlvValue::Begin(), and ns3::VectorTlvValue::End().

+ Here is the call graph for this function:

◆ Deserialize()

uint32_t ns3::CsParamVectorTlvValue::Deserialize ( Buffer::Iterator  start,
uint64_t  valueLen 
)
overridevirtual

Deserialize from a buffer.

Parameters
startthe iterator
valueLenthe maximum length of the value
Returns
the

Implements ns3::VectorTlvValue.

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

References ns3::VectorTlvValue::Add(), Classifier_DSC_Action, ns3::U8TlvValue::Deserialize(), ns3::ClassificationRuleVectorTlvValue::Deserialize(), ns3::VectorTlvValue::GetSerializedSize(), ns3::Buffer::Iterator::Next(), Packet_Classification_Rule, and ns3::Buffer::Iterator::ReadU8().

Referenced by ns3::SfVectorTlvValue::Deserialize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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