libtins  4.0
Public Types | Public Member Functions | List of all members
Tins::PDUIterator Class Reference

#include <pdu_iterator.h>

Inheritance diagram for Tins::PDUIterator:
Tins::PDUIteratorBase< PDUIterator >

Public Types

typedef PDUpointer
 
typedef PDUreference
 
typedef PDUvalue_type
 
- Public Types inherited from Tins::PDUIteratorBase< PDUIterator >
typedef std::bidirectional_iterator_tag iterator_category
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 PDUIterator (pointer pdu)
 
pointer operator-> ()
 
pointer operator-> () const
 
PDUoperator* ()
 
const PDUoperator* () const
 
- Public Member Functions inherited from Tins::PDUIteratorBase< PDUIterator >
PDUIteratoroperator++ ()
 
PDUIterator operator++ (int)
 
PDUIteratoroperator-- ()
 
PDUIterator operator-- (int)
 

Detailed Description

Iterator class for PDUs

Member Typedef Documentation

The used pointer type

The used reference type

The used value type

Constructor & Destructor Documentation

Tins::PDUIterator::PDUIterator ( pointer  pdu)

Constructs an iterator using a PDU

Parameters
pduThe PDU to be used for iteration

Member Function Documentation

PDUIterator::value_type Tins::PDUIterator::operator* ( )

Dereference and get the stored PDU

const PDU & Tins::PDUIterator::operator* ( ) const

Dereference and get the stored PDU

PDUIterator::pointer Tins::PDUIterator::operator-> ( )

Get the stored PDU pointer

PDUIterator::pointer Tins::PDUIterator::operator-> ( ) const

Get the stored PDU pointer


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