KiCad PCB EDA Suite
Loading...
Searching...
No Matches
altium_project_variants.h File Reference
#include <map>
#include <vector>
#include <wx/string.h>

Go to the source code of this file.

Classes

struct  ALTIUM_VARIANT_ENTRY
 A single component variation within an Altium project variant. More...
 
struct  ALTIUM_PROJECT_VARIANT
 A project-level assembly variant parsed from an Altium .PrjPcb file. More...
 

Functions

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().