KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SPICE_MODEL_PARSER Class Reference

#include <spice_model_parser.h>

Inheritance diagram for SPICE_MODEL_PARSER:
SPICE_MODEL_PARSER_SUBCKT

Public Member Functions

 SPICE_MODEL_PARSER (SIM_MODEL_SPICE &aModel)
 
virtual ~SPICE_MODEL_PARSER ()=default
 
virtual void ReadModel (const SIM_LIBRARY_SPICE &aLibrary, const std::string &aSpiceCode)
 

Static Public Member Functions

static bool ReadType (const SIM_LIBRARY_SPICE &aLibrary, const std::string &aSpiceCode, SIM_MODEL::TYPE *aType, bool aFirstPass)
 

Static Protected Member Functions

static SIM_MODEL::TYPE ReadTypeFromSpiceStrings (const std::string &aTypeString, const std::string &aLevel="", const std::string &aVersion="", bool aSkipDefaultLevel=true)
 

Protected Attributes

SIM_MODEL_SPICEm_model
 

Detailed Description

Definition at line 34 of file spice_model_parser.h.

Constructor & Destructor Documentation

◆ SPICE_MODEL_PARSER()

SPICE_MODEL_PARSER::SPICE_MODEL_PARSER ( SIM_MODEL_SPICE aModel)
inline

Definition at line 40 of file spice_model_parser.h.

◆ ~SPICE_MODEL_PARSER()

virtual SPICE_MODEL_PARSER::~SPICE_MODEL_PARSER ( )
virtualdefault

Member Function Documentation

◆ ReadModel()

void SPICE_MODEL_PARSER::ReadModel ( const SIM_LIBRARY_SPICE aLibrary,
const std::string &  aSpiceCode 
)
virtual

◆ ReadType()

bool SPICE_MODEL_PARSER::ReadType ( const SIM_LIBRARY_SPICE aLibrary,
const std::string &  aSpiceCode,
SIM_MODEL::TYPE *  aType,
bool  aFirstPass 
)
static

◆ ReadTypeFromSpiceStrings()

SIM_MODEL::TYPE SPICE_MODEL_PARSER::ReadTypeFromSpiceStrings ( const std::string &  aTypeString,
const std::string &  aLevel = "",
const std::string &  aVersion = "",
bool  aSkipDefaultLevel = true 
)
staticprotected

Definition at line 294 of file spice_model_parser.cpp.

References SIM_MODEL::SPICE_INFO::modelType, and SIM_MODEL::SpiceInfo().

Referenced by ReadType().

Member Data Documentation

◆ m_model

SIM_MODEL_SPICE& SPICE_MODEL_PARSER::m_model
protected

Definition at line 51 of file spice_model_parser.h.

Referenced by ReadModel(), and SPICE_MODEL_PARSER_SUBCKT::ReadModel().


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