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

◆ 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

◆ end

◆ size

◆ start

◆ tid


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