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

#include <kibis.h>

Inheritance diagram for KIBIS:
KIBIS_ANY IBIS_ANY

Public Member Functions

 KIBIS ()
 Constructor for unitialized KIBIS members.
 
 KIBIS (const std::string &aFileName, REPORTER *aReporter=nullptr)
 
KIBIS_MODELGetModel (const std::string &aName)
 Return the model with name aName .
 
KIBIS_COMPONENTGetComponent (const std::string &aName)
 Return the component with name aName .
 
void Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
 Print a message.
 

Public Attributes

std::vector< KIBIS_COMPONENTm_components
 
std::vector< KIBIS_MODELm_models
 
KIBIS_FILE m_file
 
std::string m_cacheDir = ""
 Absolute path of the directory that will be used for caching.
 
KIBISm_topLevel
 
bool m_valid
 
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 451 of file kibis.h.

Constructor & Destructor Documentation

◆ KIBIS() [1/2]

KIBIS::KIBIS ( )
inline

Constructor for unitialized KIBIS members.

Definition at line 455 of file kibis.h.

◆ KIBIS() [2/2]

Member Function Documentation

◆ doubleToString()

std::string IBIS_ANY::doubleToString ( double  aNumber)
staticprotectedinherited

Convert a double to string using scientific notation.

Parameters
aNumberNumber
Returns
Output string

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().

◆ GetComponent()

KIBIS_COMPONENT * KIBIS::GetComponent ( const std::string &  aName)

Return the component with name aName .

Nullptr if not found

Definition at line 1404 of file kibis.cpp.

References m_components.

Referenced by BOOST_AUTO_TEST_CASE(), SIM_MODEL_IBIS::ChangePin(), and SPICE_GENERATOR_IBIS::IbisDevice().

◆ GetModel()

KIBIS_MODEL * KIBIS::GetModel ( const std::string &  aName)

Return the model with name aName .

Nullptr if not found

Definition at line 1393 of file kibis.cpp.

References m_models.

Referenced by BOOST_AUTO_TEST_CASE(), and SPICE_GENERATOR_IBIS::IbisDevice().

◆ Report()

void IBIS_ANY::Report ( std::string  aMsg,
SEVERITY  aSeverity = RPT_SEVERITY_INFO 
) const
inlineinherited

Member Data Documentation

◆ m_cacheDir

std::string KIBIS::m_cacheDir = ""

Absolute path of the directory that will be used for caching.


Definition at line 464 of file kibis.h.

Referenced by KIBIS_PIN::getKuKdFromFile(), KIBIS_PIN::getKuKdOneWaveform(), KIBIS_PIN::getKuKdTwoWaveforms(), and SPICE_GENERATOR_IBIS::IbisDevice().

◆ m_components

std::vector<KIBIS_COMPONENT> KIBIS::m_components

◆ m_file

KIBIS_FILE KIBIS::m_file

Definition at line 461 of file kibis.h.

Referenced by KIBIS().

◆ m_models

std::vector<KIBIS_MODEL> KIBIS::m_models

Definition at line 460 of file kibis.h.

Referenced by GetModel(), KIBIS(), and KIBIS_COMPONENT::KIBIS_COMPONENT().

◆ m_reporter

◆ m_topLevel

◆ m_valid


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