libtins  4.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
Tins::ConstPDUIterator Class Reference

#include <pdu_iterator.h>

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

Public Types

typedef const PDUpointer
 
typedef const PDUreference
 
typedef const 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

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

Detailed Description

Const iterator class for PDUs

Member Typedef Documentation

The used pointer type

The used reference type

The used value type

Constructor & Destructor Documentation

Tins::ConstPDUIterator::ConstPDUIterator ( pointer  pdu)

Constructs an iterator using a PDU

Parameters
pduThe PDU to be used for iteration
Tins::ConstPDUIterator::ConstPDUIterator ( PDUIterator  iterator)

Construct from a PDU iterator

Member Function Documentation

ConstPDUIterator::value_type Tins::ConstPDUIterator::operator* ( ) const

Dereference and get the stored PDU

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

Get the stored PDU pointer


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