Iterator over the set of packet tags in a packet. More...
#include "packet.h"
Collaboration diagram for ns3::PacketTagIterator:Classes | |
| class | Item |
| Identifies a packet tag within a packet. More... | |
Public Member Functions | |
| bool | HasNext (void) const |
| Item | Next (void) |
Private Member Functions | |
| PacketTagIterator (const struct PacketTagList::TagData *head) | |
| Constructor. More... | |
Private Attributes | |
| const struct PacketTagList::TagData * | m_current |
| actual position over the set of tags in a packet More... | |
Friends | |
| class | Packet |
Iterator over the set of packet tags in a packet.
This is a java-style iterator.
|
private |
| bool ns3::PacketTagIterator::HasNext | ( | void | ) | const |
Definition at line 89 of file packet.cc.
References m_current.
Referenced by Next(), and ns3::Packet::PrintPacketTags().
Here is the caller graph for this function:| PacketTagIterator::Item ns3::PacketTagIterator::Next | ( | void | ) |
Definition at line 94 of file packet.cc.
References HasNext(), m_current, ns3::PacketTagList::TagData::next, and NS_ASSERT.
Referenced by ns3::Packet::PrintPacketTags().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 169 of file packet.h.
Referenced by ns3::Packet::Copy().
|
private |