KiCad PCB EDA Suite
wildcards_and_files_ext.cpp File Reference

Definition of file extensions used in Kicad. More...

#include <regex>
#include <wildcards_and_files_ext.h>
#include <wx/regex.h>

Go to the source code of this file.

Functions

bool compareFileExtensions (const std::string &aExtension, const std::vector< std::string > &aReference, bool aCaseSensitive)
 Compare the given extension against the reference extensions to see if it matches any of the reference extensions. More...
 
wxString formatWildcardExt (const wxString &aWildcard)
 Format wildcard extension to support case sensitive file dialogs. More...
 
wxString AddFileExtListToFilter (const std::vector< std::string > &aExts)
 Build the wildcard extension file dialog wildcard filter to add to the base message dialog. More...
 
const std::string KiCadSymbolLibFileExtension ("kicad_sym")
 
const std::string SchematicSymbolFileExtension ("sym")
 
const std::string LegacySymbolLibFileExtension ("lib")
 
const std::string VrmlFileExtension ("wrl")
 
const std::string ProjectFileExtension ("kicad_pro")
 
const std::string LegacyProjectFileExtension ("pro")
 
const std::string ProjectLocalSettingsFileExtension ("kicad_prl")
 
const std::string LegacySchematicFileExtension ("sch")
 
const std::string KiCadSchematicFileExtension ("kicad_sch")
 
const std::string NetlistFileExtension ("net")
 
const std::string ComponentFileExtension ("cmp")
 
const std::string GerberFileExtension ("gbr")
 
const std::string GerberJobFileExtension ("gbrjob")
 
const std::string HtmlFileExtension ("html")
 
const std::string EquFileExtension ("equ")
 
const std::string LegacyPcbFileExtension ("brd")
 
const std::string KiCadPcbFileExtension ("kicad_pcb")
 
const std::string PageLayoutDescrFileExtension ("kicad_wks")
 
const std::string PdfFileExtension ("pdf")
 
const std::string MacrosFileExtension ("mcr")
 
const std::string DrillFileExtension ("drl")
 
const std::string SVGFileExtension ("svg")
 
const std::string ReportFileExtension ("rpt")
 
const std::string FootprintPlaceFileExtension ("pos")
 
const std::string KiCadFootprintLibPathExtension ("pretty")
 
const std::string LegacyFootprintLibPathExtension ("mod")
 
const std::string EagleFootprintLibPathExtension ("lbr")
 
const std::string GedaPcbFootprintLibFileExtension ("fp")
 
const std::string KiCadFootprintFileExtension ("kicad_mod")
 
const std::string SpecctraDsnFileExtension ("dsn")
 
const std::string IpcD356FileExtension ("d356")
 
const std::string PngFileExtension ("png")
 
const std::string JpegFileExtension ("jpg")
 
bool IsProtelExtension (const wxString &ext)
 
wxString AllFilesWildcard ()
 
wxString SchematicSymbolFileWildcard ()
 
wxString KiCadSymbolLibFileWildcard ()
 
wxString LegacySymbolLibFileWildcard ()
 
wxString ProjectFileWildcard ()
 
wxString LegacyProjectFileWildcard ()
 
wxString AllProjectFilesWildcard ()
 
wxString LegacySchematicFileWildcard ()
 
wxString KiCadSchematicFileWildcard ()
 
wxString EagleSchematicFileWildcard ()
 
wxString EagleFilesWildcard ()
 
wxString NetlistFileWildcard ()
 
wxString GerberFileWildcard ()
 
wxString LegacyPcbFileWildcard ()
 
wxString EaglePcbFileWildcard ()
 
wxString PCadPcbFileWildcard ()
 
wxString AltiumDesignerPcbFileWildcard ()
 
wxString AltiumCircuitStudioPcbFileWildcard ()
 
wxString AltiumCircuitMakerPcbFileWildcard ()
 
wxString PcbFileWildcard ()
 
wxString KiCadFootprintLibFileWildcard ()
 
wxString KiCadFootprintLibPathWildcard ()
 
wxString LegacyFootprintLibPathWildcard ()
 
wxString EagleFootprintLibPathWildcard ()
 
wxString GedaPcbFootprintLibFileWildcard ()
 
wxString PageLayoutDescrFileWildcard ()
 
wxString ComponentFileWildcard ()
 
wxString DrillFileWildcard ()
 
wxString SVGFileWildcard ()
 
wxString HtmlFileWildcard ()
 
wxString CsvFileWildcard ()
 
wxString PdfFileWildcard ()
 
wxString PSFileWildcard ()
 
