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

#include <ibis_parser.h>

Inheritance diagram for IbisPackageModel:
IBIS_INPUT IBIS_ANY

Public Member Functions

 IbisPackageModel (REPORTER *aReporter)
 
virtual ~IbisPackageModel ()
 
bool Check () override
 Check if the data held by the object is valid.
 
void Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
 Print a message.
 

Public Attributes

std::string m_name
 
std::string m_manufacturer
 
std::string m_OEM
 
std::string m_description
 
int m_numberOfPins = 0
 
std::vector< std::string > m_pins
 
std::shared_ptr< IBIS_MATRIXm_resistanceMatrix
 
std::shared_ptr< IBIS_MATRIXm_capacitanceMatrix
 
std::shared_ptr< IBIS_MATRIXm_inductanceMatrix
 
REPORTERm_reporter
 

Static Protected Member Functions

static std::string doubleToString (double aNumber)
 Convert a double to string using scientific notation.
 

Detailed Description

Definition at line 579 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisPackageModel()

IbisPackageModel::IbisPackageModel ( REPORTER aReporter)
inline

Definition at line 582 of file ibis_parser.h.

◆ ~IbisPackageModel()

virtual IbisPackageModel::~IbisPackageModel ( )
inlinevirtual

Definition at line 586 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IbisPackageModel::Check ( )
overridevirtual

Check if the data held by the object is valid.

Returns
true in case of success

Reimplemented from IBIS_INPUT.

Definition at line 667 of file ibis_parser.cpp.

References _, Check(), m_capacitanceMatrix, m_inductanceMatrix, m_manufacturer, m_name, m_numberOfPins, m_OEM, m_pins, m_resistanceMatrix, IBIS_ANY::Report(), RPT_SEVERITY_ACTION, and RPT_SEVERITY_ERROR.

Referenced by IbisParser::changeContext(), and Check().

◆ doubleToString()

std::string IBIS_ANY::doubleToString ( double  aNumber)
staticprotectedinherited

Convert a double to string using scientific notation.

Parameters
aNumberNumber
Returns
Output string

Definition at line 300 of file ibis_parser.cpp.

Referenced by KIBIS_MODEL::generateSquareWave(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), KIBIS_PIN::KuKdDriver(), IVtable::Spice(), KIBIS_MODEL::SpiceDie(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().

◆ Report()

Member Data Documentation

◆ m_capacitanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_capacitanceMatrix

Definition at line 597 of file ibis_parser.h.

Referenced by Check(), and IbisParser::parsePackageModelModelData().

◆ m_description

std::string IbisPackageModel::m_description

Definition at line 592 of file ibis_parser.h.

Referenced by IbisParser::parsePackageModel().

◆ m_inductanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_inductanceMatrix

Definition at line 598 of file ibis_parser.h.

Referenced by Check(), and IbisParser::parsePackageModelModelData().

◆ m_manufacturer

std::string IbisPackageModel::m_manufacturer

Definition at line 590 of file ibis_parser.h.

Referenced by Check(), and IbisParser::parsePackageModel().

◆ m_name

std::string IbisPackageModel::m_name

Definition at line 589 of file ibis_parser.h.

Referenced by Check().

◆ m_numberOfPins

int IbisPackageModel::m_numberOfPins = 0

Definition at line 593 of file ibis_parser.h.

Referenced by Check(), IbisParser::parsePackageModel(), and IbisParser::readMatrix().

◆ m_OEM

std::string IbisPackageModel::m_OEM

Definition at line 591 of file ibis_parser.h.

Referenced by Check(), and IbisParser::parsePackageModel().

◆ m_pins

std::vector<std::string> IbisPackageModel::m_pins

Definition at line 594 of file ibis_parser.h.

Referenced by Check(), and IbisParser::readPackageModelPins().

◆ m_reporter

◆ m_resistanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_resistanceMatrix

Definition at line 596 of file ibis_parser.h.

Referenced by Check(), and IbisParser::parsePackageModelModelData().


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