ns-3
ns3::ByteTagIterator Class Reference

Iterator over the set of 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 tags in a packet.

This is a java-style iterator.


Member Function Documentation

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

Referenced by ns3::Packet::FindFirstMatchingByteTag(), and ns3::Packet::PrintByteTags().

ByteTagIterator::Item ns3::ByteTagIterator::Next ( void  )
Returns:
the next item found and prepare for the next one.

Referenced by ns3::Packet::FindFirstMatchingByteTag(), and ns3::Packet::PrintByteTags().


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