KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GAL_SET Class Reference

Helper for storing and iterating over GAL_LAYER_IDs. More...

#include <layer_ids.h>

Inheritance diagram for GAL_SET:

Public Member Functions

 GAL_SET ()
 
 GAL_SET (const GAL_SET &aOther)
 
 GAL_SET (const GAL_LAYER_ID *aArray, unsigned aCount)
 
GAL_SETset ()
 
GAL_SETset (int aPos, bool aVal=true)
 
GAL_SETset (GAL_LAYER_ID aPos, bool aVal=true)
 
bool Contains (GAL_LAYER_ID aPos)
 
std::vector< GAL_LAYER_IDSeq () const
 

Static Public Member Functions

static GAL_SET DefaultVisible ()
 

Static Private Attributes

static constexpr int start = static_cast<int>( GAL_LAYER_ID_START )
 

Detailed Description

Helper for storing and iterating over GAL_LAYER_IDs.

Definition at line 401 of file layer_ids.h.

Constructor & Destructor Documentation

◆ GAL_SET() [1/3]

GAL_SET::GAL_SET ( )
inline

Definition at line 408 of file layer_ids.h.

References GAL_LAYER_ID_COUNT.

Referenced by DefaultVisible(), GAL_SET(), GAL_SET(), set(), set(), and set().

◆ GAL_SET() [2/3]

GAL_SET::GAL_SET ( const GAL_SET & aOther)
inline

Definition at line 412 of file layer_ids.h.

References GAL_LAYER_ID_COUNT, and GAL_SET().

◆ GAL_SET() [3/3]

GAL_SET::GAL_SET ( const GAL_LAYER_ID * aArray,
unsigned aCount )

Definition at line 748 of file lset.cpp.

References GAL_SET(), and set().

Member Function Documentation

◆ Contains()

◆ DefaultVisible()

◆ Seq()

std::vector< GAL_LAYER_ID > GAL_SET::Seq ( ) const

Definition at line 755 of file lset.cpp.

References GAL_LAYER_ID_START.

◆ set() [1/3]

◆ set() [2/3]

GAL_SET & GAL_SET::set ( GAL_LAYER_ID aPos,
bool aVal = true )
inline

Definition at line 430 of file layer_ids.h.

References GAL_SET(), and start.

◆ set() [3/3]

GAL_SET & GAL_SET::set ( int aPos,
bool aVal = true )
inline

Definition at line 424 of file layer_ids.h.

References GAL_SET().

Member Data Documentation

◆ start

int GAL_SET::start = static_cast<int>( GAL_LAYER_ID_START )
staticconstexprprivate

Definition at line 405 of file layer_ids.h.

Referenced by Contains(), and set().


The documentation for this class was generated from the following files: