#include <font/outline_font.h>
#include <sch_draw_panel.h>
#include <plotters/plotter.h>
#include <sch_screen.h>
#include <template_fieldnames.h>
#include <transform.h>
#include <settings/color_settings.h>
#include <sch_pin.h>
#include <sch_shape.h>
#include <trace_helpers.h>
#include <common.h>
#include <api/api_enums.h>
#include <api/api_sch_utils.h>
#include <api/api_utils.h>
#include <text_eval/text_eval_wrapper.h>
#include <libraries/legacy_symbol_library.h>
#include <algorithm>
#include <functional>
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <advanced_config.h>
#include <properties/property.h>
#include <properties/property_mgr.h>
#include <api/schematic/schematic_types.pb.h>
Go to the source code of this file.
◆ ITEM_DESC
| #define ITEM_DESC |
( |
| item | ) |
|
◆ REPORT
◆ SEARCH_TERM_CACHE_INDEX
| Enumerator |
|---|
| STCI_LIB_NICKNAME | |
| STCI_LIB_SYMBOL_NAME | |
| STCI_LIB_ID | |
Definition at line 169 of file lib_symbol.cpp.
◆ GetSafeRootSymbol()
| static std::shared_ptr< LIB_SYMBOL > GetSafeRootSymbol |
( |
const LIB_SYMBOL * | aSymbol, |
|
|
const char * | aCallerName ) |
|
static |
Helper to safely get the root symbol, detecting and logging circular inheritance.
- Parameters
-
| aSymbol | The symbol to start from |
| aCallerName | Name of the calling function for logging |
- Returns
- The root symbol, or the input symbol if a cycle is detected or no parent exists
Definition at line 61 of file lib_symbol.cpp.
References chain, LIB_SYMBOL::GetLibId(), LIB_ID::GetLibNickname(), LIB_SYMBOL::GetName(), LIB_SYMBOL::GetParent(), LIB_SYMBOL::SharedPtr(), traceSymbolInheritance, and UTF8::wx_str().
Referenced by LIB_SYMBOL::GetBodyStyleNames(), LIB_SYMBOL::GetGraphicalPins(), LIB_SYMBOL::GetGraphicalPins(), LIB_SYMBOL::GetMaxPinNumber(), LIB_SYMBOL::getShownDescription(), LIB_SYMBOL::GetUnitBoundingBox(), LIB_SYMBOL::GetUnitCount(), LIB_SYMBOL::GetUnitDisplayName(), LIB_SYMBOL::HasDeMorganBodyStyles(), LIB_SYMBOL::HasLegacyAlternateBodyStyle(), LIB_SYMBOL::IsGlobalPower(), LIB_SYMBOL::IsLocalPower(), LIB_SYMBOL::IsNormal(), LIB_SYMBOL::SetGlobalPower(), LIB_SYMBOL::SetLocalPower(), LIB_SYMBOL::SetNormal(), and LIB_SYMBOL::UnitsLocked().
◆ operator<()
◆ _LIB_SYMBOL_DESC