libtins
4.0
|
#include <pdu_iterator.h>
Public Types | |
typedef PDU * | pointer |
typedef PDU & | reference |
typedef 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 | |
PDUIterator (pointer pdu) | |
pointer | operator-> () |
pointer | operator-> () const |
PDU & | operator* () |
const PDU & | operator* () const |
Public Member Functions inherited from Tins::PDUIteratorBase< PDUIterator > | |
PDUIterator & | operator++ () |
PDUIterator | operator++ (int) |
PDUIterator & | operator-- () |
PDUIterator | operator-- (int) |
Iterator class for PDUs
typedef PDU* Tins::PDUIterator::pointer |
The used pointer type
typedef PDU& Tins::PDUIterator::reference |
The used reference type
typedef PDU& Tins::PDUIterator::value_type |
The used value type
Tins::PDUIterator::PDUIterator | ( | pointer | pdu | ) |
PDUIterator::value_type Tins::PDUIterator::operator* | ( | ) |
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