KiCad PCB EDA Suite
|
PCB_CALCULATOR_DATAFILE handles data to calculate regulators parameters. More...
#include <datafile_read_write.h>
Public Member Functions | |
PCB_CALCULATOR_DATAFILE (REGULATOR_LIST *aList) | |
int | WriteHeader (OUTPUTFORMATTER *aFormatter) const |
void | Format (OUTPUTFORMATTER *aFormatter, int aNestLevel) const |
void | Parse (PCB_CALCULATOR_DATAFILE_PARSER *aParser) |
Protected Attributes | |
REGULATOR_LIST * | m_list |
Friends | |
class | PCB_CALCULATOR_DATAFILE_PARSER |
PCB_CALCULATOR_DATAFILE handles data to calculate regulators parameters.
Definition at line 30 of file datafile_read_write.h.
PCB_CALCULATOR_DATAFILE::PCB_CALCULATOR_DATAFILE | ( | REGULATOR_LIST * | aList | ) |
Definition at line 121 of file datafile_read_write.cpp.
References m_list.
void PCB_CALCULATOR_DATAFILE::Format | ( | OUTPUTFORMATTER * | aFormatter, |
int | aNestLevel | ||
) | const |
Definition at line 147 of file datafile_read_write.cpp.
References getTokenName(), REGULATOR_DATA::m_IadjMax, REGULATOR_DATA::m_IadjTyp, REGULATOR_LIST::m_List, m_list, REGULATOR_DATA::m_Name, REGULATOR_DATA::m_Type, REGULATOR_DATA::m_VrefMax, REGULATOR_DATA::m_VrefMin, REGULATOR_DATA::m_VrefTyp, OUTPUTFORMATTER::Print(), OUTPUTFORMATTER::Quotew(), and regtype_str.
void PCB_CALCULATOR_DATAFILE::Parse | ( | PCB_CALCULATOR_DATAFILE_PARSER * | aParser | ) |
Definition at line 182 of file datafile_read_write.cpp.
References PCB_CALCULATOR_DATAFILE_PARSER::Parse().
int PCB_CALCULATOR_DATAFILE::WriteHeader | ( | OUTPUTFORMATTER * | aFormatter | ) | const |
Definition at line 133 of file datafile_read_write.cpp.
References GetBuildVersion(), GetISO8601CurrentDateTime(), Pgm(), OUTPUTFORMATTER::Print(), and OUTPUTFORMATTER::Quotew().
|
friend |
Definition at line 40 of file datafile_read_write.h.
|
protected |
Definition at line 43 of file datafile_read_write.h.
Referenced by Format(), PCB_CALCULATOR_DATAFILE_PARSER::ParseRegulatorDescr(), and PCB_CALCULATOR_DATAFILE().