A Discrete-Event Network Simulator
API
Public Member Functions | Public Attributes | Friends | List of all members
ns3::ByteTagList::Iterator::Item Struct Reference

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

#include "byte-tag-list.h"

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

◆ Item()

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.

Friends And Related Function Documentation

◆ ByteTagList

friend class ByteTagList
friend

Friend class.

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

◆ ByteTagList::Iterator

friend class ByteTagList::Iterator
friend

Friend class.

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

Member Data Documentation

◆ buf

TagBuffer ns3::ByteTagList::Iterator::Item::buf

◆ end

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().

◆ size

uint32_t ns3::ByteTagList::Iterator::Item::size

◆ start

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().

◆ tid

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

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