KiCad PCB EDA Suite
Loading...
Searching...
No Matches
diff_tree_grouping.h File Reference
#include <kicommon.h>
#include <diff_merge/diff_scene.h>
#include <diff_merge/kicad_diff_types.h>
#include <wx/string.h>
#include <array>
#include <vector>

Go to the source code of this file.

Classes

struct  KICAD_DIFF::CHANGE_TREE_ENTRY
 One row in a grouped change tree — an ITEM_CHANGE plus its display label (typeName + optional refdes in [brackets]). More...
 
struct  KICAD_DIFF::CHANGE_TREE_GROUP
 One bucket in a grouped change tree — a CHANGE_KIND, a human- readable group label, and the entries belonging to that bucket. More...
 

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.