KiCad PCB EDA Suite
Loading...
Searching...
No Matches
match_properties.h File Reference
#include <set>
#include <vector>
#include <wx/string.h>

Go to the source code of this file.

Classes

struct  MATCH_PROPERTIES_RESULT
 

Namespaces

namespace  MATCH_PROPERTIES_CATALOG
 

Functions

wxString MATCH_PROPERTIES_CATALOG::Family (const EDA_ITEM &aItem)
 
wxString MATCH_PROPERTIES_CATALOG::DisplayLabel (const wxString &aKey)
 
wxString MATCH_PROPERTIES_CATALOG::FamilyLabel (const wxString &aFamily)
 The translated name of a family, for the heading of its group.
 
wxString MATCH_PROPERTIES_CATALOG::PropertyLabel (const wxString &aKey)
 The translated property name alone, without the family it belongs to.
 
std::set< wxString > MATCH_PROPERTIES_CATALOG::FamiliesFor (const wxString &aKey)
 The families a key reaches. One for a family key, several for a common one.
 
bool MATCH_PROPERTIES_CATALOG::PropertyIsRegistered (const wxString &aFamily, const wxString &aName)
 Whether aFamily registers a property of that name. Used to prune the common table.
 
bool MATCH_PROPERTIES_CATALOG::Compatible (const EDA_ITEM &aSource, const EDA_ITEM &aTarget)
 
std::vector< EDA_ITEM * > MATCH_PROPERTIES_CATALOG::CompatibleTargets (const EDA_ITEM &aSource, const std::vector< EDA_ITEM * > &aCandidates)
 
bool MATCH_PROPERTIES_CATALOG::AnyEnabledFor (const EDA_ITEM &aItem, const std::set< wxString > &aEnabledKeys)
 True if any enabled key names a property of this item's family.
 
const std::set< wxString > & MATCH_PROPERTIES_CATALOG::AllSafeKeys ()
 Every property Match Properties may copy, keyed as "family/Property Name".
 
const std::set< wxString > & MATCH_PROPERTIES_CATALOG::DefaultKeys ()
 The subset enabled until the user says otherwise.
 
MATCH_PROPERTIES_RESULT MATCH_PROPERTIES_CATALOG::Copy (const EDA_ITEM &aSource, EDA_ITEM &aTarget, const std::set< wxString > &aEnabledKeys)