KiCad PCB EDA Suite
|
#include <database_lib_settings.h>
Public Member Functions | |
DATABASE_FIELD_MAPPING (std::string aColumn, std::string aName, bool aVisibleOnAdd, bool aVisibleInChooser, bool aShowName, bool aInheritProperties) | |
Public Attributes | |
std::string | column |
Database column name. | |
std::string | name |
KiCad field name. | |
wxString | name_wx |
KiCad field name (converted) | |
bool | visible_on_add |
Whether to show the field when placing the symbol. | |
bool | visible_in_chooser |
Whether the column is shown by default in the chooser. | |
bool | show_name |
Whether or not to show the field name as well as its value. | |
bool | inherit_properties |
Whether or not to inherit properties from symbol field. | |
Definition at line 46 of file database_lib_settings.h.
|
explicit |
Definition at line 35 of file database_lib_settings.cpp.
std::string DATABASE_FIELD_MAPPING::column |
Database column name.
Definition at line 48 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::connect(), and SCH_IO_DATABASE::loadSymbolFromRow().
bool DATABASE_FIELD_MAPPING::inherit_properties |
Whether or not to inherit properties from symbol field.
Definition at line 54 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::loadSymbolFromRow().
std::string DATABASE_FIELD_MAPPING::name |
KiCad field name.
Definition at line 49 of file database_lib_settings.h.
wxString DATABASE_FIELD_MAPPING::name_wx |
KiCad field name (converted)
Definition at line 50 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::loadSymbolFromRow().
bool DATABASE_FIELD_MAPPING::show_name |
Whether or not to show the field name as well as its value.
Definition at line 53 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::loadSymbolFromRow().
bool DATABASE_FIELD_MAPPING::visible_in_chooser |
Whether the column is shown by default in the chooser.
Definition at line 52 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::loadSymbolFromRow().
bool DATABASE_FIELD_MAPPING::visible_on_add |
Whether to show the field when placing the symbol.
Definition at line 51 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::loadSymbolFromRow().