KiCad PCB EDA Suite
Loading...
Searching...
No Matches
import_proj_properties.h File Reference
#include <map>
#include <string>
#include <vector>
#include <core/utf8.h>
#include <lib_id.h>
#include <wx/arrstr.h>
#include <wx/string.h>

Go to the source code of this file.

Namespaces

namespace  IMPORT_PROJ_PROPS
 Property keys and codec threaded through IMPORT_PROJ_HELPER::m_properties to coordinate a non-KiCad project import across the schematic and PCB editors.
 

Functions

wxString IMPORT_PROJ_PROPS::ManagedCacheOption ()
 Options string identifying a library-table row as a generated import cache.
 
wxString IMPORT_PROJ_PROPS::JoinList (const wxArrayString &aItems)
 Encode library nicknames into a single list-property value.
 
std::vector< wxString > IMPORT_PROJ_PROPS::SplitList (const wxString &aValue)
 Decode a list-property value back into nicknames, dropping empties.
 
void IMPORT_PROJ_PROPS::ReadFootprintProps (const std::map< std::string, UTF8 > *aProps, wxString &aCacheNickname, std::vector< wxString > &aSourceFpLibs)
 Read the footprint-import coordination properties out of a properties map.
 
void IMPORT_PROJ_PROPS::ReadSymbolProps (const std::map< std::string, UTF8 > *aProps, wxString &aCacheNickname, std::vector< wxString > &aSourceSymLibs)
 Read the symbol-import coordination properties out of a properties map.
 
wxString IMPORT_PROJ_PROPS::MakeCacheNickname (const wxString &aStem)
 Derive the generated footprint-cache nickname from a project or file stem.
 
wxString IMPORT_PROJ_PROPS::MakeSymbolCacheNickname (const wxString &aStem)
 Derive the generated symbol-cache nickname from a project or file stem.
 

Variables

constexpr char IMPORT_PROJ_PROPS::FP_CACHE_NICKNAME [] = "import_fp_cache_nickname"
 
constexpr char IMPORT_PROJ_PROPS::SOURCE_FP_LIBS [] = "import_source_fp_libs"
 
constexpr char IMPORT_PROJ_PROPS::SYM_CACHE_NICKNAME [] = "import_sym_cache_nickname"
 
constexpr char IMPORT_PROJ_PROPS::SOURCE_SYM_LIBS [] = "import_source_sym_libs"
 
constexpr char IMPORT_PROJ_PROPS::LIST_SEPARATOR = '\x1f'
 Separator joining a list value within a single property.
 
constexpr char IMPORT_PROJ_PROPS::MANAGED_CACHE_KEY [] = "kicad_import_cache"
 Library-table row option key marking a row as a generated import cache.