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

#include <byte-tag-list.h>

Classes

struct  Item
 

Public Member Functions

uint32_t GetOffsetStart (void) const
 
bool HasNext (void) const
 
struct ByteTagList::Iterator::Item Next (void)
 

Private Member Functions

 Iterator (uint8_t *start, uint8_t *end, int32_t offsetStart, int32_t offsetEnd)
 
void PrepareForNext (void)
 

Private Attributes

uint8_t * m_current
 
uint8_t * m_end
 
int32_t m_nextEnd
 
uint32_t m_nextSize
 
int32_t m_nextStart
 
uint32_t m_nextTid
 
int32_t m_offsetEnd
 
int32_t m_offsetStart
 

Friends

class ByteTagList
 

Detailed Description

Definition at line 77 of file byte-tag-list.h.

Constructor & Destructor Documentation

ns3::ByteTagList::Iterator::Iterator ( uint8_t *  start,
uint8_t *  end,
int32_t  offsetStart,
int32_t  offsetEnd 
)
private

Definition at line 107 of file byte-tag-list.cc.

References NS_LOG_FUNCTION, and PrepareForNext().

+ Here is the call graph for this function:

Member Function Documentation

uint32_t ns3::ByteTagList::Iterator::GetOffsetStart ( void  ) const

Definition at line 118 of file byte-tag-list.cc.

References NS_LOG_FUNCTION.

Referenced by ns3::ByteTagIterator::Next().

+ Here is the caller graph for this function:

bool ns3::ByteTagList::Iterator::HasNext ( void  ) const
void ns3::ByteTagList::Iterator::PrepareForNext ( void  )
private

Definition at line 87 of file byte-tag-list.cc.

References m_current, m_end, m_nextEnd, m_nextSize, m_nextStart, m_nextTid, m_offsetEnd, m_offsetStart, NS_LOG_FUNCTION, and ns3::TagBuffer::ReadU32().

Referenced by Iterator(), and Next().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class ByteTagList
friend

Definition at line 120 of file byte-tag-list.h.

Member Data Documentation

uint8_t* ns3::ByteTagList::Iterator::m_current
private

Definition at line 123 of file byte-tag-list.h.

Referenced by HasNext(), Next(), and PrepareForNext().

uint8_t* ns3::ByteTagList::Iterator::m_end
private

Definition at line 124 of file byte-tag-list.h.

Referenced by HasNext(), Next(), and PrepareForNext().

int32_t ns3::ByteTagList::Iterator::m_nextEnd
private

Definition at line 130 of file byte-tag-list.h.

Referenced by Next(), and PrepareForNext().

uint32_t ns3::ByteTagList::Iterator::m_nextSize
private

Definition at line 128 of file byte-tag-list.h.

Referenced by Next(), and PrepareForNext().

int32_t ns3::ByteTagList::Iterator::m_nextStart
private

Definition at line 129 of file byte-tag-list.h.

Referenced by Next(), and PrepareForNext().

uint32_t ns3::ByteTagList::Iterator::m_nextTid
private

Definition at line 127 of file byte-tag-list.h.

Referenced by Next(), and PrepareForNext().

int32_t ns3::ByteTagList::Iterator::m_offsetEnd
private

Definition at line 126 of file byte-tag-list.h.

Referenced by Next(), and PrepareForNext().

int32_t ns3::ByteTagList::Iterator::m_offsetStart
private

Definition at line 125 of file byte-tag-list.h.

Referenced by Next(), and PrepareForNext().


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