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 298 of file layer_ids.h.
|
inline |
Definition at line 305 of file layer_ids.h.
|
inline |
Definition at line 309 of file layer_ids.h.
GAL_SET::GAL_SET | ( | const GAL_LAYER_ID * | aArray, |
unsigned | aCount | ||
) |
|
inline |
Definition at line 333 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 960 of file lset.cpp.
References arrayDim(), LAYER_ANCHOR, LAYER_AUX_ITEMS, LAYER_CONFLICTS_SHADOW, LAYER_CURSOR, LAYER_DRAW_BITMAPS, LAYER_DRAWINGSHEET, LAYER_DRC_ERROR, LAYER_DRC_WARNING, LAYER_GP_OVERLAY, LAYER_GRID, LAYER_GRID_AXES, LAYER_LOCKED_ITEM_SHADOW, LAYER_MOD_BK, LAYER_MOD_FR, LAYER_MOD_REFERENCES, LAYER_MOD_TEXT, LAYER_MOD_VALUES, LAYER_NON_PLATEDHOLES, LAYER_PAD_BK, LAYER_PAD_FR, LAYER_PAD_HOLEWALLS, LAYER_PAD_PLATEDHOLES, LAYER_PADS, LAYER_PADS_TH, LAYER_PCB_BACKGROUND, 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 LAYER_PRESET::LAYER_PRESET(), PCB_PARSER::parseSetup(), and PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS().
std::vector< GAL_LAYER_ID > GAL_SET::Seq | ( | ) | const |
Definition at line 946 of file lset.cpp.
References GAL_LAYER_ID_START.
|
inline |
Definition at line 315 of file layer_ids.h.
Referenced by BOARD::BOARD(), GAL_SET(), BOARD::GetVisibleElements(), APPEARANCE_CONTROLS::getVisibleObjects(), PARAM_LAYER_PRESET::jsonToPresets(), LEGACY_PLUGIN::loadSETUP(), APPEARANCE_CONTROLS::onObjectVisibilityChanged(), PCB_PARSER::parseSetup(), PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS(), BOARD::SetElementVisibility(), and APPEARANCE_CONTROLS::setVisibleObjects().
|
inline |
Definition at line 327 of file layer_ids.h.
References start.
|
inline |
Definition at line 321 of file layer_ids.h.
|
staticconstexprprivate |
Definition at line 302 of file layer_ids.h.
Referenced by Contains(), and set().