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 72 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 103 of file byte-tag-list.cc.

References PrepareForNext().

+ Here is the call graph for this function:

Member Function Documentation

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

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

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 84 of file byte-tag-list.cc.

References m_current, m_end, m_nextEnd, m_nextSize, m_nextStart, m_nextTid, m_offsetEnd, m_offsetStart, 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 91 of file byte-tag-list.h.

Member Data Documentation

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

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

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

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

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

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

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

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

Referenced by Next(), and PrepareForNext().

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

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

Referenced by Next(), and PrepareForNext().

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

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

Referenced by Next(), and PrepareForNext().

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

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

Referenced by Next(), and PrepareForNext().

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

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

Referenced by Next(), and PrepareForNext().

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

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

Referenced by Next(), and PrepareForNext().


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