KiCad PCB EDA Suite
|
Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = PCB_LAYER_ID |
using | difference_type = std::ptrdiff_t |
using | pointer = PCB_LAYER_ID * |
using | reference = PCB_LAYER_ID & |
Public Member Functions | |
LAYER_RANGE_ITERATOR (PCB_LAYER_ID start, PCB_LAYER_ID stop, int layer_count) | |
PCB_LAYER_ID | operator* () const |
LAYER_RANGE_ITERATOR & | operator++ () |
LAYER_RANGE_ITERATOR | operator++ (int) |
bool | operator== (const LAYER_RANGE_ITERATOR &other) const |
bool | operator!= (const LAYER_RANGE_ITERATOR &other) const |
Private Member Functions | |
int | next_layer (int aLayer) |
Private Attributes | |
int | m_current |
int | m_stop |
int | m_layer_count |
bool | m_reverse |
Definition at line 33 of file layer_range.h.
using LAYER_RANGE::LAYER_RANGE_ITERATOR::difference_type = std::ptrdiff_t |
Definition at line 74 of file layer_range.h.
using LAYER_RANGE::LAYER_RANGE_ITERATOR::iterator_category = std::bidirectional_iterator_tag |
Definition at line 72 of file layer_range.h.
Definition at line 75 of file layer_range.h.
Definition at line 76 of file layer_range.h.
Definition at line 73 of file layer_range.h.
|
inline |
Definition at line 78 of file layer_range.h.
References B_Cu, m_current, m_layer_count, m_reverse, and m_stop.
|
inlineprivate |
Definition at line 41 of file layer_range.h.
References B_Cu, F_Cu, In1_Cu, m_layer_count, m_reverse, m_stop, and UNDEFINED_LAYER.
Referenced by operator++().
|
inline |
Definition at line 112 of file layer_range.h.
|
inline |
Definition at line 92 of file layer_range.h.
References m_current.
|
inline |
Definition at line 94 of file layer_range.h.
References m_current, and next_layer().
|
inline |
Definition at line 100 of file layer_range.h.
|
inline |
Definition at line 107 of file layer_range.h.
References m_current.
|
private |
Definition at line 36 of file layer_range.h.
Referenced by LAYER_RANGE_ITERATOR(), operator*(), operator++(), and operator==().
|
private |
Definition at line 38 of file layer_range.h.
Referenced by LAYER_RANGE_ITERATOR(), and next_layer().
|
private |
Definition at line 39 of file layer_range.h.
Referenced by LAYER_RANGE_ITERATOR(), and next_layer().
|
private |
Definition at line 37 of file layer_range.h.
Referenced by LAYER_RANGE_ITERATOR(), and next_layer().