KiCad PCB EDA Suite
|
#include <property.h>
Public Member Functions | |
ENUM_MAP & | Map (T aValue, const wxString &aName) |
ENUM_MAP & | Undefined (T aValue) |
const wxString & | ToString (T value) const |
bool | IsValueDefined (T value) const |
T | ToEnum (const wxString value) |
wxPGChoices & | Choices () |
Static Public Member Functions | |
static ENUM_MAP< T > & | Instance () |
Private Member Functions | |
ENUM_MAP () | |
Private Attributes | |
wxPGChoices | m_choices |
std::unordered_map< wxString, T > | m_reverseMap |
T | m_undefined |
Definition at line 660 of file property.h.
|
inlineprivate |
Definition at line 722 of file property.h.
|
inline |
Definition at line 712 of file property.h.
References ENUM_MAP< T >::m_choices.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), BOARD_ITEM_DESC::BOARD_ITEM_DESC(), FOOTPRINT_DESC::FOOTPRINT_DESC(), LoadBoard(), PCB_EDIT_FRAME::onBoardLoaded(), PAD_DESC::PAD_DESC(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), PCB_TABLE_DESC::PCB_TABLE_DESC(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), SCH_BUS_ENTRY_DESC::SCH_BUS_ENTRY_DESC(), SCH_LINE_DESC::SCH_LINE_DESC(), SCH_SHAPE_DESC::SCH_SHAPE_DESC(), TRACK_VIA_DESC::TRACK_VIA_DESC(), PCB_EDIT_FRAME::UpdateUserInterface(), WriteDRCReport(), and ZONE_DESC::ZONE_DESC().
Definition at line 663 of file property.h.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), BOARD_ITEM_DESC::BOARD_ITEM_DESC(), PROPERTY_ENUM< Owner, T, Base >::Choices(), CLASS_D_DESC::CLASS_D_DESC(), DIMENSION_DESC::DIMENSION_DESC(), EDA_ITEM_DESC::EDA_ITEM_DESC(), EDA_SHAPE_DESC::EDA_SHAPE_DESC(), EDA_TEXT_DESC::EDA_TEXT_DESC(), ENUM_GLOB_DESC::ENUM_GLOB_DESC(), PCBEXPR_LAYER_VALUE::EqualTo(), existsOnLayerFunc(), FOOTPRINT_DESC::FOOTPRINT_DESC(), EDA_ITEM::GetTypeDesc(), LEADER_DIMENSION_DESC::LEADER_DIMENSION_DESC(), LoadBoard(), PCB_EDIT_FRAME::onBoardLoaded(), PAD_DESC::PAD_DESC(), DRC_RULES_PARSER::parseLayer(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), PCB_TABLE_DESC::PCB_TABLE_DESC(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), PCB_TUNING_PATTERN_DESC::PCB_TUNING_PATTERN_DESC(), PROPERTY_ENUM< Owner, T, Base >::PROPERTY_ENUM(), SCH_BUS_ENTRY_DESC::SCH_BUS_ENTRY_DESC(), SCH_DIRECTIVE_LABEL_DESC::SCH_DIRECTIVE_LABEL_DESC(), SCH_FIELD_DESC::SCH_FIELD_DESC(), SCH_LABEL_DESC::SCH_LABEL_DESC(), SCH_LINE_DESC::SCH_LINE_DESC(), SCH_PIN_DESC::SCH_PIN_DESC(), SCH_SHAPE_DESC::SCH_SHAPE_DESC(), SCH_SYMBOL_DESC::SCH_SYMBOL_DESC(), TRACK_VIA_DESC::TRACK_VIA_DESC(), PCB_EDIT_FRAME::UpdateUserInterface(), WriteDRCReport(), and ZONE_DESC::ZONE_DESC().
|
inline |
Definition at line 694 of file property.h.
References ENUM_MAP< T >::m_choices.
Definition at line 669 of file property.h.
References ENUM_MAP< T >::m_choices, and ENUM_MAP< T >::m_reverseMap.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), BOARD_ITEM_DESC::BOARD_ITEM_DESC(), FOOTPRINT_DESC::FOOTPRINT_DESC(), LoadBoard(), PCB_EDIT_FRAME::onBoardLoaded(), PAD_DESC::PAD_DESC(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), PCB_TABLE_DESC::PCB_TABLE_DESC(), PCB_TEXTBOX_DESC::PCB_TEXTBOX_DESC(), SCH_BUS_ENTRY_DESC::SCH_BUS_ENTRY_DESC(), SCH_LINE_DESC::SCH_LINE_DESC(), SCH_SHAPE_DESC::SCH_SHAPE_DESC(), TRACK_VIA_DESC::TRACK_VIA_DESC(), PCB_EDIT_FRAME::UpdateUserInterface(), WriteDRCReport(), and ZONE_DESC::ZONE_DESC().
|
inline |
Definition at line 704 of file property.h.
References ENUM_MAP< T >::m_reverseMap, and ENUM_MAP< T >::m_undefined.
|
inline |
Definition at line 682 of file property.h.
References ENUM_MAP< T >::m_choices.
Definition at line 676 of file property.h.
References ENUM_MAP< T >::m_undefined.
Referenced by BOARD_CONNECTED_ITEM_DESC::BOARD_CONNECTED_ITEM_DESC(), BOARD_ITEM_DESC::BOARD_ITEM_DESC(), FOOTPRINT_DESC::FOOTPRINT_DESC(), LoadBoard(), PCB_EDIT_FRAME::onBoardLoaded(), PAD_DESC::PAD_DESC(), PCB_SHAPE_DESC::PCB_SHAPE_DESC(), TRACK_VIA_DESC::TRACK_VIA_DESC(), PCB_EDIT_FRAME::UpdateUserInterface(), WriteDRCReport(), and ZONE_DESC::ZONE_DESC().
|
private |
Definition at line 718 of file property.h.
Referenced by ENUM_MAP< T >::Choices(), ENUM_MAP< T >::IsValueDefined(), ENUM_MAP< T >::Map(), and ENUM_MAP< T >::ToString().
|
private |
Definition at line 719 of file property.h.
Referenced by ENUM_MAP< T >::Map(), and ENUM_MAP< T >::ToEnum().
|
private |
Definition at line 720 of file property.h.
Referenced by ENUM_MAP< T >::ToEnum(), and ENUM_MAP< T >::Undefined().