Public Member Functions | Friends

ns3::PacketTagIterator::Item Class Reference

#include <packet.h>

Collaboration diagram for ns3::PacketTagIterator::Item:
Collaboration graph
[legend]

List of all members.

Public Member Functions

TypeId GetTypeId (void) const
void GetTag (Tag &tag) const

Friends

class PacketTagIterator

Detailed Description

Identifies a tag within a packet.


Member Function Documentation

void ns3::PacketTagIterator::Item::GetTag ( Tag tag  )  const
Parameters:
tag the user tag to which the data should be copied.

Read the requested tag and store it in the user-provided tag instance. This method will crash if the type of the tag provided by the user does not match the type of the underlying tag.

TypeId ns3::PacketTagIterator::Item::GetTypeId ( void   )  const
Returns:
the ns3::TypeId associated to this tag.

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