Iterator over the set of tags in a packet. More...
#include <packet.h>
Classes | |
class | Item |
Public Member Functions | |
bool | HasNext (void) const |
Item | Next (void) |
Private Member Functions | |
ByteTagIterator (ByteTagList::Iterator i) | |
Private Attributes | |
ByteTagList::Iterator | m_current |
Friends | |
class | Packet |
Iterator over the set of tags in a packet.
This is a java-style iterator.
bool ns3::ByteTagIterator::HasNext | ( | void | ) | const |
Definition at line 69 of file packet.cc.
Referenced by ns3::Packet::FindFirstMatchingByteTag(), and ns3::Packet::PrintByteTags().
ByteTagIterator::Item ns3::ByteTagIterator::Next | ( | void | ) |
Definition at line 74 of file packet.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::Packet::FindFirstMatchingByteTag(), and ns3::Packet::PrintByteTags().