A Discrete-Event Network Simulator
API
ns3::ByteTagList::Iterator::Item Struct Reference

An item specifies an individual tag within a byte buffer. More...

#include "byte-tag-list.h"

+ Collaboration diagram for ns3::ByteTagList::Iterator::Item:

Public Member Functions

 Item (TagBuffer buf)
 Constructs an item with the given TagBuffer. More...
 

Public Attributes

TagBuffer buf
 the data for the tag as generated by Tag::Serialize More...
 
int32_t end
 offset to the end of the tag from the virtual byte buffer More...
 
uint32_t size
 size of tag data More...
 
int32_t start
 offset to the start of the tag from the virtual byte buffer More...
 
TypeId tid
 type of the tag More...
 

Friends

class ByteTagList
 Friend class. More...
 
class ByteTagList::Iterator
 Friend class. More...
 

Detailed Description

An item specifies an individual tag within a byte buffer.

An item specifies an individual tag within a byte buffer

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

Constructor & Destructor Documentation

ns3::ByteTagList::Iterator::Item::Item ( TagBuffer  buf)

Constructs an item with the given TagBuffer.

Parameters
bufThe Tag Buffer

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

References NS_LOG_FUNCTION.

Referenced by ns3::ByteTagList::Iterator::Next().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class ByteTagList
friend

Friend class.

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

friend class ByteTagList::Iterator
friend

Friend class.

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

Member Data Documentation

int32_t ns3::ByteTagList::Iterator::Item::end

offset to the end of the tag from the virtual byte buffer

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

Referenced by ns3::ByteTagList::Add(), ns3::ByteTagList::AddAtEnd(), ns3::ByteTagList::AddAtStart(), ns3::ByteTagList::Iterator::Next(), and ns3::ByteTagIterator::Next().

uint32_t ns3::ByteTagList::Iterator::Item::size
int32_t ns3::ByteTagList::Iterator::Item::start

offset to the start of the tag from the virtual byte buffer

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

Referenced by ns3::ByteTagList::Add(), ns3::ByteTagList::AddAtEnd(), ns3::ByteTagList::AddAtStart(), ns3::ByteTagList::Iterator::Next(), and ns3::ByteTagIterator::Next().

TypeId ns3::ByteTagList::Iterator::Item::tid

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