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 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 (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_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 119 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IBIS_MATRIX()

IBIS_MATRIX::IBIS_MATRIX ( REPORTER aReporter)
inline

Definition at line 122 of file ibis_parser.h.

◆ ~IBIS_MATRIX()

virtual IBIS_MATRIX::~IBIS_MATRIX ( )
inlinevirtual

Definition at line 126 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 97 of file ibis_parser.h.

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

std::vector<double> IBIS_MATRIX::m_data

Definition at line 130 of file ibis_parser.h.

◆ m_dim

int IBIS_MATRIX::m_dim = -5

Definition at line 129 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 128 of file ibis_parser.h.


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