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

#include <ibis_parser.h>

Inheritance diagram for IbisComponentPin:
IBIS_INPUT IBIS_BASE

Public Member Functions

 IbisComponentPin (REPORTER *aReporter)
 
virtual ~IbisComponentPin ()
 
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_pinName
 
std::string m_signalName
 
std::string m_modelName
 
double m_Rpin = nan( NAN_NA )
 
double m_Lpin = nan( NAN_NA )
 
double m_Cpin = nan( NAN_NA )
 
int m_Rcol = 0
 
int m_Lcol = 0
 
int m_Ccol = 0
 
bool m_dummy = false
 
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 202 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisComponentPin()

IbisComponentPin::IbisComponentPin ( REPORTER * aReporter)
inline

Definition at line 205 of file ibis_parser.h.

References IBIS_INPUT::IBIS_INPUT().

◆ ~IbisComponentPin()

virtual IbisComponentPin::~IbisComponentPin ( )
inlinevirtual

Definition at line 209 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IbisComponentPin::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 157 of file ibis_parser.cpp.

References _, isNumberNA(), m_Cpin, m_dummy, m_Lpin, m_modelName, m_pinName, m_Rpin, m_signalName, IBIS_BASE::Report(), RPT_SEVERITY_ACTION, and RPT_SEVERITY_ERROR.

◆ 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_Ccol

int IbisComponentPin::m_Ccol = 0

Definition at line 221 of file ibis_parser.h.

◆ m_Cpin

double IbisComponentPin::m_Cpin = nan( NAN_NA )

Definition at line 217 of file ibis_parser.h.

Referenced by Check(), and KIBIS_PIN::KIBIS_PIN().

◆ m_dummy

bool IbisComponentPin::m_dummy = false

Definition at line 225 of file ibis_parser.h.

Referenced by Check().

◆ m_Lcol

int IbisComponentPin::m_Lcol = 0

Definition at line 220 of file ibis_parser.h.

◆ m_Lpin

double IbisComponentPin::m_Lpin = nan( NAN_NA )

Definition at line 216 of file ibis_parser.h.

Referenced by Check(), and KIBIS_PIN::KIBIS_PIN().

◆ m_modelName

std::string IbisComponentPin::m_modelName

Definition at line 214 of file ibis_parser.h.

Referenced by Check().

◆ m_pinName

std::string IbisComponentPin::m_pinName

Definition at line 212 of file ibis_parser.h.

Referenced by Check(), and KIBIS_PIN::KIBIS_PIN().

◆ m_Rcol

int IbisComponentPin::m_Rcol = 0

Definition at line 219 of file ibis_parser.h.

◆ m_Reporter

◆ m_Rpin

double IbisComponentPin::m_Rpin = nan( NAN_NA )

Definition at line 215 of file ibis_parser.h.

Referenced by Check(), and KIBIS_PIN::KIBIS_PIN().

◆ m_signalName

std::string IbisComponentPin::m_signalName

Definition at line 213 of file ibis_parser.h.

Referenced by Check(), and KIBIS_PIN::KIBIS_PIN().


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