|
unsigned int | GetColumnCount () const override |
|
void | GetValue (wxVariant &aOutValue, const wxDataViewItem &aItem, unsigned int aCol) const override |
|
int | Compare (const wxDataViewItem &aItem1, const wxDataViewItem &aItem2, unsigned int aCol, bool aAsc) const override |
|
bool | SetValue (const wxVariant &aInValue, const wxDataViewItem &aItem, unsigned int aCol) override |
|
wxDataViewItem | GetParent (const wxDataViewItem &aItem) const override |
|
bool | IsContainer (const wxDataViewItem &aItem) const override |
|
bool | HasContainerColumns (const wxDataViewItem &aItem) const override |
|
unsigned int | GetChildren (const wxDataViewItem &aParent, wxDataViewItemArray &aChildren) const override |
|
wxString | GetColumnType (unsigned int) const override |
|
|
static int | compareUInt (uint64_t aValue1, uint64_t aValue2, bool aAsc) |
|
Definition at line 447 of file dialog_net_inspector.cpp.
◆ DATA_MODEL()
◆ addItem()
◆ addItems()
void DIALOG_NET_INSPECTOR::DATA_MODEL::addItems |
( |
std::vector< std::unique_ptr< LIST_ITEM > > && |
aItems | ) |
|
|
inline |
◆ columnCount()
unsigned int DIALOG_NET_INSPECTOR::DATA_MODEL::columnCount |
( |
| ) |
const |
|
inline |
◆ Compare()
int DIALOG_NET_INSPECTOR::DATA_MODEL::Compare |
( |
const wxDataViewItem & |
aItem1, |
|
|
const wxDataViewItem & |
aItem2, |
|
|
unsigned int |
aCol, |
|
|
bool |
aAsc |
|
) |
| const |
|
inlineoverrideprotected |
Definition at line 829 of file dialog_net_inspector.cpp.
References COLUMN_BOARD_LENGTH, COLUMN_CHIP_LENGTH, COLUMN_NAME, COLUMN_NET, COLUMN_NUM_STATIC_COL, COLUMN_PAD_COUNT, COLUMN_TOTAL_LENGTH, COLUMN_VIA_COUNT, COLUMN_VIA_LENGTH, compareUInt(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetBoardWireLength(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetChipWireLength(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetIsGroup(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetLayerWireLength(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetNetCode(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetNetName(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetPadCount(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetTotalLength(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetViaCount(), DIALOG_NET_INSPECTOR::LIST_ITEM::GetViaLength(), DIALOG_NET_INSPECTOR::m_columns, m_parent, and res.
◆ compareUInt()
static int DIALOG_NET_INSPECTOR::DATA_MODEL::compareUInt |
( |
uint64_t |
aValue1, |
|
|
uint64_t |
aValue2, |
|
|
bool |
aAsc |
|
) |
| |
|
inlinestaticprotected |
◆ deleteAllItems()
void DIALOG_NET_INSPECTOR::DATA_MODEL::deleteAllItems |
( |
| ) |
|
|
inline |
◆ deleteItem()
std::unique_ptr< LIST_ITEM > DIALOG_NET_INSPECTOR::DATA_MODEL::deleteItem |
( |
const std::optional< LIST_ITEM_ITER > & |
aRow | ) |
|
|
inline |
◆ findItem() [1/2]
std::optional< LIST_ITEM_ITER > DIALOG_NET_INSPECTOR::DATA_MODEL::findItem |
( |
int |
aNetCode | ) |
|
|
inline |
◆ findItem() [2/2]
◆ GetChildren()
unsigned int DIALOG_NET_INSPECTOR::DATA_MODEL::GetChildren |
( |
const wxDataViewItem & |
aParent, |
|
|
wxDataViewItemArray & |
aChildren |
|
) |
| const |
|
inlineoverrideprotected |
◆ GetColumnCount()
unsigned int DIALOG_NET_INSPECTOR::DATA_MODEL::GetColumnCount |
( |
| ) |
const |
|
inlineoverrideprotected |
◆ GetColumnType()
wxString DIALOG_NET_INSPECTOR::DATA_MODEL::GetColumnType |
( |
unsigned int |
| ) |
const |
|
inlineoverrideprotected |
◆ GetParent()
wxDataViewItem DIALOG_NET_INSPECTOR::DATA_MODEL::GetParent |
( |
const wxDataViewItem & |
aItem | ) |
const |
|
inlineoverrideprotected |
◆ GetValue()
void DIALOG_NET_INSPECTOR::DATA_MODEL::GetValue |
( |
wxVariant & |
aOutValue, |
|
|
const wxDataViewItem & |
aItem, |
|
|
unsigned int |
aCol |
|
) |
| const |
|
inlineoverrideprotected |
Definition at line 781 of file dialog_net_inspector.cpp.
References COLUMN_BOARD_LENGTH, COLUMN_CHIP_LENGTH, COLUMN_NAME, COLUMN_NET, COLUMN_NUM_STATIC_COL, COLUMN_PAD_COUNT, COLUMN_TOTAL_LENGTH, COLUMN_VIA_COUNT, COLUMN_VIA_LENGTH, DIALOG_NET_INSPECTOR::formatCount(), DIALOG_NET_INSPECTOR::formatLength(), DIALOG_NET_INSPECTOR::formatNetCode(), DIALOG_NET_INSPECTOR::m_columns, and m_parent.
Referenced by valueAt().
◆ HasContainerColumns()
bool DIALOG_NET_INSPECTOR::DATA_MODEL::HasContainerColumns |
( |
const wxDataViewItem & |
aItem | ) |
const |
|
inlineoverrideprotected |
◆ IsContainer()
bool DIALOG_NET_INSPECTOR::DATA_MODEL::IsContainer |
( |
const wxDataViewItem & |
aItem | ) |
const |
|
inlineoverrideprotected |
◆ itemAt()
const LIST_ITEM & DIALOG_NET_INSPECTOR::DATA_MODEL::itemAt |
( |
unsigned int |
aRow | ) |
const |
|
inline |
◆ itemColumnChanged()
bool DIALOG_NET_INSPECTOR::DATA_MODEL::itemColumnChanged |
( |
const LIST_ITEM * |
aItem, |
|
|
unsigned int |
aCol |
|
) |
| const |
|
inline |
Definition at line 740 of file dialog_net_inspector.cpp.
References DIALOG_NET_INSPECTOR::LIST_ITEM::BoardWireLengthChanged(), DIALOG_NET_INSPECTOR::LIST_ITEM::ChipWireLengthChanged(), COLUMN_BOARD_LENGTH, COLUMN_CHIP_LENGTH, COLUMN_NUM_STATIC_COL, COLUMN_PAD_COUNT, COLUMN_TOTAL_LENGTH, COLUMN_VIA_COUNT, COLUMN_VIA_LENGTH, DIALOG_NET_INSPECTOR::m_columns, m_parent, DIALOG_NET_INSPECTOR::LIST_ITEM::PadCountChanged(), DIALOG_NET_INSPECTOR::LIST_ITEM::TotalLengthChanged(), DIALOG_NET_INSPECTOR::LIST_ITEM::ViaCountChanged(), and DIALOG_NET_INSPECTOR::LIST_ITEM::ViaLengthChanged().
Referenced by resortIfChanged().
◆ itemCount()
unsigned int DIALOG_NET_INSPECTOR::DATA_MODEL::itemCount |
( |
| ) |
const |
|
inline |
◆ resortIfChanged()
void DIALOG_NET_INSPECTOR::DATA_MODEL::resortIfChanged |
( |
LIST_ITEM * |
aItem | ) |
|
|
inline |
◆ SetValue()
bool DIALOG_NET_INSPECTOR::DATA_MODEL::SetValue |
( |
const wxVariant & |
aInValue, |
|
|
const wxDataViewItem & |
aItem, |
|
|
unsigned int |
aCol |
|
) |
| |
|
inlineoverrideprotected |
◆ updateAllItems()
void DIALOG_NET_INSPECTOR::DATA_MODEL::updateAllItems |
( |
| ) |
|
|
inline |
◆ updateItem()
void DIALOG_NET_INSPECTOR::DATA_MODEL::updateItem |
( |
const std::optional< LIST_ITEM_ITER > & |
aRow | ) |
|
|
inline |
◆ valueAt()
wxVariant DIALOG_NET_INSPECTOR::DATA_MODEL::valueAt |
( |
unsigned int |
aCol, |
|
|
unsigned int |
aRow |
|
) |
| const |
|
inline |
◆ m_items
std::vector<std::unique_ptr<LIST_ITEM> > DIALOG_NET_INSPECTOR::DATA_MODEL::m_items |
|
private |
◆ m_parent
The documentation for this class was generated from the following file: