|
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 361 of file dynamic_rtree_cow.h.
|
inline |
Definition at line 364 of file dynamic_rtree_cow.h.
References m_atEnd.
Referenced by operator!=(), operator++(), and operator==().
|
inlineexplicit |
Definition at line 366 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 404 of file dynamic_rtree_cow.h.
References m_atEnd, m_current, m_stack, and top().
Referenced by Iterator(), and operator++().
|
inline |
Definition at line 392 of file dynamic_rtree_cow.h.
References Iterator().
|
inline |
Definition at line 379 of file dynamic_rtree_cow.h.
References m_current.
|
inline |
Definition at line 381 of file dynamic_rtree_cow.h.
References advance(), and Iterator().
|
inline |
Definition at line 387 of file dynamic_rtree_cow.h.
References Iterator(), and m_atEnd.
|
private |
Definition at line 442 of file dynamic_rtree_cow.h.
Referenced by advance(), Iterator(), Iterator(), and operator==().
|
private |
Definition at line 441 of file dynamic_rtree_cow.h.
Referenced by advance(), and operator*().
|
private |
Definition at line 440 of file dynamic_rtree_cow.h.
Referenced by advance(), and Iterator().