#include "wildcards_and_files_ext.h"
#include "dialog_spice_model.h"
#include <sim/spice_value.h>
#include <confirm.h>
#include <project.h>
#include <wx/textfile.h>
#include <wx/tokenzr.h>
#include <wx/wupdlock.h>
#include <cctype>
#include <cstring>
Go to the source code of this file.
|
static bool | empty (const wxTextCtrl *aCtrl) |
|
static int wxCALLBACK | comparePwlValues (wxIntPtr aItem1, wxIntPtr aItem2, wxIntPtr WXUNUSED(aSortData)) |
|
static int | getModelTypeIdx (char aPrimitive) |
|
◆ TRRANDOM_TYPE
Enumerator |
---|
TRRANDOM_UNIFORM | |
TRRANDOM_GAUSSIAN | |
TRRANDOM_EXPONENTIAL | |
TRRANDOM_POISSON | |
Definition at line 83 of file dialog_spice_model.cpp.
◆ comparePwlValues()
static int wxCALLBACK comparePwlValues |
( |
wxIntPtr |
aItem1, |
|
|
wxIntPtr |
aItem2, |
|
|
wxIntPtr |
WXUNUSEDaSortData |
|
) |
| |
|
static |
◆ empty()
static bool empty |
( |
const wxTextCtrl * |
aCtrl | ) |
|
|
static |
◆ getModelTypeIdx()
static int getModelTypeIdx |
( |
char |
aPrimitive | ) |
|
|
static |
◆ modelTypes
Initial value:=
{
{
SP_BJT,
_(
"BJT" ), {
"npn",
"pnp" } },
{
SP_MOSFET,
_(
"MOSFET" ), {
"nmos",
"pmos",
"vdmos" } },
{
SP_JFET,
_(
"JFET" ), {
"njf",
"pjf" } },
}
Definition at line 73 of file dialog_spice_model.cpp.
Referenced by getModelTypeIdx(), DIALOG_SPICE_MODEL::Init(), DIALOG_SPICE_MODEL::onTypeSelected(), DIALOG_SPICE_MODEL::MODEL::parseModelType(), and DIALOG_SPICE_MODEL::TransferDataFromWindow().