wscout::gui::PcapHeader Class Reference

PCAP header widget. More...

#include <wscout_gui_pcap_header.hh>

Inheritance diagram for wscout::gui::PcapHeader:

wscout::gui::HeaderFrame

List of all members.

Public Types

typedef
pcap::Trace::iterator::value_type 
packet
typedef
pcap::Trace::link_type 
link_type
typedef std::pair
< protocol::id,
const void * > 
next_header

Public Member Functions

 PcapHeader (QWidget *parent=0)
next_header setup (link_type t, unsigned n, const packet &p)
QBoxLayout * layout ()

Static Public Member Functions

static next_header nextHeader (link_type t, const packet &p)


Detailed Description

PCAP header widget.

Does not inherit AbstractHeader nor HeaderBase. That for several reasons.


Member Typedef Documentation

typedef pcap::Trace::iterator::value_type wscout::gui::PcapHeader::packet

PCAP packet type.

typedef pcap::Trace::link_type wscout::gui::PcapHeader::link_type

PCAP link type.

typedef std::pair<protocol::id, const void*> wscout::gui::PcapHeader::next_header

Next header description.

See also:
AbstractHeader::next_header.


Constructor & Destructor Documentation

wscout::gui::PcapHeader::PcapHeader ( QWidget *  parent = 0  ) 

Default constructor.


Member Function Documentation

PcapHeader::next_header wscout::gui::PcapHeader::setup ( link_type  t,
unsigned  n,
const packet p 
)

Setup the widget for a given link type, sequence number and packet.

PcapHeader::next_header wscout::gui::PcapHeader::nextHeader ( link_type  t,
const packet p 
) [static]

Retrieve the next header's description.

QBoxLayout * wscout::gui::HeaderFrame::layout (  )  [inherited]

This protocol header widget's layout.


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