KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DESIGN_BLOCK Class Reference

#include <design_block.h>

Public Member Functions

void SetLibId (const LIB_ID &aName)
 
const LIB_IDGetLibId () const
 
const wxString & GetLibDescription () const
 
void SetLibDescription (const wxString &aDesc)
 
const wxString & GetKeywords () const
 
void SetKeywords (const wxString &aKeywords)
 
const wxString & GetSchematicFile () const
 
void SetSchematicFile (const wxString &aFile)
 
void SetFields (nlohmann::ordered_map< wxString, wxString > &aFields)
 
const nlohmann::ordered_map< wxString, wxString > & GetFields () const
 
 DESIGN_BLOCK ()=default
 
 DESIGN_BLOCK (DESIGN_BLOCK &&aOther)=delete
 This is the only way to get m_fields to compile as a class member.
 

Private Attributes

LIB_ID m_lib_id
 
wxString m_schematicFile
 File name and path for schematic symbol.
 
wxString m_libDescription
 File name and path for documentation file.
 
wxString m_keywords
 Search keywords to find footprint in library.
 
nlohmann::ordered_map< wxString, wxString > m_fields
 

Detailed Description

Definition at line 29 of file design_block.h.

Constructor & Destructor Documentation

◆ DESIGN_BLOCK() [1/2]

DESIGN_BLOCK::DESIGN_BLOCK ( )
default

◆ DESIGN_BLOCK() [2/2]

DESIGN_BLOCK::DESIGN_BLOCK ( DESIGN_BLOCK &&  aOther)
delete

This is the only way to get m_fields to compile as a class member.

Member Function Documentation

◆ GetFields()

const nlohmann::ordered_map< wxString, wxString > & DESIGN_BLOCK::GetFields ( ) const
inline

◆ GetKeywords()

◆ GetLibDescription()

const wxString & DESIGN_BLOCK::GetLibDescription ( ) const
inline

◆ GetLibId()

◆ GetSchematicFile()

const wxString & DESIGN_BLOCK::GetSchematicFile ( ) const
inline

◆ SetFields()

void DESIGN_BLOCK::SetFields ( nlohmann::ordered_map< wxString, wxString > &  aFields)
inline

◆ SetKeywords()

void DESIGN_BLOCK::SetKeywords ( const wxString &  aKeywords)
inline

◆ SetLibDescription()

void DESIGN_BLOCK::SetLibDescription ( const wxString &  aDesc)
inline

◆ SetLibId()

◆ SetSchematicFile()

void DESIGN_BLOCK::SetSchematicFile ( const wxString &  aFile)
inline

Member Data Documentation

◆ m_fields

nlohmann::ordered_map<wxString, wxString> DESIGN_BLOCK::m_fields
private

Definition at line 62 of file design_block.h.

◆ m_keywords

wxString DESIGN_BLOCK::m_keywords
private

Search keywords to find footprint in library.

Definition at line 60 of file design_block.h.

◆ m_lib_id

LIB_ID DESIGN_BLOCK::m_lib_id
private

Definition at line 57 of file design_block.h.

◆ m_libDescription

wxString DESIGN_BLOCK::m_libDescription
private

File name and path for documentation file.

Definition at line 59 of file design_block.h.

◆ m_schematicFile

wxString DESIGN_BLOCK::m_schematicFile
private

File name and path for schematic symbol.

Definition at line 58 of file design_block.h.


The documentation for this class was generated from the following file: