KiCad PCB EDA Suite
Loading...
Searching...
No Matches
easyedapro_import_utils.h File Reference
#include <set>
#include <wx/stream.h>
#include <wx/string.h>
#include <lib_id.h>
#include <nlohmann/json_fwd.hpp>

Go to the source code of this file.

Namespaces

namespace  EASYEDAPRO
 

Macros

#define EASY_IT_CONTINUE   return false
 
#define EASY_IT_BREAK   return true
 

Functions

wxString EASYEDAPRO::ShortenLibName (wxString aProjectName)
 
LIB_ID EASYEDAPRO::ToKiCadLibID (const wxString &aLibName, const wxString &aLibReference)
 
std::vector< IMPORT_PROJECT_DESCEASYEDAPRO::ProjectToSelectorDialog (const nlohmann::json &aProject, bool aPcbOnly=false, bool aSchOnly=false)
 
nlohmann::json EASYEDAPRO::FindJsonFile (const wxString &aZipFileName, const std::set< wxString > &aFileNames)
 
nlohmann::json EASYEDAPRO::ReadProjectOrDeviceFile (const wxString &aZipFileName)
 
void EASYEDAPRO::IterateZipFiles (const wxString &aFileName, std::function< bool(const wxString &, const wxString &, wxInputStream &)> aCallback)
 
std::vector< nlohmann::json > EASYEDAPRO::ParseJsonLines (wxInputStream &aInput, const wxString &aSource)
 
std::vector< std::vector< nlohmann::json > > EASYEDAPRO::ParseJsonLinesWithSeparation (wxInputStream &aInput, const wxString &aSource)
 Multiple document types (e.g.
 
std::map< wxString, wxString > EASYEDAPRO::AnyMapToStringMap (const std::map< wxString, nlohmann::json > &aInput)
 

Macro Definition Documentation

◆ EASY_IT_BREAK

#define EASY_IT_BREAK   return true

Definition at line 37 of file easyedapro_import_utils.h.

◆ EASY_IT_CONTINUE

#define EASY_IT_CONTINUE   return false

Definition at line 36 of file easyedapro_import_utils.h.