KiCad PCB EDA Suite
|
#include <lset.h>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = size_t |
using | difference_type = std::ptrdiff_t |
using | pointer = const size_t * |
using | reference = const size_t & |
Public Member Functions | |
copper_layers_iterator (const BASE_SET &set, size_t index) | |
PCB_LAYER_ID | operator* () const |
copper_layers_iterator & | operator++ () |
bool | operator!= (const set_bits_iterator &other) const |
bool | operator== (const set_bits_iterator &other) const |
Protected Member Functions | |
void | advance_to_next_set_bit () |
Protected Attributes | |
const BASE_SET & | m_baseSet |
size_t | m_index |
Private Member Functions | |
void | advance_to_next_set_copper_bit () |
void | next_copper_layer () |
|
inherited |
Definition at line 223 of file base_set.h.
|
inherited |
Definition at line 221 of file base_set.h.
|
inherited |
Definition at line 224 of file base_set.h.
|
inherited |
Definition at line 225 of file base_set.h.
|
inherited |
Definition at line 222 of file base_set.h.
LSET::copper_layers_iterator::copper_layers_iterator | ( | const BASE_SET & | set, |
size_t | index | ||
) |
Definition at line 901 of file lset.cpp.
References advance_to_next_set_copper_bit(), and BASE_SET::set_bits_iterator::m_index.
|
inlineprotectedinherited |
Definition at line 247 of file base_set.h.
|
private |
Definition at line 940 of file lset.cpp.
Referenced by copper_layers_iterator().
|
private |
|
inlineinherited |
Definition at line 242 of file base_set.h.
References BASE_SET::set_bits_iterator::m_index.
PCB_LAYER_ID LSET::copper_layers_iterator::operator* | ( | ) | const |
LSET::copper_layers_iterator & LSET::copper_layers_iterator::operator++ | ( | ) |
|
inlineinherited |
Definition at line 244 of file base_set.h.
References BASE_SET::set_bits_iterator::m_index.
|
protectedinherited |
Definition at line 253 of file base_set.h.
|
protectedinherited |
Definition at line 254 of file base_set.h.
Referenced by copper_layers_iterator(), BASE_SET::set_bits_iterator::operator!=(), and BASE_SET::set_bits_iterator::operator==().