KiCad PCB EDA Suite
Loading...
Searching...
No Matches
altium_project_variants.cpp File Reference
#include <io/altium/altium_project_variants.h>
#include <wx/fileconf.h>
#include <wx/log.h>

Go to the source code of this file.

Functions

static ALTIUM_VARIANT_ENTRY ParseVariationString (const wxString &aValue)
 
std::vector< ALTIUM_PROJECT_VARIANTParseAltiumProjectVariants (const wxString &aPrjPcbPath)
 Parse all [ProjectVariantN] sections from an Altium .PrjPcb project file.
 

Function Documentation

◆ ParseAltiumProjectVariants()

std::vector< ALTIUM_PROJECT_VARIANT > ParseAltiumProjectVariants ( const wxString & aPrjPcbPath)

Parse all [ProjectVariantN] sections from an Altium .PrjPcb project file.

Parameters
aPrjPcbPathFull path to the .PrjPcb file.
Returns
Vector of project variants with their per-component entries.

Definition at line 107 of file altium_project_variants.cpp.

References config, ALTIUM_PROJECT_VARIANT::description, ALTIUM_VARIANT_ENTRY::designator, ALTIUM_PROJECT_VARIANT::name, ParseVariationString(), and ALTIUM_PROJECT_VARIANT::variations.

Referenced by PCB_IO_ALTIUM_CIRCUIT_MAKER::LoadBoard(), PCB_IO_ALTIUM_CIRCUIT_STUDIO::LoadBoard(), PCB_IO_ALTIUM_DESIGNER::LoadBoard(), PCB_IO_SOLIDWORKS::LoadBoard(), and SCH_IO_ALTIUM::LoadSchematicFile().

◆ ParseVariationString()