24#ifndef SYM_LIB_DIFFER_H
25#define SYM_LIB_DIFFER_H
59 using SYMBOL_MAP = std::map<wxString, const LIB_SYMBOL*>;
62 const wxString& aPath = wxEmptyString );
70 static std::pair<std::vector<std::unique_ptr<LIB_SYMBOL>>,
SYMBOL_MAP>
const SYMBOL_MAP & m_before
~SYM_LIB_DIFFER() override
SYM_LIB_DIFFER(const SYMBOL_MAP &aBefore, const SYMBOL_MAP &aAfter, const wxString &aPath=wxEmptyString)
const SYMBOL_MAP & m_after
DOCUMENT_DIFF Diff() override
Produce a DOCUMENT_DIFF of the inputs the concrete differ was constructed with.
static std::pair< std::vector< std::unique_ptr< LIB_SYMBOL > >, SYMBOL_MAP > LoadLibrary(const wxString &aPath)
Convenience: load a .kicad_sym path into a SYMBOL_MAP using SCH_IO_KICAD_SEXPR::EnumerateSymbolLib.
std::map< wxString, const LIB_SYMBOL * > SYMBOL_MAP
Library content is a map of (canonical_name -> LIB_SYMBOL*).
Define a library symbol object.
The full set of changes between two parsed documents of one type.