|
KiCad PCB EDA Suite
|
#include <kicommon.h>#include <cstdint>#include <functional>#include <initializer_list>#include <shared_mutex>#include <unordered_map>#include <unordered_set>#include <vector>#include <wx/string.h>Go to the source code of this file.
Classes | |
| struct | TEXT_VAR_REF_KEY |
Identifies a single resolvable source that a text item's ${...} reference depends on. More... | |
| struct | TEXT_VAR_REF_KEY_HASH |
| class | TEXT_VAR_DEPENDENCY_INDEX |
| Bidirectional index mapping TEXT_VAR_REF_KEY → dependent items and item → keys. More... | |
| class | TEXT_VAR_TRACKER |
| Coordinates the dependency index with change notifications. More... | |
Functions | |
| KICOMMON_API std::vector< TEXT_VAR_REF_KEY > | FilterTrackable (const std::vector< TEXT_VAR_REF_KEY > &aRefs) |
Filter aRefs down to the subset that should be registered in the index (drops OP and any future non-trackable kinds). | |
| KICOMMON_API std::vector< TEXT_VAR_REF_KEY > FilterTrackable | ( | const std::vector< TEXT_VAR_REF_KEY > & | aRefs | ) |
Filter aRefs down to the subset that should be registered in the index (drops OP and any future non-trackable kinds).
Shared helper so per-module adapters don't each re-implement the filter.
Definition at line 122 of file text_var_dependency.cpp.
Referenced by SCHEMATIC_TEXT_VAR_ADAPTER::handleItemChanged(), BOARD_TEXT_VAR_ADAPTER::OnBoardItemChanged(), BOARD_TEXT_VAR_ADAPTER::registerItem(), and SCHEMATIC_TEXT_VAR_ADAPTER::registerItem().