A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.

Public Attributes

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

Friends

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

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

References buf, and NS_LOG_FUNCTION.

◆ ByteTagList

friend class ByteTagList
friend

Friend class.

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

References ByteTagList.

Referenced by ByteTagList.

◆ ByteTagList::Iterator

friend class ByteTagList::Iterator
friend

Friend class.

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

Member Data Documentation

◆ buf

◆ end

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

◆ size

◆ start

int32_t ns3::ByteTagList::Iterator::Item::start

◆ tid


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