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

#include <ibis_parser.h>

Inheritance diagram for IBIS_MATRIX_BANDED:
IBIS_MATRIX IBIS_INPUT IBIS_ANY

Public Member Functions

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

Public Attributes

IBIS_MATRIX_TYPE m_type = IBIS_MATRIX_TYPE::BANDED
 
int m_dim = -2
 
int m_bandwidth = 0
 
std::vector< double > m_data
 
REPORTERm_reporter
 

Protected Member Functions

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

Detailed Description

Definition at line 121 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IBIS_MATRIX_BANDED()

IBIS_MATRIX_BANDED::IBIS_MATRIX_BANDED ( REPORTER aReporter)
inline

Definition at line 124 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IBIS_MATRIX_BANDED::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 61 of file ibis_parser.cpp.

References _, m_bandwidth, m_data, m_dim, IBIS_ANY::Report(), and RPT_SEVERITY_ERROR.

◆ doubleToString()

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

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_bandwidth

int IBIS_MATRIX_BANDED::m_bandwidth = 0

Definition at line 127 of file ibis_parser.h.

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

◆ m_data

std::vector<double> IBIS_MATRIX_BANDED::m_data

Definition at line 128 of file ibis_parser.h.

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

◆ m_dim

int IBIS_MATRIX_BANDED::m_dim = -2

Definition at line 126 of file ibis_parser.h.

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

◆ m_reporter

◆ m_type

IBIS_MATRIX_TYPE IBIS_MATRIX_BANDED::m_type = IBIS_MATRIX_TYPE::BANDED

Definition at line 125 of file ibis_parser.h.


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