libtins
4.0
|
#include <pdu_iterator.h>
Public Types | |
typedef const PDU * | pointer |
typedef const PDU & | reference |
typedef const PDU & | value_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 > | |
PDUIterator & | operator++ () |
PDUIterator | operator++ (int) |
PDUIterator & | operator-- () |
PDUIterator | operator-- (int) |
Const iterator class for PDUs
typedef const PDU* Tins::ConstPDUIterator::pointer |
The used pointer type
typedef const PDU& Tins::ConstPDUIterator::reference |
The used reference type
typedef const PDU& Tins::ConstPDUIterator::value_type |
The used value type
Tins::ConstPDUIterator::ConstPDUIterator | ( | pointer | pdu | ) |
Tins::ConstPDUIterator::ConstPDUIterator | ( | PDUIterator | iterator | ) |
Construct from a PDU iterator
ConstPDUIterator::value_type Tins::ConstPDUIterator::operator* | ( | ) | const |
Dereference and get the stored PDU
ConstPDUIterator::pointer Tins::ConstPDUIterator::operator-> | ( | ) | const |
Get the stored PDU pointer