27#include <fmt/format.h> 
   44                                                                const wxString& aSymbolPinNumber )
 
   54        m_modelPins.push_back( { aModelPinName, aSymbolPinNumber } );
 
 
   63    return model->GetPinNames();
 
 
   73        if( param.
Matches( aParamName ) )
 
   82        if( !param.
info.
name.ends_with( 
'_' ) )
 
   85        if( param.
Matches( aParamName + 
"_" ) )
 
 
Hold an error message and may be used when throwing exceptions containing meaningful error messages.
 
std::vector< std::string > GetPinNames() const override
 
int doFindParam(const std::string &aParamName) const override
 
void AssignSymbolPinNumberToModelPin(const std::string &aModelPinName, const wxString &aSymbolPinNumber) override
 
SIM_MODEL_SPICE_FALLBACK(TYPE aType, const std::string &aRawSpiceCode="")
 
SIM_MODEL_SPICE(TYPE aType, std::unique_ptr< SPICE_GENERATOR > aSpiceGenerator)
 
friend class SPICE_GENERATOR_SPICE
 
void AddParam(const PARAM::INFO &aInfo)
 
std::vector< SIM_MODEL_PIN > m_modelPins
 
virtual const PARAM & GetParam(unsigned aParamIndex) const
 
int GetParamCount() const
 
void AssignSymbolPinNumberToModelPin(int aPinIndex, const wxString &aSymbolPinNumber)
 
static std::unique_ptr< SIM_MODEL > Create(TYPE aType, const std::vector< SCH_PIN * > &aPins, REPORTER &aReporter)
 
bool Matches(const std::string &aName) const