|
KiCad PCB EDA Suite
|
Project-wide net naming: a user name takes the spelling of its first occurrence. More...
#include <easypc_sch_builder.h>
Public Member Functions | |
| void | AddSheet (const DESIGN_DOCUMENT &aDoc) |
| wxString | Name (const wxString &aStoredName) const |
| bool | Shared (const wxString &aName) const |
| A user name used on more than one sheet, which is one net across the project. | |
Private Attributes | |
| std::map< wxString, wxString > | m_canonical |
| upper-cased name to first spelling | |
| std::map< wxString, int > | m_sheetCount |
Project-wide net naming: a user name takes the spelling of its first occurrence.
Definition at line 68 of file easypc_sch_builder.h.
| void EASYPC::SCH_NET_NAMES::AddSheet | ( | const DESIGN_DOCUMENT & | aDoc | ) |
Definition at line 86 of file easypc_sch_builder.cpp.
References EASYPC::IsNamedNet(), m_canonical, m_sheetCount, EASYPC::SOURCE_NET::Name, name, and EASYPC::DESIGN_DOCUMENT::Objects.
Referenced by SCH_IO_EASYPC::LoadSchematicFile().
| wxString EASYPC::SCH_NET_NAMES::Name | ( | const wxString & | aStoredName | ) | const |
Definition at line 113 of file easypc_sch_builder.cpp.
References EASYPC::IsNamedNet(), and m_canonical.
| bool EASYPC::SCH_NET_NAMES::Shared | ( | const wxString & | aName | ) | const |
A user name used on more than one sheet, which is one net across the project.
Definition at line 106 of file easypc_sch_builder.cpp.
References EASYPC::IsNamedNet(), and m_sheetCount.
|
private |
upper-cased name to first spelling
Definition at line 79 of file easypc_sch_builder.h.
Referenced by AddSheet(), and Name().
|
private |
Definition at line 80 of file easypc_sch_builder.h.
Referenced by AddSheet(), and Shared().