KiCad PCB EDA Suite
Loading...
Searching...
No Matches
diff_tree_grouping.cpp File Reference
#include <diff_merge/diff_tree_grouping.h>
#include <wx/intl.h>
#include <map>

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Functions

wxString KICAD_DIFF::ChangeKindLabel (CHANGE_KIND aKind)
 Human-readable label for a CHANGE_KIND (e.g.
 
bool KICAD_DIFF::ChangeMatchesSearchFilter (const ITEM_CHANGE &aChange, const wxString &aLowercaseFilter)
 Predicate: does this item change match the active search filter?
 
std::vector< CHANGE_TREE_GROUPKICAD_DIFF::BuildChangeTreeGroups (const DOCUMENT_DIFF &aDiff, const wxString &aSearchFilter, const std::array< bool, CATEGORY_COUNT > &aVisibleCategories)
 Group the changes in a DOCUMENT_DIFF by kind, apply category and search filters, and return the resulting tree structure for a UI to render.