20#ifndef DRILL_CHART_TEMPLATE_H
21#define DRILL_CHART_TEMPLATE_H
104 bool SaveToFile(
const wxString& aPath, wxString* aError )
const;
105 bool LoadFromFile(
const wxString& aPath, wxString* aError );
bool SaveToFile(const wxString &aPath, wxString *aError) const
Read and write a template as JSON.
void SetName(const wxString &aName)
void SetPrecision(int aPrecision)
wxString m_name
Identify the template file to whoever opens it.
GENERATED_TABLE_UNITS GetUnits() const
void SetShowTotals(bool aShow)
std::vector< GENERATED_TABLE_COLUMN > & Columns()
bool LoadFromFile(const wxString &aPath, wxString *aError)
GENERATED_TABLE_UNITS m_units
std::vector< GENERATED_TABLE_COLUMN > m_columns
static DRILL_CHART_TEMPLATE MakeDefault()
void SetUnits(GENERATED_TABLE_UNITS aUnits)
bool GetShowTotals() const
const std::vector< GENERATED_TABLE_COLUMN > & Columns() const
The columns one generator (the drill chart, a stackup table, ...) can produce, and the units and prec...
A base class for LIB_SYMBOL and SCH_SYMBOL.
const GENERATED_TABLE_SCHEMA & DrillChartSchema()
Every column the drill chart schema knows how to build, in the order the schema lists them.
Which holes a chart reports on.
bool operator==(const DRILL_CHART_FILTER &aOther) const
@ DESCRIPTION
Field Description of part, i.e. "1/4W 1% Metal Film Resistor".