26#include <nlohmann/json.hpp>
39 void SetKeywords(
const wxString& aKeywords ) { m_keywords = aKeywords; }
44 void SetFields( nlohmann::ordered_map<wxString, wxString>& aFields )
46 m_fields = std::move( aFields );
49 const nlohmann::ordered_map<wxString, wxString>&
GetFields()
const {
return m_fields; }
62 nlohmann::ordered_map<wxString, wxString>
m_fields;
void SetLibDescription(const wxString &aDesc)
wxString m_schematicFile
File name and path for schematic symbol.
void SetKeywords(const wxString &aKeywords)
void SetSchematicFile(const wxString &aFile)
DESIGN_BLOCK(DESIGN_BLOCK &&aOther)=delete
This is the only way to get m_fields to compile as a class member.
const wxString & GetKeywords() const
wxString m_keywords
Search keywords to find footprint in library.
const wxString & GetLibDescription() const
wxString m_libDescription
File name and path for documentation file.
void SetLibId(const LIB_ID &aName)
const wxString & GetSchematicFile() const
nlohmann::ordered_map< wxString, wxString > m_fields
void SetFields(nlohmann::ordered_map< wxString, wxString > &aFields)
const LIB_ID & GetLibId() const
const nlohmann::ordered_map< wxString, wxString > & GetFields() const
A logical library item identifier and consists of various portions much like a URI.