KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SCH_SHEET_VARIANT Class Reference

Variant information for a schematic sheet. More...

#include <sch_sheet_path.h>

Inheritance diagram for SCH_SHEET_VARIANT:
VARIANT

Public Member Functions

 SCH_SHEET_VARIANT (const wxString &aName=wxEmptyString)
 
virtual ~SCH_SHEET_VARIANT ()=default
 
void InitializeAttributes (const SCH_SHEET &aSheet)
 

Public Attributes

wxString m_Name
 
wxString m_Description
 
bool m_ExcludedFromSim
 
bool m_ExcludedFromBOM
 
bool m_ExcludedFromBoard
 
bool m_ExcludedFromPosFiles
 
bool m_DNP
 
std::map< wxString, wxString > m_Fields
 

Detailed Description

Variant information for a schematic sheet.

Schematic sheet variants are a set of field and/or properties differentials against the default sheet values. Each sheet instance may contain 0 or more variants.

Note
The exceptions to this are the SHEET_NAME and SHEET_FILENAME fields and the #SCH_SHEET::m_excludeFromBoard property. Changing any of these would effectively be a new board. They are immutable and will always be the sheet default value.

Definition at line 134 of file sch_sheet_path.h.

Constructor & Destructor Documentation

◆ SCH_SHEET_VARIANT()

SCH_SHEET_VARIANT::SCH_SHEET_VARIANT ( const wxString & aName = wxEmptyString)
inline

Definition at line 137 of file sch_sheet_path.h.

References VARIANT::VARIANT().

◆ ~SCH_SHEET_VARIANT()

virtual SCH_SHEET_VARIANT::~SCH_SHEET_VARIANT ( )
virtualdefault

Member Function Documentation

◆ InitializeAttributes()

Member Data Documentation

◆ m_Description

wxString VARIANT::m_Description
inherited

Definition at line 63 of file sch_sheet_path.h.

◆ m_DNP

◆ m_ExcludedFromBoard

◆ m_ExcludedFromBOM

◆ m_ExcludedFromPosFiles

◆ m_ExcludedFromSim

◆ m_Fields

◆ m_Name


The documentation for this class was generated from the following files: