Classes | Public Member Functions | Friends

ns3::PacketTagIterator Class Reference
[Packet]

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

#include <packet.h>

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

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.
Item ns3::PacketTagIterator::Next ( void   ) 
Returns:
the next item found and prepare for the next one.

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