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 334 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 336 of file sim_model.h.

Member Function Documentation

◆ Matches()

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

Definition at line 802 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

◆ enumValues

◆ id

unsigned SIM_MODEL::PARAM::INFO::id

◆ isInstanceParam

bool SIM_MODEL::PARAM::INFO::isInstanceParam

◆ isSpiceInstanceParam

◆ name

◆ spiceInstanceName

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

Definition at line 378 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: