| 
    KiCad PCB EDA Suite
    
   | 
 
A database library table will be mapped to a sub-library provided by the database library entry in the KiCad symbol/footprint library table. More...
#include <database_lib_settings.h>
Public Attributes | |
| std::string | name | 
| KiCad library nickname (will form part of the LIB_ID)   | |
| std::string | table | 
| Database table to pull content from.   | |
| std::string | key_col | 
| Unique key column name (will form part of the LIB_ID)   | |
| std::string | symbols_col | 
| Column name containing KiCad symbol refs.   | |
| std::string | footprints_col | 
| Column name containing KiCad footprint refs.   | |
| MAPPABLE_SYMBOL_PROPERTIES | properties | 
| std::vector< DATABASE_FIELD_MAPPING > | fields | 
A database library table will be mapped to a sub-library provided by the database library entry in the KiCad symbol/footprint library table.
A single database library config file (managed by this class) may contain more than one table mapping, and each will have its own nickname.
The LIB_ID for parts placed from this library will be constructed from the nickname of the database library itself, plus the nickname of the particular sub-library and the value of the key column for the placed part.
For example, if a database library is configured with the nickname "PartsDB" and it provides a table called "Capacitors", with key_col set to "Part Number", the LIB_ID for a capacitor placed from this table will look something like PartsDB-Capacitors:CAP-001 
Definition at line 86 of file database_lib_settings.h.
| std::vector<DATABASE_FIELD_MAPPING> DATABASE_LIB_TABLE::fields | 
Definition at line 95 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::connect(), and SCH_IO_DATABASE::loadSymbolFromRow().
| std::string DATABASE_LIB_TABLE::footprints_col | 
Column name containing KiCad footprint refs.
Definition at line 92 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::connect(), and SCH_IO_DATABASE::loadSymbolFromRow().
| std::string DATABASE_LIB_TABLE::key_col | 
Unique key column name (will form part of the LIB_ID)
Definition at line 90 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::connect().
| std::string DATABASE_LIB_TABLE::name | 
KiCad library nickname (will form part of the LIB_ID)
Definition at line 88 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::GetSubLibraryNames(), SCH_IO_DATABASE::LoadSymbol(), and SCH_IO_DATABASE::loadSymbolFromRow().
| MAPPABLE_SYMBOL_PROPERTIES DATABASE_LIB_TABLE::properties | 
Definition at line 94 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::connect(), and SCH_IO_DATABASE::loadSymbolFromRow().
| std::string DATABASE_LIB_TABLE::symbols_col | 
Column name containing KiCad symbol refs.
Definition at line 91 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::connect(), and SCH_IO_DATABASE::loadSymbolFromRow().
| std::string DATABASE_LIB_TABLE::table | 
Database table to pull content from.
Definition at line 89 of file database_lib_settings.h.
Referenced by SCH_IO_DATABASE::connect().