| 
    KiCad PCB EDA Suite
    
   | 
 
#include <shape_index.h>
Public Member Functions | |
| Iterator (SHAPE_INDEX *aIndex) | |
| Create an iterator for the index object.   | |
| T | operator* () | 
| Return the next data element.   | |
| bool | operator++ () | 
| Shift the iterator to the next element.   | |
| bool | operator++ (int) | 
| Shift the iterator to the next element.   | |
| bool | IsNull () const | 
| Check if the iterator has reached the end.   | |
| bool | IsNotNull () const | 
| Check if the iterator has not reached the end.   | |
| T | Next () | 
| Return the current element of the iterator and moves to the next position.   | |
Private Types | |
| typedef RTree< T, int, 2, double >::Iterator | RTreeIterator | 
Private Member Functions | |
| void | Init (RTree< T, int, 2, double > *aTree) | 
| Setup the internal tree iterator.   | |
Private Attributes | |
| RTreeIterator | iterator | 
Definition at line 116 of file shape_index.h.
      
  | 
  private | 
Definition at line 119 of file shape_index.h.
      
  | 
  inline | 
Create an iterator for the index object.
| aIndex | is a SHAPE_INDEX object to iterate. | 
Definition at line 138 of file shape_index.h.
References Init(), SHAPE_INDEX< T >::m_tree, and SHAPE_INDEX< T >::SHAPE_INDEX().
      
  | 
  inlineprivate | 
Setup the internal tree iterator.
| aTree | is a #RTREE object/ | 
Definition at line 127 of file shape_index.h.
References iterator.
Referenced by Iterator().
      
  | 
  inline | 
Check if the iterator has not reached the end.
Definition at line 182 of file shape_index.h.
References iterator.
      
  | 
  inline | 
Check if the iterator has reached the end.
Definition at line 172 of file shape_index.h.
References iterator.
Referenced by SHAPE_INDEX< T >::Reindex().
      
  | 
  inline | 
Return the current element of the iterator and moves to the next position.
Definition at line 192 of file shape_index.h.
      
  | 
  inline | 
Return the next data element.
Definition at line 146 of file shape_index.h.
      
  | 
  inline | 
Shift the iterator to the next element.
Definition at line 154 of file shape_index.h.
References iterator.
      
  | 
  inline | 
Shift the iterator to the next element.
Definition at line 162 of file shape_index.h.
References iterator.
      
  | 
  private | 
Definition at line 120 of file shape_index.h.
Referenced by Init(), IsNotNull(), IsNull(), Next(), operator*(), operator++(), and operator++().