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

#include <ibis_parser.h>

Inheritance diagram for IbisHeader:
IBIS_SECTION

Public Member Functions

 IbisHeader (REPORTER *aReporter)
 
bool Check () override
 Check if the data held by the object is valid.
 

Public Attributes

double m_ibisVersion = -1
 
double m_fileRevision = -1
 
std::string m_fileName
 
std::string m_source
 
std::string m_date
 
std::string m_notes
 
std::string m_disclaimer
 
std::string m_copyright
 

Private Member Functions

void Report (const std::string &aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
 Print a message.
 

Static Private Member Functions

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

Private Attributes

REPORTERm_Reporter
 

Detailed Description

Definition at line 147 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisHeader()

IbisHeader::IbisHeader ( REPORTER * aReporter)
inline

Definition at line 150 of file ibis_parser.h.

References IBIS_SECTION::IBIS_SECTION().

Member Function Documentation

◆ Check()

bool IbisHeader::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 808 of file ibis_parser.cpp.

References _, IBIS_MAX_VERSION, m_fileName, m_fileRevision, m_ibisVersion, IBIS_BASE::Report(), RPT_SEVERITY_ACTION, 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_copyright

std::string IbisHeader::m_copyright

Definition at line 161 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init().

◆ m_date

std::string IbisHeader::m_date

Definition at line 158 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init().

◆ m_disclaimer

std::string IbisHeader::m_disclaimer

Definition at line 160 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init().

◆ m_fileName

std::string IbisHeader::m_fileName

Definition at line 156 of file ibis_parser.h.

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

◆ m_fileRevision

double IbisHeader::m_fileRevision = -1

Definition at line 155 of file ibis_parser.h.

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

◆ m_ibisVersion

double IbisHeader::m_ibisVersion = -1

Definition at line 154 of file ibis_parser.h.

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

◆ m_notes

std::string IbisHeader::m_notes

Definition at line 159 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init().

◆ m_Reporter

◆ m_source

std::string IbisHeader::m_source

Definition at line 157 of file ibis_parser.h.


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