|
KiCad PCB EDA Suite
|
#include <database_lib_settings.h>
Public Member Functions | |
| DATABASE_FIELD_MAPPING (const std::string &aColumn, const 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 37 of file database_lib_settings.cpp.
References column, inherit_properties, name, name_wx, show_name, visible_in_chooser, and visible_on_add.
| 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(), DATABASE_FIELD_MAPPING(), 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 DATABASE_FIELD_MAPPING(), and SCH_IO_DATABASE::loadSymbolFromRow().
| std::string DATABASE_FIELD_MAPPING::name |
KiCad field name.
Definition at line 49 of file database_lib_settings.h.
Referenced by DATABASE_FIELD_MAPPING().
| wxString DATABASE_FIELD_MAPPING::name_wx |
KiCad field name (converted)
Definition at line 50 of file database_lib_settings.h.
Referenced by DATABASE_FIELD_MAPPING(), and 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 DATABASE_FIELD_MAPPING(), and 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 DATABASE_FIELD_MAPPING(), and 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 DATABASE_FIELD_MAPPING(), and SCH_IO_DATABASE::loadSymbolFromRow().