ns3::PacketTagIterator::PacketTagIterator::Item Class Reference

#include <packet.h>

List of all members.

Public Member Functions

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


Detailed Description

Identifies a tag within a packet.

Member Function Documentation

void ns3::PacketTagIterator::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::PacketTagIterator::Item::GetTypeId ( void   )  const

Returns:
the ns3::TypeId associated to this tag.


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

Generated on Fri Apr 9 15:01:08 2010 for NS-3 by  doxygen 1.5.8