KiCad PCB EDA Suite
datafile_read_write.cpp File Reference
#include <wx/app.h>
#include <wx/msgdlg.h>
#include <build_version.h>
#include <calculator_panels/panel_regulator.h>
#include <class_regulator_data.h>
#include <datafile_read_write.h>
#include <string_utils.h>
#include <locale_io.h>
#include <macros.h>
#include <pcb_calculator_datafile_lexer.h>
#include <pcb_calculator_frame.h>
#include <pgm_base.h>

Go to the source code of this file.

Functions

static const char * getTokenName (T aTok)
 

Variables

static const char * regtype_str []
 

Function Documentation

◆ getTokenName()

static const char* getTokenName ( aTok)
static

Definition at line 43 of file datafile_read_write.cpp.

44 {
45  return PCB_CALCULATOR_DATAFILE_LEXER::TokenName( aTok );
46 }

Referenced by PCB_CALCULATOR_DATAFILE::Format().

Variable Documentation

◆ regtype_str

const char* regtype_str[]
static
Initial value:
=
{
"normal", "3terminal"
}

Definition at line 126 of file datafile_read_write.cpp.

Referenced by PCB_CALCULATOR_DATAFILE::Format(), and PCB_CALCULATOR_DATAFILE_PARSER::ParseRegulatorDescr().