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

this class is used to implement a vector of values in one tlv value field More...

#include <wimax-tlv.h>

+ Inheritance diagram for ns3::VectorTlvValue:
+ Collaboration diagram for ns3::VectorTlvValue:

Public Types

typedef std::vector< Tlv * >
::const_iterator 
Iterator
 

Public Member Functions

 VectorTlvValue (void)
 
 ~VectorTlvValue (void)
 
void Add (const Tlv &val)
 
Iterator Begin () const
 
virtual VectorTlvValueCopy (void) const =0
 
virtual uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLength)=0
 
Iterator End () const
 
virtual uint32_t GetSerializedSize (void) const
 
virtual void Serialize (Buffer::Iterator start) const
 
- Public Member Functions inherited from ns3::TlvValue
virtual ~TlvValue ()
 

Private Attributes

std::vector< Tlv * > * m_tlvList
 

Detailed Description

this class is used to implement a vector of values in one tlv value field

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

Member Typedef Documentation

typedef std::vector<Tlv*>::const_iterator ns3::VectorTlvValue::Iterator

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

Constructor & Destructor Documentation

ns3::VectorTlvValue::VectorTlvValue ( void  )

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

References m_tlvList.

ns3::VectorTlvValue::~VectorTlvValue ( void  )

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

References m_tlvList.

Member Function Documentation

VectorTlvValue::Iterator ns3::VectorTlvValue::Begin ( void  ) const

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

References m_tlvList.

Referenced by ns3::SfVectorTlvValue::Copy(), ns3::CsParamVectorTlvValue::Copy(), ns3::ClassificationRuleVectorTlvValue::Copy(), and Ns3WimaxCsParamTlvTestCase::DoRun().

+ Here is the caller graph for this function:

virtual VectorTlvValue* ns3::VectorTlvValue::Copy ( void  ) const
pure virtual
virtual uint32_t ns3::VectorTlvValue::Deserialize ( Buffer::Iterator  start,
uint64_t  valueLength 
)
pure virtual
VectorTlvValue::Iterator ns3::VectorTlvValue::End ( void  ) const

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

References m_tlvList.

Referenced by ns3::SfVectorTlvValue::Copy(), ns3::CsParamVectorTlvValue::Copy(), ns3::ClassificationRuleVectorTlvValue::Copy(), and Ns3WimaxCsParamTlvTestCase::DoRun().

+ Here is the caller graph for this function:

uint32_t ns3::VectorTlvValue::GetSerializedSize ( void  ) const
virtual
void ns3::VectorTlvValue::Serialize ( Buffer::Iterator  start) const
virtual

Implements ns3::TlvValue.

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

References m_tlvList, and ns3::Buffer::Iterator::Next().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<Tlv*>* ns3::VectorTlvValue::m_tlvList
private

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

Referenced by Add(), Begin(), End(), GetSerializedSize(), Serialize(), VectorTlvValue(), and ~VectorTlvValue().


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