A Discrete-Event Network Simulator
API
Public Member Functions | List of all members
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
 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

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

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

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

Constructor & Destructor Documentation

◆ ~TlvValue()

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

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

Member Function Documentation

◆ Copy()

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

◆ Deserialize()

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

◆ GetSerializedSize()

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

◆ Serialize()

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

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