KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SIM_MODEL::PARAM::INFO Struct Reference

#include <sim_model.h>

Public Member Functions

 INFO (const std::string &aName="", unsigned aId=0, DIR aDir=DIR_INOUT, SIM_VALUE::TYPE aType=SIM_VALUE::TYPE_FLOAT, const std::string &aUnit="", CATEGORY aCategory=CATEGORY::PRINCIPAL, const std::string &aDefaultValue="", const std::string &legacy_unused_value="", const std::string &aDescription="", bool aIsSpiceInstanceParam=false, bool aIsInstanceParam=false, const std::string &aSpiceModelName="", const std::string &aSpiceInstanceName="", std::vector< std::string > aEnumValues={})
 
bool Matches (const std::string &aName) const
 

Public Attributes

std::string name
 
unsigned id
 
DIR dir
 
SIM_VALUE::TYPE type
 
std::string unit
 
CATEGORY category
 
std::string defaultValue
 
std::string description
 
bool isSpiceInstanceParam
 
bool isInstanceParam
 
std::string spiceModelName
 
std::string spiceInstanceName
 
std::vector< std::string > enumValues
 

Detailed Description

Definition at line 343 of file sim_model.h.

Constructor & Destructor Documentation

◆ INFO()

SIM_MODEL::PARAM::INFO::INFO ( const std::string &  aName = "",
unsigned  aId = 0,
DIR  aDir = DIR_INOUT,
SIM_VALUE::TYPE  aType = SIM_VALUE::TYPE_FLOAT,
const std::string &  aUnit = "",
CATEGORY  aCategory = CATEGORY::PRINCIPAL,
const std::string &  aDefaultValue = "",
const std::string &  legacy_unused_value = "",
const std::string &  aDescription = "",
bool  aIsSpiceInstanceParam = false,
bool  aIsInstanceParam = false,
const std::string &  aSpiceModelName = "",
const std::string &  aSpiceInstanceName = "",
std::vector< std::string >  aEnumValues = {} 
)
inline

Definition at line 345 of file sim_model.h.

Member Function Documentation

◆ Matches()

bool SIM_MODEL::PARAM::INFO::Matches ( const std::string &  aName) const

Definition at line 789 of file sim_model.cpp.

References name.

Referenced by SIM_MODEL::PARAM::Matches().

Member Data Documentation

◆ category

◆ defaultValue

◆ description

◆ dir

DIR SIM_MODEL::PARAM::INFO::dir

Definition at line 378 of file sim_model.h.

Referenced by DIALOG_SIM_MODEL< T >::addParamPropertyIfRelevant().

◆ enumValues

◆ id

unsigned SIM_MODEL::PARAM::INFO::id

◆ isInstanceParam

bool SIM_MODEL::PARAM::INFO::isInstanceParam

◆ isSpiceInstanceParam

◆ name

std::string SIM_MODEL::PARAM::INFO::name

Definition at line 376 of file sim_model.h.

Referenced by SIM_MODEL_SOURCE::appendAcParamInfos(), SIM_MODEL_SOURCE::appendSpParamInfos(), TEST_SIM_LIBRARY_SPICE_FIXTURE::CompareToEmptyModel(), SIM_MODEL_SERIALIZER::generateParamValuePair(), SIM_MODEL_SOURCE::makeAMParamInfos(), SIM_MODEL_SOURCE::makeBurstNoiseParamInfos(), SIM_MODEL_SOURCE::makeCcParamInfos(), SIM_MODEL_SOURCE::makeDcParamInfos(), SIM_MODEL_KIBIS::makeDcWaveformParamInfos(), SIM_MODEL_SOURCE::makeExpParamInfos(), SIM_MODEL_L_MUTUAL::makeParamInfos(), SIM_MODEL_R_POT::makeParamInfos(), SIM_MODEL_RAW_SPICE::makeParamInfos(), SIM_MODEL_KIBIS::makeParamInfos(), SIM_MODEL_SOURCE::makePinkNoiseParamInfos(), SIM_MODEL_KIBIS::makePrbsWaveformParamInfos(), SIM_MODEL_SOURCE::makePulseParamInfos(), SIM_MODEL_SOURCE::makePwlParamInfos(), SIM_MODEL_SOURCE::makeRandomExpParamInfos(), SIM_MODEL_SOURCE::makeRandomNormalParamInfos(), SIM_MODEL_SOURCE::makeRandomPoissonParamInfos(), SIM_MODEL_SOURCE::makeRandomUniformParamInfos(), SIM_MODEL_KIBIS::makeRectWaveformParamInfos(), SIM_MODEL_TLINE::makeRlgcParamInfos(), SIM_MODEL_SOURCE::makeSFFMParamInfos(), SIM_MODEL_SOURCE::makeSinParamInfos(), SIM_MODEL_SWITCH::makeSwIParamInfos(), SIM_MODEL_SWITCH::makeSwVParamInfos(), SIM_MODEL_SOURCE::makeVcParamInfos(), SIM_MODEL_SOURCE::makeWhiteNoiseParamInfos(), SIM_MODEL_TLINE::makeZ0ParamInfos(), Matches(), DIALOG_SIM_MODEL< T >::newParamProperty(), SIM_MODEL_KIBIS::SIM_MODEL_KIBIS(), DIALOG_SIM_MODEL< T >::updateBuiltinModelWidgets(), and SIMULATOR_FRAME_UI::UpdateTunerValue().

◆ spiceInstanceName

std::string SIM_MODEL::PARAM::INFO::spiceInstanceName

Definition at line 387 of file sim_model.h.

◆ spiceModelName

std::string SIM_MODEL::PARAM::INFO::spiceModelName

◆ type

◆ unit


The documentation for this struct was generated from the following files: