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

#include <ibis_parser.h>

Inheritance diagram for IBIS_MATRIX:
IBIS_INPUT IBIS_ANY IBIS_MATRIX_BANDED IBIS_MATRIX_FULL IBIS_MATRIX_SPARSE

Public Member Functions

 IBIS_MATRIX (REPORTER *aReporter)
 
virtual ~IBIS_MATRIX ()
 
virtual bool Check ()
 Check if the data held by the object is valid.
 
void Report (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_dim = -5
 
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 110 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IBIS_MATRIX()

IBIS_MATRIX::IBIS_MATRIX ( REPORTER aReporter)
inline

Definition at line 113 of file ibis_parser.h.

◆ ~IBIS_MATRIX()

virtual IBIS_MATRIX::~IBIS_MATRIX ( )
inlinevirtual

Definition at line 114 of file ibis_parser.h.

Member Function Documentation

◆ Check()

virtual bool IBIS_INPUT::Check ( )
inlinevirtualinherited

Check if the data held by the object is valid.

Returns
true in case of success

Reimplemented in IBIS_MATRIX_BANDED, IBIS_MATRIX_SPARSE, IBIS_MATRIX_FULL, IbisHeader, TypMinMaxValue, IbisComponentPackage, IbisComponentPin, IbisComponent, IbisModelSelector, IVtable, dvdtTypMinMax, IbisRamp, IbisModel, and IbisPackageModel.

Definition at line 89 of file ibis_parser.h.

◆ doubleToString()

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

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()

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

Member Data Documentation

◆ m_data

std::vector<double> IBIS_MATRIX::m_data

Definition at line 118 of file ibis_parser.h.

◆ m_dim

int IBIS_MATRIX::m_dim = -5

Definition at line 117 of file ibis_parser.h.

Referenced by IbisParser::readMatrix().

◆ m_reporter

◆ m_type

IBIS_MATRIX_TYPE IBIS_MATRIX::m_type = IBIS_MATRIX_TYPE::UNDEFINED

Definition at line 116 of file ibis_parser.h.


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