A Discrete-Event Network Simulator
API
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. More...
 

Public Member Functions

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

Detailed Description

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

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

Member Enumeration Documentation

◆ Type

Type enumeration.

Enumerator
Classifier_DSC_Action 
Packet_Classification_Rule 

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

Constructor & Destructor Documentation

◆ CsParamVectorTlvValue()

ns3::CsParamVectorTlvValue::CsParamVectorTlvValue ( )

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

Referenced by Copy().

+ Here is the caller graph for this function:

Member Function Documentation

◆ Copy()

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

Copy.

Returns
the vector TLV value

Implements ns3::VectorTlvValue.

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

References CsParamVectorTlvValue(), ns3::VectorTlvValue::Add(), 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 
)
virtual

Deserialize from a buffer.

Parameters
startthe iterator
valueLenthe maximum length of the value
Returns
the

Implements ns3::VectorTlvValue.

Definition at line 648 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, ns3::Buffer::Iterator::ReadU8(), and trim-trailing-whitespace::type.

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: