|
CFx SDK Documentation 2026 SP0
|
#include <DbRangeIterator.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 | |
| OdDbStepIteratorWrap (const OdSmartPtr< I > &i) | |
| reference | operator* () const |
| bool | operator== (const OdDbStepIteratorWrap &other) const |
| bool | operator!= (const OdDbStepIteratorWrap &other) const |
| const OdDbStepIteratorWrap & | operator++ () |
Protected Attributes | |
| OdSmartPtr< I > | m_pIterator |
<group OdDb_Classes>
This class is an iterator wrapper to be used to implement "range-based for" loop support in collections using OdDbSymbolTableIterator and OdDbObjectIterator (actually any iterator that uses step() function to iterate). When the wrapper iterator done() function returns true, it is released and becomes equal to the null iterator representing collection end.
Definition at line 37 of file DbRangeIterator.h.
| using OdDbStepIteratorWrap< I >::difference_type = ptrdiff_t |
Definition at line 42 of file DbRangeIterator.h.
| using OdDbStepIteratorWrap< I >::iterator_category = std::input_iterator_tag |
Definition at line 46 of file DbRangeIterator.h.
| using OdDbStepIteratorWrap< I >::pointer = void |
Definition at line 44 of file DbRangeIterator.h.
| using OdDbStepIteratorWrap< I >::reference = const I* |
Definition at line 45 of file DbRangeIterator.h.
| using OdDbStepIteratorWrap< I >::value_type = const I* |
Definition at line 43 of file DbRangeIterator.h.
|
inline |
Default constructor
Definition at line 50 of file DbRangeIterator.h.
|
inline |
Natural comparison operator.
Definition at line 71 of file DbRangeIterator.h.
|
inline |
|
inline |
Increment operator. Moves iterator forward.
Definition at line 76 of file DbRangeIterator.h.
|
inline |
Natural comparison operator.
Definition at line 66 of file DbRangeIterator.h.
|
protected |
Definition at line 40 of file DbRangeIterator.h.