21#ifndef KICAD_DATABASE_LIB_SETTINGS_H 
   22#define KICAD_DATABASE_LIB_SETTINGS_H 
   57                                     bool aVisibleOnAdd, 
bool aVisibleInChooser, 
bool aShowName,
 
   58                                     bool aInheritProperties );
 
 
   95    std::vector<DATABASE_FIELD_MAPPING> 
fields;
 
 
virtual ~DATABASE_LIB_SETTINGS()
 
DATABASE_LIB_SETTINGS(const std::string &aFilename)
 
wxString getFileExt() const override
 
std::vector< DATABASE_LIB_TABLE > m_Tables
 
DATABASE_CACHE_SETTINGS m_Cache
 
JSON_SETTINGS(const wxString &aFilename, SETTINGS_LOC aLocation, int aSchemaVersion)
 
int max_age
Max age of cached rows before they expire, in seconds.
 
int max_size
Maximum number of single-row results to cache.
 
bool visible_in_chooser
Whether the column is shown by default in the chooser.
 
std::string column
Database column name.
 
std::string name
KiCad field name.
 
bool inherit_properties
Whether or not to inherit properties from symbol field.
 
DATABASE_FIELD_MAPPING(const std::string &aColumn, const std::string &aName, bool aVisibleOnAdd, bool aVisibleInChooser, bool aShowName, bool aInheritProperties)
 
bool visible_on_add
Whether to show the field when placing the symbol.
 
bool show_name
Whether or not to show the field name as well as its value.
 
wxString name_wx
KiCad field name (converted)
 
A database library table will be mapped to a sub-library provided by the database library entry in th...
 
std::string key_col
Unique key column name (will form part of the LIB_ID)
 
std::string name
KiCad library nickname (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.
 
std::vector< DATABASE_FIELD_MAPPING > fields
 
std::string table
Database table to pull content from.
 
MAPPABLE_SYMBOL_PROPERTIES properties
 
std::string connection_string
 
DATABASE_SOURCE_TYPE type
 
std::string footprint_filters
 
std::string exclude_from_sim
 
std::string exclude_from_board
 
std::string exclude_from_bom