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

#include <ibis_parser.h>

Inheritance diagram for IbisPackageModel:
IBIS_INPUT IBIS_BASE

Public Member Functions

 IbisPackageModel (REPORTER *aReporter)
 
virtual ~IbisPackageModel ()
 
bool Check () override
 Check if the data held by the object is valid.
 
void Report (const 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::map< std::string, int > 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 666 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisPackageModel()

IbisPackageModel::IbisPackageModel ( REPORTER * aReporter)
inline

Definition at line 669 of file ibis_parser.h.

References IBIS_INPUT::IBIS_INPUT().

◆ ~IbisPackageModel()

virtual IbisPackageModel::~IbisPackageModel ( )
inlinevirtual

Definition at line 673 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 866 of file ibis_parser.cpp.

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

Referenced by Check().

◆ doubleToString()

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

Convert a double to string using scientific notation.

Parameters
aNumberNumber
Returns
Output string

Definition at line 281 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()

void IBIS_BASE::Report ( const std::string & aMsg,
SEVERITY aSeverity = RPT_SEVERITY_INFO ) const
inlineinherited

Print a message.

Call m_Reporter->Report if m_Reporter exists.

Parameters
aMsgMessage
aSeverityMessage sevirity

Definition at line 68 of file ibis_parser.h.

References m_Reporter, and RPT_SEVERITY_INFO.

Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeCommentChar(), IbisParser::changeContext(), IBIS_MATRIX::Check(), IbisComponent::Check(), IbisComponentPackage::Check(), IbisComponentPin::Check(), IbisHeader::Check(), IbisModel::Check(), IbisPackageModel::Check(), IbisRamp::Check(), IbisSubmodel::Check(), IVtable::Check(), KIBIS_WAVEFORM_PRBS::Check(), KIBIS_WAVEFORM_PRBS::Check(), KIBIS_WAVEFORM_RECTANGULAR::Check(), KIBIS_WAVEFORM_RECTANGULAR::Check(), IbisParser::checkEndofLine(), KIBIS_PIN::getKuKdFromFile(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), IbisParser::getNextLine(), IVtable::InterpolatedI(), KIBIS_PIN::KuKdDriver(), IbisParser::onNewLine(), IbisParser::ParseFile(), IbisParser::readAddSubmodel(), IbisParser::readDiffPin(), IbisParser::readDouble(), IbisParser::readDvdt(), IbisParser::readInt(), IbisParser::readMatrixBandedOrFull(), IbisParser::readMatrixBandwidth(), IbisParser::readMatrixPinIndex(), IbisParser::readMatrixRow(), IbisParser::readMatrixSparse(), IbisParser::readMatrixType(), IbisParser::readModel(), IbisParser::readPackage(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readRamp(), IbisParser::readSubmodel(), IbisParser::readSubmodelSpec(), IbisParser::readTypMinMaxValue(), IbisParser::readWaveform(), KIBIS_MODEL::TrimWaveform(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().

Member Data Documentation

◆ m_capacitanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_capacitanceMatrix

Definition at line 684 of file ibis_parser.h.

Referenced by Check().

◆ m_description

std::string IbisPackageModel::m_description

Definition at line 679 of file ibis_parser.h.

◆ m_inductanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_inductanceMatrix

Definition at line 685 of file ibis_parser.h.

Referenced by Check().

◆ m_manufacturer

std::string IbisPackageModel::m_manufacturer

Definition at line 677 of file ibis_parser.h.

Referenced by Check().

◆ m_name

std::string IbisPackageModel::m_name

Definition at line 676 of file ibis_parser.h.

Referenced by Check().

◆ m_numberOfPins

int IbisPackageModel::m_numberOfPins = 0

Definition at line 680 of file ibis_parser.h.

Referenced by Check().

◆ m_OEM

std::string IbisPackageModel::m_OEM

Definition at line 678 of file ibis_parser.h.

Referenced by Check().

◆ m_pins

std::map<std::string, int> IbisPackageModel::m_pins

Definition at line 681 of file ibis_parser.h.

Referenced by Check().

◆ m_Reporter

◆ m_resistanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_resistanceMatrix

Definition at line 683 of file ibis_parser.h.

Referenced by Check().


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