ns-3
ns3::PacketTagIterator Class Reference

Iterator over the set of 'packet' tags in a packet. More...

#include <packet.h>

List of all members.

Classes

class  Item

Public Member Functions

bool HasNext (void) const
Item Next (void)

Friends

class Packet

Detailed Description

Iterator over the set of 'packet' tags in a packet.

This is a java-style iterator.


Member Function Documentation

bool ns3::PacketTagIterator::HasNext ( void  ) const
Returns:
true if calling Next is safe, false otherwise.

Referenced by Next(), and ns3::Packet::PrintPacketTags().

Returns:
the next item found and prepare for the next one.

References HasNext(), and NS_ASSERT.

Referenced by ns3::Packet::PrintPacketTags().


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