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

Public Member Functions

 SCOPED_LAYERSET (BOARD_ITEM *aItem)
 
 ~SCOPED_LAYERSET ()
 
void Add (PCB_LAYER_ID aLayer)
 

Private Attributes

BOARD_ITEMm_item
 
LSET m_layers
 

Detailed Description

Definition at line 645 of file pcbexpr_functions.cpp.

Constructor & Destructor Documentation

◆ SCOPED_LAYERSET()

SCOPED_LAYERSET::SCOPED_LAYERSET ( BOARD_ITEM aItem)
inline

Definition at line 648 of file pcbexpr_functions.cpp.

References BOARD_ITEM::GetLayerSet(), m_item, and m_layers.

◆ ~SCOPED_LAYERSET()

SCOPED_LAYERSET::~SCOPED_LAYERSET ( )
inline

Definition at line 654 of file pcbexpr_functions.cpp.

References m_item, m_layers, and BOARD_ITEM::SetLayerSet().

Member Function Documentation

◆ Add()

void SCOPED_LAYERSET::Add ( PCB_LAYER_ID  aLayer)
inline

Member Data Documentation

◆ m_item

BOARD_ITEM* SCOPED_LAYERSET::m_item
private

Definition at line 665 of file pcbexpr_functions.cpp.

Referenced by Add(), SCOPED_LAYERSET(), and ~SCOPED_LAYERSET().

◆ m_layers

LSET SCOPED_LAYERSET::m_layers
private

Definition at line 666 of file pcbexpr_functions.cpp.

Referenced by SCOPED_LAYERSET(), and ~SCOPED_LAYERSET().


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