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

#include <ibis_parser.h>

Inheritance diagram for IBIS_MATRIX:
IBIS_INPUT IBIS_BASE

Public Member Functions

 IBIS_MATRIX (REPORTER *aReporter)
 
virtual ~IBIS_MATRIX ()
 
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

IBIS_MATRIX_TYPE m_type = IBIS_MATRIX_TYPE::UNDEFINED
 
int m_rows = -1
 
int m_cols = -1
 
std::vector< double > m_data
 
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 120 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IBIS_MATRIX()

IBIS_MATRIX::IBIS_MATRIX ( REPORTER * aReporter)
inline

Definition at line 123 of file ibis_parser.h.

References IBIS_INPUT::IBIS_INPUT().

◆ ~IBIS_MATRIX()

virtual IBIS_MATRIX::~IBIS_MATRIX ( )
inlinevirtual

Definition at line 127 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IBIS_MATRIX::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 63 of file ibis_parser.cpp.

References _, m_cols, m_data, m_rows, IBIS_BASE::Report(), 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_cols

int IBIS_MATRIX::m_cols = -1

Definition at line 131 of file ibis_parser.h.

Referenced by Check().

◆ m_data

std::vector<double> IBIS_MATRIX::m_data

Definition at line 132 of file ibis_parser.h.

Referenced by Check().

◆ m_Reporter

◆ m_rows

int IBIS_MATRIX::m_rows = -1

Definition at line 130 of file ibis_parser.h.

Referenced by Check().

◆ m_type

Definition at line 129 of file ibis_parser.h.


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