|
KiCad PCB EDA Suite
|
Generic implementation of a flat const/non-const iterator over contained items.The non-const iterator. More...
#include <multivector.h>
Public Member Functions | |
| ITEM_TYPE & | operator* () |
| ITEM_TYPE * | operator-> () |
| ITERATOR_BASE & | operator++ () |
| bool | operator!= (const ITERATOR_BASE &aOther) const |
Protected Member Functions | |
| ITERATOR_BASE (ITEM_CONTAINER *aItems, ITEM_CONTAINER_IT aIt, int aBucket, int aType=UNDEFINED_TYPE) | |
| Assures the iterator is in a valid state. | |
| void | validate () |
| Wrapped container. | |
Protected Attributes | |
| ITEM_CONTAINER * | m_parent |
| Iterator for one of the ptr_vector containers stored in the array. | |
| ITEM_CONTAINER_IT | m_it |
| Flag indicating whether type filtering is enabled. | |
| bool | m_filter |
| Type of the currently iterated items. | |
| int | m_curType |
Friends | |
| class | MULTIVECTOR |
Generic implementation of a flat const/non-const iterator over contained items.The non-const iterator.
Definition at line 71 of file multivector.h.
|
inlineprotected |
Assures the iterator is in a valid state.
| aItems | is the container to wrap. |
| aIt | is the iterator to initialize this iterator (usually some begin() or end() iterator). |
| aBucket | is the type ID of the given iterator. |
| aType | enables item type filtering. When aType is UNDEFINED_TYPE, there is no filtering and all item types are accessible by the iterator. |
Definition at line 117 of file multivector.h.
|
inline |
Definition at line 94 of file multivector.h.
|
inline |
Definition at line 74 of file multivector.h.
|
inline |
Definition at line 84 of file multivector.h.
|
inline |
Definition at line 79 of file multivector.h.
|
inlineprotected |
Wrapped container.
Definition at line 125 of file multivector.h.
|
friend |
Definition at line 160 of file multivector.h.
|
protected |
|
protected |
Type of the currently iterated items.
Definition at line 155 of file multivector.h.
|
protected |
Flag indicating whether type filtering is enabled.
Definition at line 152 of file multivector.h.
|
protected |
Iterator for one of the ptr_vector containers stored in the array.
Definition at line 149 of file multivector.h.