wxString ReportFileWildcard ()
 
wxString FootprintPlaceFileWildcard ()
 
wxString Shapes3DFileWildcard ()
 
wxString IDF3DFileWildcard ()
 
wxString TextFileWildcard ()
 
wxString ModLegacyExportFileWildcard ()
 
wxString ErcFileWildcard ()
 
wxString SpiceLibraryFileWildcard ()
 
wxString SpiceNetlistFileWildcard ()
 
wxString CadstarNetlistFileWildcard ()
 
wxString EquFileWildcard ()
 
wxString ZipFileWildcard ()
 
wxString GencadFileWildcard ()
 
wxString DxfFileWildcard ()
 
wxString GerberJobFileWildcard ()
 
wxString SpecctraDsnFileWildcard ()
 
wxString IpcD356FileWildcard ()
 
wxString WorkbookFileWildcard ()
 
wxString PngFileWildcard ()
 
wxString JpegFileWildcard ()
 

Detailed Description

Definition of file extensions used in Kicad.

Definition in file wildcards_and_files_ext.cpp.

Function Documentation

◆ ComponentFileExtension()

const std::string ComponentFileExtension ( "cmp"  )

◆ DrillFileExtension()

const std::string DrillFileExtension ( "drl"  )

◆ EagleFootprintLibPathExtension()

const std::string EagleFootprintLibPathExtension ( "lbr"  )

◆ EquFileExtension()

const std::string EquFileExtension ( "equ"  )

◆ FootprintPlaceFileExtension()

const std::string FootprintPlaceFileExtension ( "pos"  )

◆ GedaPcbFootprintLibFileExtension()

const std::string GedaPcbFootprintLibFileExtension ( "fp"  )

◆ GerberFileExtension()

const std::string GerberFileExtension ( "gbr"  )

◆ GerberJobFileExtension()

const std::string GerberJobFileExtension ( "gbrjob"  )

◆ HtmlFileExtension()

const std::string HtmlFileExtension ( "html"  )

◆ IpcD356FileExtension()

const std::string IpcD356FileExtension ( "d356"  )

◆ JpegFileExtension()

const std::string JpegFileExtension ( "jpg"  )

◆ KiCadFootprintFileExtension()

const std::string KiCadFootprintFileExtension ( "kicad_mod"  )

◆ KiCadFootprintLibPathExtension()

const std::string KiCadFootprintLibPathExtension ( "pretty"  )

◆ KiCadPcbFileExtension()

const std::string KiCadPcbFileExtension ( "kicad_pcb"  )

◆ KiCadSchematicFileExtension()

const std::string KiCadSchematicFileExtension ( "kicad_sch"  )

◆ KiCadSymbolLibFileExtension()

const std::string KiCadSymbolLibFileExtension ( "kicad_sym"  )

◆ LegacyFootprintLibPathExtension()

const std::string LegacyFootprintLibPathExtension ( "mod"  )

◆ LegacyPcbFileExtension()

const std::string LegacyPcbFileExtension ( "brd"  )

◆ LegacyProjectFileExtension()

const std::string LegacyProjectFileExtension ( "pro"  )

◆ LegacySchematicFileExtension()

const std::string LegacySchematicFileExtension ( "sch"  )

◆ LegacySymbolLibFileExtension()

const std::string LegacySymbolLibFileExtension ( "lib"  )

◆ MacrosFileExtension()

const std::string MacrosFileExtension ( "mcr"  )

◆ NetlistFileExtension()

const std::string NetlistFileExtension ( "net"  )

◆ PageLayoutDescrFileExtension()

const std::string PageLayoutDescrFileExtension ( "kicad_wks"  )

◆ PdfFileExtension()

const std::string PdfFileExtension ( "pdf"  )

◆ PngFileExtension()

const std::string PngFileExtension ( "png"  )

◆ ProjectFileExtension()

const std::string ProjectFileExtension ( "kicad_pro"  )

◆ ProjectLocalSettingsFileExtension()

const std::string ProjectLocalSettingsFileExtension ( "kicad_prl"  )

◆ ReportFileExtension()

const std::string ReportFileExtension ( "rpt"  )

◆ SchematicSymbolFileExtension()

const std::string SchematicSymbolFileExtension ( "sym"  )

◆ SpecctraDsnFileExtension()

const std::string SpecctraDsnFileExtension ( "dsn"  )

◆ SVGFileExtension()

const std::string SVGFileExtension ( "svg"  )

◆ VrmlFileExtension()

const std::string VrmlFileExtension ( "wrl"  )