|
KiCad PCB EDA Suite
|
Iterator for traversing all data items. More...
#include <dynamic_rtree_cow.h>
Classes | |
| struct | STACK_ENTRY |
Public Member Functions | |
| Iterator () | |
| Iterator (NODE *aRoot) | |
| const DATATYPE & | operator* () const |
| Iterator & | operator++ () |
| bool | operator== (const Iterator &aOther) const |
| bool | operator!= (const Iterator &aOther) const |
Private Member Functions | |
| void | advance () |
Private Attributes | |
| std::vector< STACK_ENTRY > | m_stack |
| DATATYPE | m_current = {} |
| bool | m_atEnd = true |
Iterator for traversing all data items.
Uses the same traversal as DYNAMIC_RTREE::Iterator.
Definition at line 357 of file dynamic_rtree_cow.h.
|
inline |
Definition at line 360 of file dynamic_rtree_cow.h.
References m_atEnd.
Referenced by operator!=(), operator++(), and operator==().
|
inlineexplicit |
Definition at line 362 of file dynamic_rtree_cow.h.
References advance(), KIRTREE::RTREE_NODE< DATATYPE, ELEMTYPE, NUMDIMS, MAXNODES >::count, m_atEnd, and m_stack.
|
inlineprivate |
Definition at line 400 of file dynamic_rtree_cow.h.
References m_atEnd, m_current, m_stack, and top().
Referenced by Iterator(), and operator++().
|
inline |
Definition at line 388 of file dynamic_rtree_cow.h.
References Iterator().
|
inline |
Definition at line 375 of file dynamic_rtree_cow.h.
References m_current.
|
inline |
Definition at line 377 of file dynamic_rtree_cow.h.
References advance(), and Iterator().
|
inline |
Definition at line 383 of file dynamic_rtree_cow.h.
References Iterator(), and m_atEnd.
|
private |
Definition at line 438 of file dynamic_rtree_cow.h.
Referenced by advance(), Iterator(), Iterator(), and operator==().
|
private |
Definition at line 437 of file dynamic_rtree_cow.h.
Referenced by advance(), and operator*().
|
private |
Definition at line 436 of file dynamic_rtree_cow.h.
Referenced by advance(), and Iterator().