Iterator over the set of packet tags in a packet. More...
#include "packet.h"
Classes | |
| class | Item |
| Identifies a packet tag within a packet. More... | |
Public Member Functions | |
| bool | HasNext () const |
| Item | Next () |
Private Member Functions | |
| PacketTagIterator (const PacketTagList::TagData *head) | |
| Constructor. | |
Private Attributes | |
| const PacketTagList::TagData * | m_current |
| actual position over the set of tags in a packet | |
Friends | |
| class | Packet |
| Friend class. | |
Iterator over the set of packet tags in a packet.
This is a java-style iterator.
|
private |
| bool ns3::PacketTagIterator::HasNext | ( | ) | const |
Definition at line 87 of file packet.cc.
References m_current.
Referenced by Next(), and ns3::Packet::PrintPacketTags().
| PacketTagIterator::Item ns3::PacketTagIterator::Next | ( | ) |
|
friend |
Friend class.
Definition at line 169 of file packet.h.
References Packet.
Referenced by ns3::Packet::Copy(), and Packet.
|
private |
actual position over the set of tags in a packet
Definition at line 175 of file packet.h.
Referenced by PacketTagIterator(), HasNext(), and Next().