|
OpenDDS
Snapshot(2023/04/07-19:43)
|
SendStateDataSampleList STL-style iterator implementation.
More...
#include <SendStateDataSampleList.h>

Public Types | |
| typedef std::bidirectional_iterator_tag | iterator_category |
| typedef DataSampleElement | value_type |
| typedef std::ptrdiff_t | difference_type |
| typedef value_type * | pointer |
| typedef value_type & | reference |
Public Member Functions | |
| SendStateDataSampleListIterator () | |
| Default constructor required by ForwardIterator concept. More... | |
| SendStateDataSampleListIterator (DataSampleElement *head, DataSampleElement *tail, DataSampleElement *current) | |
| SendStateDataSampleListIterator & | operator++ () |
| SendStateDataSampleListIterator | operator++ (int) |
| SendStateDataSampleListIterator & | operator-- () |
| SendStateDataSampleListIterator | operator-- (int) |
| reference | operator* () |
| pointer | operator-> () |
| bool | operator== (const SendStateDataSampleListIterator &rhs) const |
| bool | operator!= (const SendStateDataSampleListIterator &rhs) const |
Private Attributes | |
| DataSampleElement * | head_ |
| DataSampleElement * | tail_ |
| DataSampleElement * | current_ |
Friends | |
| class | SendStateDataSampleListConstIterator |
SendStateDataSampleList STL-style iterator implementation.
This class implements a STL-style iterator for the OpenDDS SendStateDataSampleList class. The resulting iterator may be used with the STL generic algorithms. It is meant for iteration over the "send samples" in a SendStateDataSampleList.
Definition at line 43 of file SendStateDataSampleList.h.
| typedef std::ptrdiff_t OpenDDS::DCPS::SendStateDataSampleListIterator::difference_type |
Definition at line 47 of file SendStateDataSampleList.h.
| typedef std::bidirectional_iterator_tag OpenDDS::DCPS::SendStateDataSampleListIterator::iterator_category |
Definition at line 45 of file SendStateDataSampleList.h.
Definition at line 48 of file SendStateDataSampleList.h.
Definition at line 49 of file SendStateDataSampleList.h.
Definition at line 46 of file SendStateDataSampleList.h.
|
inline |
Default constructor required by ForwardIterator concept.
Definition at line 52 of file SendStateDataSampleList.h.
References OpenDDS::DCPS::operator*().
| OpenDDS::DCPS::SendStateDataSampleListIterator::SendStateDataSampleListIterator | ( | DataSampleElement * | head, |
| DataSampleElement * | tail, | ||
| DataSampleElement * | current | ||
| ) |
This constructor is used when constructing an "end" iterator.
Definition at line 109 of file SendStateDataSampleList.cpp.
|
inline |
Definition at line 77 of file SendStateDataSampleList.h.
| SendStateDataSampleListIterator::reference OpenDDS::DCPS::SendStateDataSampleListIterator::operator* | ( | void | ) |
Definition at line 158 of file SendStateDataSampleList.cpp.
References current_.
| SendStateDataSampleListIterator & OpenDDS::DCPS::SendStateDataSampleListIterator::operator++ | ( | void | ) |
Definition at line 120 of file SendStateDataSampleList.cpp.
References current_, and OpenDDS::DCPS::DataSampleElement::next_send_sample_.
| SendStateDataSampleListIterator OpenDDS::DCPS::SendStateDataSampleListIterator::operator++ | ( | int | ) |
Definition at line 130 of file SendStateDataSampleList.cpp.
| SendStateDataSampleListIterator & OpenDDS::DCPS::SendStateDataSampleListIterator::operator-- | ( | void | ) |
Definition at line 138 of file SendStateDataSampleList.cpp.
References current_, OpenDDS::DCPS::DataSampleElement::previous_send_sample_, and tail_.
| SendStateDataSampleListIterator OpenDDS::DCPS::SendStateDataSampleListIterator::operator-- | ( | int | ) |
Definition at line 150 of file SendStateDataSampleList.cpp.
| SendStateDataSampleListIterator::pointer OpenDDS::DCPS::SendStateDataSampleListIterator::operator-> | ( | void | ) |
Definition at line 169 of file SendStateDataSampleList.cpp.
References current_.
|
inline |
Definition at line 70 of file SendStateDataSampleList.h.
References current_, head_, head_, and tail_.
|
friend |
Definition at line 86 of file SendStateDataSampleList.h.
|
private |
Definition at line 84 of file SendStateDataSampleList.h.
Referenced by operator*(), operator++(), operator--(), operator->(), and operator==().
|
private |
Definition at line 82 of file SendStateDataSampleList.h.
Referenced by operator==().
|
private |
Definition at line 83 of file SendStateDataSampleList.h.
Referenced by operator--(), and operator==().
1.8.13