Iterator over the set of 'packet' tags in a packet. More...
#include <packet.h>
Classes | |
class | Item |
Public Member Functions | |
bool | HasNext (void) const |
Item | Next (void) |
Private Member Functions | |
PacketTagIterator (const struct PacketTagList::TagData *head) | |
Private Attributes | |
const struct PacketTagList::TagData * | m_current |
Friends | |
class | Packet |
Iterator over the set of 'packet' tags in a packet.
This is a java-style iterator.
bool ns3::PacketTagIterator::HasNext | ( | void | ) | const |
Definition at line 96 of file packet.cc.
References NS_LOG_FUNCTION.
Referenced by Next(), and ns3::Packet::PrintPacketTags().
PacketTagIterator::Item ns3::PacketTagIterator::Next | ( | void | ) |
Definition at line 102 of file packet.cc.
References HasNext(), NS_ASSERT, and NS_LOG_FUNCTION.
Referenced by ns3::Packet::PrintPacketTags().