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 (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 164 of file ibis_parser.h.
|
inline |
Definition at line 167 of file ibis_parser.h.
|
overridevirtual |
Check if the data held by the object is valid.
Reimplemented from IBIS_INPUT.
Definition at line 608 of file ibis_parser.cpp.
References _, IBIS_MAX_VERSION, m_fileName, m_fileRevision, m_ibisVersion, IBIS_ANY::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 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().
|
inlineinherited |
Print a message.
Call m_reporter->Report if m_reporter exists.
aMsg | Message |
aSeverity | Message sevirity |
Definition at line 65 of file ibis_parser.h.
References IBIS_ANY::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 175 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_date |
Definition at line 172 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_disclaimer |
Definition at line 174 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_fileName |
Definition at line 170 of file ibis_parser.h.
Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().
double IbisHeader::m_fileRevision = -1 |
Definition at line 169 of file ibis_parser.h.
Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().
double IbisHeader::m_ibisVersion = -1 |
Definition at line 168 of file ibis_parser.h.
Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().
std::string IbisHeader::m_notes |
Definition at line 173 of file ibis_parser.h.
Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().
|
inherited |
Definition at line 56 of file ibis_parser.h.
Referenced by BOOST_AUTO_TEST_CASE(), IbisParser::changeContext(), IBIS_ANY::IBIS_ANY(), SPICE_GENERATOR_IBIS::IbisDevice(), KIBIS::KIBIS(), IbisParser::parsePackageModelModelData(), IbisParser::readDiffPin(), IbisParser::readIVtableEntry(), IbisParser::readMatrix(), IbisParser::readPin(), IbisParser::readPinMapping(), IbisParser::readVTtableEntry(), IbisParser::readWaveform(), IBIS_ANY::Report(), and KIBIS_MODEL::TrimWaveform().
std::string IbisHeader::m_source |
Definition at line 171 of file ibis_parser.h.
Referenced by IbisParser::parseHeader().