KiCad PCB EDA Suite
|
#include <kibis.h>
Public Member Functions | |
KIBIS_FILE (KIBIS &aTopLevel) | |
bool | Init (const IbisParser &aParser) |
Public Attributes | |
std::string | m_fileName |
double | m_fileRev |
double | m_ibisVersion |
std::string | m_date |
std::string | m_source |
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 | |
KIBIS * | m_topLevel |
bool | m_valid |
REPORTER * | m_reporter |
KIBIS_FILE::KIBIS_FILE | ( | KIBIS & | aTopLevel | ) |
Definition at line 137 of file kibis.cpp.
References m_fileRev, and m_ibisVersion.
|
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().
bool KIBIS_FILE::Init | ( | const IbisParser & | aParser | ) |
Definition at line 144 of file kibis.cpp.
References IbisHeader::m_copyright, m_copyright, IbisHeader::m_date, m_date, IbisHeader::m_disclaimer, m_disclaimer, IbisHeader::m_fileName, m_fileName, m_fileRev, IbisHeader::m_fileRevision, IbisFile::m_header, IbisParser::m_ibisFile, IbisHeader::m_ibisVersion, m_ibisVersion, IbisHeader::m_notes, m_notes, and KIBIS_ANY::m_valid.
Referenced by KIBIS::KIBIS().
|
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(), IbisHeader::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().
double KIBIS_FILE::m_fileRev |
Definition at line 219 of file kibis.h.
Referenced by Init(), and KIBIS_FILE().
double KIBIS_FILE::m_ibisVersion |
Definition at line 220 of file kibis.h.
Referenced by Init(), and KIBIS_FILE().
|
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().
|
inherited |
Definition at line 56 of file kibis.h.
Referenced by KIBIS_PIN::getKuKdFromFile(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), and KIBIS_COMPONENT::KIBIS_COMPONENT().
|
inherited |
Definition at line 57 of file kibis.h.
Referenced by BOOST_AUTO_TEST_CASE(), SPICE_GENERATOR_IBIS::IbisDevice(), Init(), KIBIS::KIBIS(), KIBIS_COMPONENT::KIBIS_COMPONENT(), KIBIS_MODEL::KIBIS_MODEL(), KIBIS_PIN::KIBIS_PIN(), KIBIS_WAVEFORM::KIBIS_WAVEFORM(), and SIM_LIBRARY_IBIS::ReadFile().