A Discrete-Event Network Simulator
API
ns3::ProtocolTlvValue Class Reference

#include "wimax-tlv.h"

+ Inheritance diagram for ns3::ProtocolTlvValue:
+ Collaboration diagram for ns3::ProtocolTlvValue:

Public Types

typedef std::vector< uint8_t >::const_iterator Iterator
 

Public Member Functions

 ProtocolTlvValue ()
 
 ~ProtocolTlvValue ()
 
void Add (uint8_t protiocol)
 
Iterator Begin () const
 
virtual ProtocolTlvValueCopy (void) const
 
virtual uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLength)
 
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< uint8_t > * m_protocol
 

Detailed Description

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

Member Typedef Documentation

typedef std::vector<uint8_t>::const_iterator ns3::ProtocolTlvValue::Iterator

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

Constructor & Destructor Documentation

ns3::ProtocolTlvValue::ProtocolTlvValue ( )

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

References m_protocol.

Referenced by Copy().

+ Here is the caller graph for this function:

ns3::ProtocolTlvValue::~ProtocolTlvValue ( )

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

References m_protocol.

Member Function Documentation

void ns3::ProtocolTlvValue::Add ( uint8_t  protiocol)

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

References m_protocol.

Referenced by Copy(), Deserialize(), and ns3::IpcsClassifierRecord::ToTlv().

+ Here is the caller graph for this function:

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

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

References m_protocol.

Referenced by ns3::IpcsClassifierRecord::IpcsClassifierRecord().

+ Here is the caller graph for this function:

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

Implements ns3::TlvValue.

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

References Add(), m_protocol, and ProtocolTlvValue().

+ Here is the call graph for this function:

uint32_t ns3::ProtocolTlvValue::Deserialize ( Buffer::Iterator  start,
uint64_t  valueLength 
)
virtual

Implements ns3::TlvValue.

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

References Add(), and ns3::Buffer::Iterator::ReadU8().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ProtocolTlvValue::Iterator ns3::ProtocolTlvValue::End ( void  ) const

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

References m_protocol.

Referenced by ns3::IpcsClassifierRecord::IpcsClassifierRecord().

+ Here is the caller graph for this function:

uint32_t ns3::ProtocolTlvValue::GetSerializedSize ( void  ) const
virtual

Implements ns3::TlvValue.

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

References m_protocol.

Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize(), and ns3::IpcsClassifierRecord::ToTlv().

+ Here is the caller graph for this function:

void ns3::ProtocolTlvValue::Serialize ( Buffer::Iterator  start) const
virtual

Implements ns3::TlvValue.

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

References m_protocol, and ns3::Buffer::Iterator::WriteU8().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<uint8_t>* ns3::ProtocolTlvValue::m_protocol
private

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