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::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 618 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisPackageModel()

IbisPackageModel::IbisPackageModel ( REPORTER * aReporter)
inline

Definition at line 621 of file ibis_parser.h.

References IBIS_INPUT::IBIS_INPUT().

◆ ~IbisPackageModel()

virtual IbisPackageModel::~IbisPackageModel ( )
inlinevirtual

Definition at line 625 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 688 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 311 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

Member Data Documentation

◆ m_capacitanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_capacitanceMatrix

Definition at line 636 of file ibis_parser.h.

Referenced by Check().

◆ m_description

std::string IbisPackageModel::m_description

Definition at line 631 of file ibis_parser.h.

◆ m_inductanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_inductanceMatrix

Definition at line 637 of file ibis_parser.h.

Referenced by Check().

◆ m_manufacturer

std::string IbisPackageModel::m_manufacturer

Definition at line 629 of file ibis_parser.h.

Referenced by Check().

◆ m_name

std::string IbisPackageModel::m_name

Definition at line 628 of file ibis_parser.h.

Referenced by Check().

◆ m_numberOfPins

int IbisPackageModel::m_numberOfPins = 0

Definition at line 632 of file ibis_parser.h.

Referenced by Check().

◆ m_OEM

std::string IbisPackageModel::m_OEM

Definition at line 630 of file ibis_parser.h.

Referenced by Check().

◆ m_pins

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

Definition at line 633 of file ibis_parser.h.

Referenced by Check().

◆ m_Reporter

◆ m_resistanceMatrix

std::shared_ptr<IBIS_MATRIX> IbisPackageModel::m_resistanceMatrix

Definition at line 635 of file ibis_parser.h.

Referenced by Check().


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