KiCad PCB EDA Suite
|
#include <ibis_parser.h>
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 | |
REPORTER * | m_Reporter |
Definition at line 189 of file ibis_parser.h.
|
inline |
Definition at line 192 of file ibis_parser.h.
|
overridevirtual |
Check if the data held by the object is valid.
Reimplemented from IBIS_INPUT.
Definition at line 630 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.
Referenced by IbisParser::changeContext().
|
staticprotectedinherited |
Convert a double to string using scientific notation.
aNumber | Number |
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().
|
inlineinherited |
Print a message.
Call m_Reporter->Report if m_Reporter exists.
aMsg | Message |
aSeverity | Message sevirity |
Definition at line 67 of file ibis_parser.h.
References IBIS_BASE::m_Reporter, and REPORTER::Report().
Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeCommentChar(), IbisParser::changeContext(), IBIS_MATRIX_BANDED::Check(), IBIS_MATRIX_SPARSE::Check(), IBIS_MATRIX_FULL::Check(), Check(), IbisComponentPackage::Check(), IbisComponentPin::Check(), IbisComponent::Check(), IVtable::Check(), IbisRamp::Check(), IbisModel::Check(), IbisPackageModel::Check(), KIBIS_WAVEFORM_PRBS::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::readDiffPin(), IbisParser::readDouble(), IbisParser::readInt(), IbisParser::readMatrix(), IbisParser::readMatrixBanded(), IbisParser::readMatrixFull(), IbisParser::readMatrixSparse(), IbisParser::readModel(), IbisParser::readPackage(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readRamp(), IbisParser::readTypMinMaxValue(), IbisParser::readWaveform(), KIBIS_MODEL::TrimWaveform(), KIBIS_PIN::writeSpiceDevice(), and KIBIS_PIN::writeSpiceDriver().
std::string IbisHeader::m_copyright |
Definition at line 203 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_date |
Definition at line 200 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_disclaimer |
Definition at line 202 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_fileName |
Definition at line 198 of file ibis_parser.h.
Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().
double IbisHeader::m_fileRevision = -1 |
Definition at line 197 of file ibis_parser.h.
Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().
double IbisHeader::m_ibisVersion = -1 |
Definition at line 196 of file ibis_parser.h.
Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_notes |
Definition at line 201 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
|
inherited |
Definition at line 74 of file ibis_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeContext(), IBIS_BASE::IBIS_BASE(), SPICE_GENERATOR_IBIS::IbisDevice(), KIBIS::KIBIS(), IbisParser::parsePackageModelModelData(), IbisParser::readDiffPin(), IbisParser::readIVtableEntry(), IbisParser::readMatrix(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readVTtableEntry(), IbisParser::readWaveform(), IBIS_BASE::Report(), and KIBIS_MODEL::TrimWaveform().
std::string IbisHeader::m_source |
Definition at line 199 of file ibis_parser.h.
Referenced by IbisParser::parseHeader().