Iterator over the set of byte tags in a packet. More...
#include "packet.h"
Classes | |
class | Item |
Identifies a byte tag and a set of bytes within a packet to which the tag applies. More... | |
Public Member Functions | |
bool | HasNext () const |
Item | Next () |
Private Member Functions | |
ByteTagIterator (ByteTagList::Iterator i) | |
Copy Constructor. | |
Private Attributes | |
ByteTagList::Iterator | m_current |
actual position over the set of byte tags in a packet | |
Friends | |
class | Packet |
Friend class. | |
Iterator over the set of byte tags in a packet.
This is a java-style iterator.
|
private |
bool ns3::ByteTagIterator::HasNext | ( | ) | const |
Definition at line 61 of file packet.cc.
References ns3::ByteTagList::Iterator::HasNext(), and m_current.
Referenced by PacketTest::DoCheck(), PacketTest::DoCheckData(), Ipv4FragmentationTest::DoRun(), Ipv6FragmentationTest::DoRun(), ns3::Packet::FindFirstMatchingByteTag(), ns3::AnimationInterface::GetAnimUidFromPacket(), and ns3::Packet::PrintByteTags().
ByteTagIterator::Item ns3::ByteTagIterator::Next | ( | ) |
Definition at line 67 of file packet.cc.
References ns3::ByteTagList::Iterator::Item::buf, ns3::ByteTagList::Iterator::Item::end, ns3::ByteTagList::Iterator::GetOffsetStart(), m_current, ns3::ByteTagList::Iterator::Next(), ns3::ByteTagList::Iterator::Item::start, and ns3::ByteTagList::Iterator::Item::tid.
Referenced by PacketTest::DoCheck(), PacketTest::DoCheckData(), Ipv4FragmentationTest::DoRun(), Ipv6FragmentationTest::DoRun(), ns3::Packet::FindFirstMatchingByteTag(), ns3::AnimationInterface::GetAnimUidFromPacket(), and ns3::Packet::PrintByteTags().
|
private |