67 LSET( std::initializer_list<PCB_LAYER_ID> aList );
71 LSET(
unsigned long __val ) =
delete;
83 return test( aLayer );
85 catch( std::out_of_range& )
100 static LSET InternalCuMask();
105 static LSET FrontAssembly();
110 static LSET BackAssembly();
120 static LSET ExternalCuMask();
125 static LSET AllNonCuMask();
127 static LSET AllLayersMask();
132 static LSET FrontTechMask();
138 static LSET FrontBoardTechMask();
143 static LSET BackTechMask();
149 static LSET BackBoardTechMask();
154 static LSET AllTechMask();
159 static LSET AllBoardTechMask();
164 static LSET FrontMask();
169 static LSET BackMask();
171 static LSET SideSpecificMask();
173 static LSET UserMask();
179 static LSET PhysicalLayersMask();
184 static LSET UserDefinedLayers();
191 static LSET ForbiddenFootprintLayers();
198 LSEQ CuStack()
const;
211 LSEQ TechAndUserUIOrder()
const;
213 LSEQ UIOrder()
const;
224 LSEQ Seq(
const LSEQ& aSequence )
const;
247 LSEQ SeqStackupForPlotting()
const;
254 for(
size_t ii = 0; ii <
size(); ++ii )
264 std::string FmtHex()
const;
273 int ParseHex(
const char* aStart,
int aCount );
278 std::string FmtBin()
const;
296 LSET&
Flip(
int aCopperLayersCount = 0 );
BASE_SET & set(size_t pos=std::numeric_limits< size_t >::max(), bool value=true)
LSEQ is a sequence (and therefore also a set) of PCB_LAYER_IDs.
LSET is a set of PCB_LAYER_IDs.
LSET(PCB_LAYER_ID aLayer)
LSET(unsigned long __val)=delete
LSET(const BASE_SET &aOther)
bool Contains(PCB_LAYER_ID aLayer)
See if the layer set contains a PCB layer.
void RunOnLayers(const std::function< void(PCB_LAYER_ID)> &aFunction) const
Execute a function on each layer of the LSET.
LSET()
Create an empty (cleared) set.
PCB_LAYER_ID
A quick note on layer IDs: