KiCad PCB EDA Suite
datafile_read_write.cpp File Reference
#include <build_version.h>
#include <class_regulator_data.h>
#include <common.h>
#include <datafile_read_write.h>
#include <kicad_string.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 40 of file datafile_read_write.cpp.

41 {
42  return PCB_CALCULATOR_DATAFILE_LEXER::TokenName( aTok );
43 }

Referenced by PCB_CALCULATOR_DATAFILE::Format().

Variable Documentation

◆ regtype_str

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

Definition at line 117 of file datafile_read_write.cpp.

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