46 LSET( std::initializer_list<PCB_LAYER_ID> aList );
48 LSET(
const std::vector<PCB_LAYER_ID>& aList );
54 LSET(
unsigned long __val ) =
delete;
70 return test( aLayer );
72 catch( std::out_of_range& )
86 static int NameToLayer( wxString& aName );
98 static LSET InternalCuMask();
103 static LSET FrontAssembly();
108 static LSET BackAssembly();
118 static LSET ExternalCuMask();
123 static LSET AllNonCuMask();
125 static LSET AllLayersMask();
130 static LSET FrontTechMask();
136 static LSET FrontBoardTechMask();
141 static LSET BackTechMask();
147 static LSET BackBoardTechMask();
152 static LSET AllTechMask();
157 static LSET AllBoardTechMask();
162 static LSET FrontMask();
167 static LSET BackMask();
169 static LSET SideSpecificMask();
171 static LSET UserMask();
177 static LSET PhysicalLayersMask();
182 static LSET UserDefinedLayers();
189 static LSET ForbiddenFootprintLayers();
195 LSEQ CuStack()
const;
201 LSEQ TechAndUserUIOrder()
const;
207 LSEQ UIOrder()
const;
215 LSEQ Seq(
const LSEQ& aSequence )
const;
238 LSEQ SeqStackupForPlotting()
const;
245 for(
size_t ii = 0; ii < size(); ++ii )
255 std::string FmtHex()
const;
264 int ParseHex(
const char* aStart,
int aCount );
265 int ParseHex(
const std::string& str );
270 std::string FmtBin()
const;
288 LSET&
Flip(
int aCopperLayersCount = 0 );
326 void advance_to_next_set_copper_bit();
327 void next_copper_layer();
338 void advance_to_next_set_non_copper_bit();
set_bits_iterator & operator++()
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
PCB_LAYER_ID operator*() const
all_set_layers_iterator(const BASE_SET &set, size_t index)
all_set_layers_iterator & operator++()
LSET is a set of PCB_LAYER_IDs.
LSET(unsigned long __val)=delete
LSET(const BASE_SET &aOther)
void RunOnLayers(const std::function< void(PCB_LAYER_ID)> &aFunction) const
Execute a function on each layer of the LSET.
all_set_layers_iterator begin() const
all_set_layers_iterator end() const
LSET()
Create an empty (cleared) set.
bool Contains(PCB_LAYER_ID aLayer) const
See if the layer set contains a PCB layer.
EDA_ANGLE operator*(const EDA_ANGLE &aAngleA, double aOperator)
PCB_LAYER_ID
A quick note on layer IDs:
SIM_PLOT_COLORS::COLOR_SET & operator++(SIM_PLOT_COLORS::COLOR_SET &x)