KiCad PCB EDA Suite
|
Helper for storing and iterating over GAL_LAYER_IDs. More...
#include <layer_ids.h>
Public Member Functions | |
GAL_SET () | |
GAL_SET (const GAL_SET &aOther) | |
GAL_SET (const GAL_LAYER_ID *aArray, unsigned aCount) | |
GAL_SET & | set () |
GAL_SET & | set (int aPos, bool aVal=true) |
GAL_SET & | set (GAL_LAYER_ID aPos, bool aVal=true) |
bool | Contains (GAL_LAYER_ID aPos) |
std::vector< GAL_LAYER_ID > | Seq () const |
Static Public Member Functions | |
static GAL_SET | DefaultVisible () |
Static Private Attributes | |
static constexpr int | start = static_cast<int>( GAL_LAYER_ID_START ) |
Helper for storing and iterating over GAL_LAYER_IDs.
Definition at line 401 of file layer_ids.h.
|
inline |
Definition at line 408 of file layer_ids.h.
References GAL_LAYER_ID_COUNT.
Referenced by DefaultVisible(), GAL_SET(), GAL_SET(), set(), set(), and set().
|
inline |
Definition at line 412 of file layer_ids.h.
References GAL_LAYER_ID_COUNT, and GAL_SET().
GAL_SET::GAL_SET | ( | const GAL_LAYER_ID * | aArray, |
unsigned | aCount ) |
|
inline |
Definition at line 436 of file layer_ids.h.
References start.
Referenced by APPEARANCE_CONTROLS::onObjectVisibilityChanged(), APPEARANCE_CONTROLS::rebuildObjects(), PCB_EDIT_FRAME::setupUIConditions(), APPEARANCE_CONTROLS::syncColorsAndVisibility(), and APPEARANCE_CONTROLS::syncObjectSettings().
|
static |
Definition at line 769 of file lset.cpp.
References arrayDim(), GAL_SET(), LAYER_ANCHOR, LAYER_AUX_ITEMS, LAYER_CONFLICTS_SHADOW, LAYER_CURSOR, LAYER_DRAW_BITMAPS, LAYER_DRAWINGSHEET, LAYER_DRC_ERROR, LAYER_DRC_SHAPES, LAYER_DRC_WARNING, LAYER_FILLED_SHAPES, LAYER_FOOTPRINTS_BK, LAYER_FOOTPRINTS_FR, LAYER_FP_REFERENCES, LAYER_FP_TEXT, LAYER_FP_VALUES, LAYER_GP_OVERLAY, LAYER_GRID, LAYER_GRID_AXES, LAYER_LOCKED_ITEM_SHADOW, LAYER_NON_PLATEDHOLES, LAYER_PAD_HOLEWALLS, LAYER_PAD_PLATEDHOLES, LAYER_PADS, LAYER_PCB_BACKGROUND, LAYER_POINTS, LAYER_RATSNEST, LAYER_SELECT_OVERLAY, LAYER_TRACKS, LAYER_VIA_BBLIND, LAYER_VIA_HOLES, LAYER_VIA_HOLEWALLS, LAYER_VIA_MICROVIA, LAYER_VIA_THROUGH, LAYER_VIAS, and LAYER_ZONES.
Referenced by BOARD::GetVisibleElements(), and PCB_IO_KICAD_SEXPR_PARSER::parseSetup().
std::vector< GAL_LAYER_ID > GAL_SET::Seq | ( | ) | const |
Definition at line 755 of file lset.cpp.
References GAL_LAYER_ID_START.
|
inline |
Definition at line 418 of file layer_ids.h.
References GAL_SET().
Referenced by GAL_SET(), APPEARANCE_CONTROLS::getVisibleObjects(), PARAM_LAYER_PRESET::jsonToPresets(), PCB_IO_KICAD_LEGACY::loadSETUP(), APPEARANCE_CONTROLS::onObjectVisibilityChanged(), PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS(), and APPEARANCE_CONTROLS::setVisibleObjects().
|
inline |
Definition at line 430 of file layer_ids.h.
|
inline |
Definition at line 424 of file layer_ids.h.
References GAL_SET().
|
staticconstexprprivate |
Definition at line 405 of file layer_ids.h.
Referenced by Contains(), and set().