KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DATABASE_FIELD_MAPPING Struct Reference

#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

const std::string column
 Database column name. More...
 
const std::string name
 KiCad field name. More...
 
const wxString name_wx
 KiCad field name (converted) More...
 
const bool visible_on_add
 Whether to show the field when placing the symbol. More...
 
const bool visible_in_chooser
 Whether the column is shown by default in the chooser. More...
 
const bool show_name
 Whether or not to show the field name as well as its value. More...
 
const bool inherit_properties
 Whether or not to inherit properties from symbol field. More...
 

Detailed Description

Definition at line 46 of file database_lib_settings.h.

Constructor & Destructor Documentation

◆ DATABASE_FIELD_MAPPING()

DATABASE_FIELD_MAPPING::DATABASE_FIELD_MAPPING ( std::string  aColumn,
std::string  aName,
bool  aVisibleOnAdd,
bool  aVisibleInChooser,
bool  aShowName,
bool  aInheritProperties 
)
explicit

Definition at line 35 of file database_lib_settings.cpp.

Member Data Documentation

◆ column

const 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().

◆ inherit_properties

const 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().

◆ name

const std::string DATABASE_FIELD_MAPPING::name

KiCad field name.

Definition at line 49 of file database_lib_settings.h.

◆ name_wx

const 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().

◆ show_name

const 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().

◆ visible_in_chooser

const 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().

◆ visible_on_add

const 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().


The documentation for this struct was generated from the following files: