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

#include <ibis_parser.h>

Inheritance diagram for IbisFile:
IBIS_INPUT IBIS_BASE

Public Member Functions

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

IbisHeader m_header
 
std::vector< IbisComponentm_components
 
std::vector< IbisModelSelectorm_modelSelectors
 
std::vector< IbisModelm_models
 
std::vector< IbisPackageModelm_packageModels
 
std::map< std::string, IbisSubmodelm_submodels
 
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 691 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisFile()

IbisFile::IbisFile ( REPORTER * aReporter)
inline

Definition at line 694 of file ibis_parser.h.

References IBIS_INPUT::IBIS_INPUT(), and m_header.

◆ ~IbisFile()

virtual IbisFile::~IbisFile ( )
inlinevirtual

Definition at line 699 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 dvdtTypMinMax, IBIS_MATRIX, IbisComponent, IbisComponentPackage, IbisComponentPin, IbisHeader, IbisModel, IbisModelSelector, IbisPackageModel, IbisRamp, IbisSubmodel, IVtable, and TypMinMaxValue.

Definition at line 98 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 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_components

std::vector<IbisComponent> IbisFile::m_components

Definition at line 703 of file ibis_parser.h.

Referenced by KIBIS::KIBIS().

◆ m_header

IbisHeader IbisFile::m_header

Definition at line 702 of file ibis_parser.h.

Referenced by IbisFile(), and KIBIS_FILE::Init().

◆ m_models

std::vector<IbisModel> IbisFile::m_models

Definition at line 705 of file ibis_parser.h.

Referenced by KIBIS::KIBIS().

◆ m_modelSelectors

std::vector<IbisModelSelector> IbisFile::m_modelSelectors

Definition at line 704 of file ibis_parser.h.

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

◆ m_packageModels

std::vector<IbisPackageModel> IbisFile::m_packageModels

Definition at line 706 of file ibis_parser.h.

◆ m_Reporter

◆ m_submodels

std::map<std::string, IbisSubmodel> IbisFile::m_submodels

Definition at line 707 of file ibis_parser.h.

Referenced by KIBIS_MODEL::KIBIS_MODEL().


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