24#include <wx/translation.h> 
   37    return !( lhs == rhs );
 
 
   57    j.at( 
"name" ).get_to( f.
name );
 
   58    j.at( 
"label" ).get_to( f.
label );
 
   59    j.at( 
"show" ).get_to( f.
show );
 
   60    j.at( 
"group_by" ).get_to( f.
groupBy );
 
 
   66    return !( lhs == rhs );
 
 
   95    j.at( 
"name" ).get_to( f.
name );
 
   97    j.at( 
"sort_field" ).get_to( f.
sortField );
 
   98    j.at( 
"sort_asc" ).get_to( f.
sortAsc );
 
 
  126        _HKI( 
"Default Editing" ), 
true, {}, 
_( 
"Reference" ), 
true, 
"", 
true, 
false, 
true 
  130        { 
"Reference", 
"Reference", 
true, 
false },
 
  131        { 
"${QUANTITY}", 
"Qty", 
true, 
false },
 
  132        { 
"Value", 
"Value", 
true, 
true },
 
  133        { 
"${DNP}", 
"DNP", 
true, 
true },
 
  134        { 
"${EXCLUDE_FROM_BOM}", 
"Exclude from BOM", 
true, 
true },
 
  135        { 
"${EXCLUDE_FROM_BOARD}", 
"Exclude from Board", 
true, 
true },
 
  136        { 
"Footprint", 
"Footprint", 
true, 
true },
 
  137        { 
"Datasheet", 
"Datasheet", 
true, 
false },
 
 
  147        _HKI( 
"Grouped By Value" ), 
true, {}, 
_( 
"Reference" ), 
true, 
"", 
true, 
false, 
false 
  151        { 
"Reference", 
"Reference", 
true, 
false },
 
  152        { 
"Value", 
"Value", 
true, 
true },
 
  153        { 
"Datasheet", 
"Datasheet", 
true, 
false },
 
  154        { 
"Footprint", 
"Footprint", 
true, 
false },
 
  155        { 
"${QUANTITY}", 
"Qty", 
true, 
false },
 
  156        { 
"${DNP}", 
"DNP", 
true, 
true },
 
 
  166        _HKI( 
"Grouped By Value and Footprint" ), 
true, {}, 
_( 
"Reference" ), 
true, 
"",
 
  171        { 
"Reference", 
"Reference", 
true, 
false },
 
  172        { 
"Value", 
"Value", 
true, 
true },
 
  173        { 
"Datasheet", 
"Datasheet", 
true, 
false },
 
  174        { 
"Footprint", 
"Footprint", 
true, 
true },
 
  175        { 
"${QUANTITY}", 
"Qty", 
true, 
false },
 
  176        { 
"${DNP}", 
"DNP", 
true, 
true },
 
 
  186        _HKI( 
"Attributes" ), 
true, {}, 
_( 
"Reference" ), 
true, 
"", 
true, 
false, 
true 
  190        { 
"Reference", 
"Reference", 
true, 
false },
 
  191        { 
"Value", 
"Value", 
true, 
true },
 
  192        { 
"Datasheet", 
"Datasheet", 
false, 
false },
 
  193        { 
"Footprint", 
"Footprint", 
false, 
true },
 
  194        { 
"${DNP}", 
"Do Not Place", 
true, 
false },
 
  195        { 
"${EXCLUDE_FROM_BOM}", 
"Exclude from BOM", 
true, 
false },
 
  196        { 
"${EXCLUDE_FROM_BOARD}", 
"Exclude from Board", 
true, 
false },
 
  197        { 
"${EXCLUDE_FROM_SIM}", 
"Exclude from Simulation", 
true, 
false },
 
 
  224    return !( lhs == rhs );
 
 
  236    j = nlohmann::json{ { 
"name", p.
name },
 
 
  248    j.at( 
"name" ).get_to( f.
name );
 
  253    j.at( 
"keep_tabs" ).get_to( f.
keepTabs );
 
 
  260    return { 
_HKI( 
"CSV" ), 
true, wxS( 
"," ), wxT( 
"\"" ), wxT( 
"," ), wxT( 
"" ), 
false, 
false };
 
 
  266    return { 
_HKI( 
"TSV" ), 
true, wxS( 
"\t" ), wxT( 
"" ), wxT( 
"," ), wxT( 
"" ), 
false, 
false };
 
 
  273        _HKI( 
"Semicolons" ), 
true, wxS( 
";" ), wxT( 
"'" ), wxT( 
"," ), wxT( 
"" ), 
false, 
false 
 
  284#if !defined( __MINGW32__ ) 
void to_json(nlohmann::json &j, const BOM_FIELD &f)
 
bool operator<(const BOM_FIELD &lhs, const BOM_FIELD &rhs)
 
void from_json(const nlohmann::json &j, BOM_FIELD &f)
 
bool operator!=(const BOM_FIELD &lhs, const BOM_FIELD &rhs)
 
bool operator==(const BOM_FIELD &rhs) const
 
bool operator==(const BOM_FMT_PRESET &rhs) const
 
static BOM_FMT_PRESET CSV()
 
static std::vector< BOM_FMT_PRESET > BuiltInPresets()
 
static BOM_FMT_PRESET TSV()
 
wxString refRangeDelimiter
 
static BOM_FMT_PRESET Semicolons()
 
bool operator==(const BOM_PRESET &rhs) const
 
static BOM_PRESET DefaultEditing()
 
std::vector< BOM_FIELD > fieldsOrdered
 
static BOM_PRESET GroupedByValue()
 
bool includeExcludedFromBOM
 
static std::vector< BOM_PRESET > BuiltInPresets()
 
static BOM_PRESET GroupedByValueFootprint()
 
static BOM_PRESET Attributes()