46 LSET( std::initializer_list<PCB_LAYER_ID> aList );
52 LSET(
unsigned long __val ) =
delete;
68 return test( aLayer );
70 catch( std::out_of_range& )
84 static int NameToLayer( wxString& aName );
96 static LSET InternalCuMask();
101 static LSET FrontAssembly();
106 static LSET BackAssembly();
116 static LSET ExternalCuMask();
121 static LSET AllNonCuMask();
123 static LSET AllLayersMask();
128 static LSET FrontTechMask();
134 static LSET FrontBoardTechMask();
139 static LSET BackTechMask();
145 static LSET BackBoardTechMask();
150 static LSET AllTechMask();
155 static LSET AllBoardTechMask();
160 static LSET FrontMask();
165 static LSET BackMask();
167 static LSET SideSpecificMask();
169 static LSET UserMask();
175 static LSET PhysicalLayersMask();
180 static LSET UserDefinedLayers();
187 static LSET ForbiddenFootprintLayers();
193 LSEQ CuStack()
const;
199 LSEQ TechAndUserUIOrder()
const;
205 LSEQ UIOrder()
const;
213 LSEQ Seq(
const LSEQ& aSequence )
const;
236 LSEQ SeqStackupForPlotting()
const;
243 for(
size_t ii = 0; ii < size(); ++ii )
253 std::string FmtHex()
const;
262 int ParseHex(
const char* aStart,
int aCount );
263 int ParseHex(
const std::string& str );
268 std::string FmtBin()
const;
286 LSET&
Flip(
int aCopperLayersCount = 0 );
324 void advance_to_next_set_copper_bit();
325 void next_copper_layer();
336 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)