|
CFx SDK Documentation 2026 SP0
|
#include <RxIterator.h>
Public Types | |
| using | difference_type = ptrdiff_t |
| using | value_type = const I* |
| using | pointer = void |
| using | reference = const I* |
| using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
| OdDbNextIteratorWrap (const OdSmartPtr< I > &i) | |
| reference | operator* () const |
| bool | operator== (const OdDbNextIteratorWrap &other) const |
| bool | operator!= (const OdDbNextIteratorWrap &other) const |
| const OdDbNextIteratorWrap & | operator++ () |
Protected Attributes | |
| OdSmartPtr< I > | m_pIterator |
<group OdRx_Classes>
This class is an iterator wrapper to be used to implement "range-based for" loop support in collections using OdRxIterator and its descendants like OdDbDictionaryIterator. When the wrapper iterator done() function returns true, it is released and becomes equal to the null iterator representing collection end.
Definition at line 86 of file RxIterator.h.
| using OdDbNextIteratorWrap< I >::difference_type = ptrdiff_t |
Definition at line 91 of file RxIterator.h.
| using OdDbNextIteratorWrap< I >::iterator_category = std::input_iterator_tag |
Definition at line 95 of file RxIterator.h.
| using OdDbNextIteratorWrap< I >::pointer = void |
Definition at line 93 of file RxIterator.h.
| using OdDbNextIteratorWrap< I >::reference = const I* |
Definition at line 94 of file RxIterator.h.
| using OdDbNextIteratorWrap< I >::value_type = const I* |
Definition at line 92 of file RxIterator.h.
|
inline |
Default constructor
Definition at line 99 of file RxIterator.h.
|
inline |
Natural comparison operator.
Definition at line 120 of file RxIterator.h.
|
inline |
|
inline |
Increment operator. Moves iterator forward.
Definition at line 125 of file RxIterator.h.
|
inline |
Natural comparison operator.
Definition at line 115 of file RxIterator.h.
|
protected |
Definition at line 89 of file RxIterator.h.