KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LAYER_GRID_TABLE Class Reference
Inheritance diagram for LAYER_GRID_TABLE:

Public Member Functions

 LAYER_GRID_TABLE (int layerCount)
 
int GetNumberRows () override
 
int GetNumberCols () override
 
wxString GetColLabelValue (int aCol) override
 
wxString GetValue (int row, int col) override
 
void SetValue (int row, int col, const wxString &value) override
 
long GetValueAsLong (int row, int col) override
 
void SetValueAsLong (int row, int col, long value) override
 

Private Attributes

std::vector< std::pair< PCB_LAYER_ID, PCB_LAYER_ID > > m_layers
 
int m_layerCount
 

Detailed Description

Definition at line 32 of file dialog_swap_layers.cpp.

Constructor & Destructor Documentation

◆ LAYER_GRID_TABLE()

LAYER_GRID_TABLE::LAYER_GRID_TABLE ( int  layerCount)
inline

Definition at line 38 of file dialog_swap_layers.cpp.

Member Function Documentation

◆ GetColLabelValue()

wxString LAYER_GRID_TABLE::GetColLabelValue ( int  aCol)
inlineoverride

Definition at line 44 of file dialog_swap_layers.cpp.

References _.

◆ GetNumberCols()

int LAYER_GRID_TABLE::GetNumberCols ( )
inlineoverride

Definition at line 42 of file dialog_swap_layers.cpp.

◆ GetNumberRows()

int LAYER_GRID_TABLE::GetNumberRows ( )
inlineoverride

Definition at line 41 of file dialog_swap_layers.cpp.

References m_layerCount.

◆ GetValue()

wxString LAYER_GRID_TABLE::GetValue ( int  row,
int  col 
)
inlineoverride

Definition at line 54 of file dialog_swap_layers.cpp.

◆ GetValueAsLong()

long LAYER_GRID_TABLE::GetValueAsLong ( int  row,
int  col 
)
inlineoverride

Definition at line 57 of file dialog_swap_layers.cpp.

References m_layerCount, and m_layers.

◆ SetValue()

void LAYER_GRID_TABLE::SetValue ( int  row,
int  col,
const wxString &  value 
)
inlineoverride

Definition at line 55 of file dialog_swap_layers.cpp.

◆ SetValueAsLong()

void LAYER_GRID_TABLE::SetValueAsLong ( int  row,
int  col,
long  value 
)
inlineoverride

Definition at line 68 of file dialog_swap_layers.cpp.

References F_Cu, m_layers, and ToLAYER_ID().

Member Data Documentation

◆ m_layerCount

int LAYER_GRID_TABLE::m_layerCount
private

Definition at line 35 of file dialog_swap_layers.cpp.

Referenced by GetNumberRows(), and GetValueAsLong().

◆ m_layers

std::vector<std::pair<PCB_LAYER_ID, PCB_LAYER_ID> > LAYER_GRID_TABLE::m_layers
private

Definition at line 34 of file dialog_swap_layers.cpp.

Referenced by GetValueAsLong(), and SetValueAsLong().


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