wscout::pcap::Trace::PacketIterator Struct Reference

Iterator over PCAP packets. More...

#include <wscout_pcap_trace.hh>

List of all members.

Public Types

Iterator types.
typedef ssize_t difference_type
typedef Packet value_type
typedef value_typepointer_type
typedef value_typereference_type
typedef
std::input_iterator_tag 
iterator_category

Public Member Functions

 PacketIterator (Trace &t, bool end_of_trace=true)
Equality comparison.
bool operator== (const PacketIterator &rhs) const
bool operator!= (const PacketIterator &rhs) const
Value access.
const Packetoperator * () const
const Packetoperator-> () const
Increment.
PacketIteratoroperator++ ()
PacketIterator operator++ (int)

Classes

struct  Packet
 PCAP packet. More...


Detailed Description

Iterator over PCAP packets.

Constructor & Destructor Documentation

wscout::pcap::Trace::PacketIterator::PacketIterator ( Trace t,
bool  end_of_trace = true 
)

Build an iterator over PCAP packets from a PCAP trace.

If end_of_trace, then build an iterator that represents the trace's end position.


The documentation for this struct was generated from the following files:
Generated on Wed Sep 12 16:02:50 2007 for WScout by  doxygen 1.5.3