51 for(
const PARAM::INFO& paramInfo : paramInfos )
58 std::vector<PARAM::INFO> paramInfos;
59 PARAM::INFO paramInfo;
61 paramInfo.name =
"l1";
63 paramInfo.unit =
"(Reference)";
64 paramInfo.category = PARAM::CATEGORY::PRINCIPAL;
65 paramInfo.defaultValue =
"";
66 paramInfo.description =
"Inductor 1";
67 paramInfo.isSpiceInstanceParam =
true;
68 paramInfos.push_back( paramInfo );
70 paramInfo.name =
"l2";
72 paramInfo.unit =
"(Reference)";
73 paramInfo.category = PARAM::CATEGORY::PRINCIPAL;
74 paramInfo.defaultValue =
"";
75 paramInfo.description =
"Inductor 2";
76 paramInfo.isSpiceInstanceParam =
true;
77 paramInfos.push_back( paramInfo );
82 paramInfo.category = PARAM::CATEGORY::PRINCIPAL;
83 paramInfo.defaultValue =
"";
84 paramInfo.description =
"Coupling coefficient";
85 paramInfo.isSpiceInstanceParam =
true;
86 paramInfos.push_back( paramInfo );
static const std::vector< PARAM::INFO > makeParamInfos()
void AddParam(const PARAM::INFO &aInfo)
virtual const PARAM & GetParam(unsigned aParamIndex) const
int GetParamCount() const
static std::string ToSpice(const std::string &aString)
std::string ItemParams() const override
const SIM_MODEL & m_model
bool isSpiceInstanceParam