A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::PacketMetadata::ItemIterator Class Reference

#include <packet-metadata.h>

+ Collaboration diagram for ns3::PacketMetadata::ItemIterator:

Public Member Functions

 ItemIterator (const PacketMetadata *metadata, Buffer buffer)
 
bool HasNext (void) const
 
Item Next (void)
 

Private Attributes

Buffer m_buffer
 
uint16_t m_current
 
bool m_hasReadTail
 
const PacketMetadatam_metadata
 
uint32_t m_offset
 

Detailed Description

Definition at line 114 of file packet-metadata.h.

Constructor & Destructor Documentation

ns3::PacketMetadata::ItemIterator::ItemIterator ( const PacketMetadata metadata,
Buffer  buffer 
)

Definition at line 1063 of file packet-metadata.cc.

References NS_LOG_FUNCTION.

Member Function Documentation

bool ns3::PacketMetadata::ItemIterator::HasNext ( void  ) const

Definition at line 1073 of file packet-metadata.cc.

References NS_LOG_FUNCTION.

Referenced by PacketMetadataTest::CheckHistory(), ns3::PyViz::FilterPacket(), and ns3::Packet::Print().

+ Here is the caller graph for this function:

Member Data Documentation

Buffer ns3::PacketMetadata::ItemIterator::m_buffer
private

Definition at line 122 of file packet-metadata.h.

uint16_t ns3::PacketMetadata::ItemIterator::m_current
private

Definition at line 123 of file packet-metadata.h.

bool ns3::PacketMetadata::ItemIterator::m_hasReadTail
private

Definition at line 125 of file packet-metadata.h.

const PacketMetadata* ns3::PacketMetadata::ItemIterator::m_metadata
private

Definition at line 121 of file packet-metadata.h.

uint32_t ns3::PacketMetadata::ItemIterator::m_offset
private

Definition at line 124 of file packet-metadata.h.


The documentation for this class was generated from the following files: