|
KiCad PCB EDA Suite
|
#include <remote_provider_models.h>
Static Public Member Functions | |
| static wxFileName | DefaultSchemaPath () |
| static std::optional< REMOTE_PROVIDER_PART_MANIFEST > | FromJson (const nlohmann::json &aJson, bool aAllowInsecureLocalhost, wxString &aError) |
| static std::optional< REMOTE_PROVIDER_PART_MANIFEST > | FromJson (const nlohmann::json &aJson, const wxFileName &aSchemaFile, bool aAllowInsecureLocalhost, wxString &aError) |
Public Attributes | |
| wxString | part_id |
| wxString | display_name |
| wxString | summary |
| wxString | license |
| std::vector< REMOTE_PROVIDER_PART_ASSET > | assets |
Definition at line 92 of file remote_provider_models.h.
|
static |
Definition at line 75 of file remote_provider_models.cpp.
References FN_NORMALIZE_FLAGS, and PATHS::GetStockDataPath().
Referenced by FromJson().
|
static |
Definition at line 85 of file remote_provider_models.cpp.
References DefaultSchemaPath(), and FromJson().
Referenced by REMOTE_PROVIDER_CLIENT::FetchManifest(), and FromJson().
|
static |
Definition at line 91 of file remote_provider_models.cpp.
References _, REMOTE_PROVIDER_PART_ASSET::asset_type, assets, REMOTE_PROVIDER_PART_ASSET::content_type, display_name, REMOTE_PROVIDER_PART_ASSET::download_url, COLLECTING_JSON_ERROR_HANDLER::FirstError(), COLLECTING_JSON_ERROR_HANDLER::HasErrors(), license, REMOTE_PROVIDER_PART_ASSET::name, part_id, RemoteProviderJsonString(), REMOTE_PROVIDER_PART_ASSET::required, REMOTE_PROVIDER_PART_ASSET::sha256, REMOTE_PROVIDER_PART_ASSET::size_bytes, summary, REMOTE_PROVIDER_PART_ASSET::target_library, REMOTE_PROVIDER_PART_ASSET::target_name, JSON_SCHEMA_VALIDATOR::Validate(), and ValidateRemoteUrlSecurity().
| std::vector<REMOTE_PROVIDER_PART_ASSET> REMOTE_PROVIDER_PART_MANIFEST::assets |
Definition at line 98 of file remote_provider_models.h.
Referenced by FromJson(), REMOTE_SYMBOL_IMPORT_JOB::Import(), and PANEL_REMOTE_SYMBOL::receiveComponentManifest().
| wxString REMOTE_PROVIDER_PART_MANIFEST::display_name |
Definition at line 95 of file remote_provider_models.h.
Referenced by FromJson(), and PANEL_REMOTE_SYMBOL::receiveComponentManifest().
| wxString REMOTE_PROVIDER_PART_MANIFEST::license |
Definition at line 97 of file remote_provider_models.h.
Referenced by FromJson(), and PANEL_REMOTE_SYMBOL::receiveComponentManifest().
| wxString REMOTE_PROVIDER_PART_MANIFEST::part_id |
Definition at line 94 of file remote_provider_models.h.
Referenced by FromJson(), and PANEL_REMOTE_SYMBOL::receiveComponentManifest().
| wxString REMOTE_PROVIDER_PART_MANIFEST::summary |
Definition at line 96 of file remote_provider_models.h.
Referenced by FromJson(), and PANEL_REMOTE_SYMBOL::receiveComponentManifest().