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 305 of file layer_ids.h.
|
inline |
Definition at line 312 of file layer_ids.h.
|
inline |
Definition at line 316 of file layer_ids.h.
GAL_SET::GAL_SET | ( | const GAL_LAYER_ID * | aArray, |
unsigned | aCount | ||
) |
|
inline |
Definition at line 340 of file layer_ids.h.
Referenced by APPEARANCE_CONTROLS::onObjectVisibilityChanged(), APPEARANCE_CONTROLS::rebuildObjects(), PCB_EDIT_FRAME::setupUIConditions(), APPEARANCE_CONTROLS::syncColorsAndVisibility(), and APPEARANCE_CONTROLS::syncObjectSettings().
|
static |
Definition at line 842 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_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_PADS_SMD_BK, LAYER_PADS_SMD_FR, LAYER_PADS_TH, LAYER_PCB_BACKGROUND, LAYER_RATSNEST, LAYER_SELECT_OVERLAY, LAYER_SHAPES, LAYER_TRACKS, LAYER_VIA_BBLIND, LAYER_VIA_HOLES, LAYER_VIA_HOLEWALLS, LAYER_VIA_MICROVIA, LAYER_VIA_THROUGH, LAYER_VIAS, and LAYER_ZONES.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::parseSetup(), and PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS().
std::vector< GAL_LAYER_ID > GAL_SET::Seq | ( | ) | const |
Definition at line 828 of file lset.cpp.
References GAL_LAYER_ID_START.
|
inline |
Definition at line 322 of file layer_ids.h.
Referenced by BOARD::BOARD(), GAL_SET(), BOARD::GetVisibleElements(), APPEARANCE_CONTROLS::getVisibleObjects(), PARAM_LAYER_PRESET::jsonToPresets(), PCB_IO_KICAD_LEGACY::loadSETUP(), APPEARANCE_CONTROLS::onObjectVisibilityChanged(), PCB_IO_KICAD_SEXPR_PARSER::parseSetup(), PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS(), BOARD::SetElementVisibility(), and APPEARANCE_CONTROLS::setVisibleObjects().
|
inline |
Definition at line 334 of file layer_ids.h.
|
inline |
Definition at line 328 of file layer_ids.h.
|
staticconstexprprivate |
Definition at line 309 of file layer_ids.h.