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

#include <ibis_parser.h>

Inheritance diagram for IbisComponent:
IBIS_INPUT IBIS_ANY

Public Member Functions

 IbisComponent (REPORTER *aReporter)
 
virtual ~IbisComponent ()
 
bool Check () override
 Check if the data held by the object is valid.
 
void Report (std::string aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
 Print a message.
 

Public Attributes

std::string m_name = ""
 
std::string m_manufacturer = ""
 
IbisComponentPackage m_package
 
std::vector< IbisComponentPinm_pins
 
std::vector< IbisComponentPinMappingm_pinMappings
 
std::string m_packageModel
 
std::string m_busLabel
 
std::string m_dieSupplyPads
 
IbisDiffPin m_diffPin
 
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 285 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisComponent()

IbisComponent::IbisComponent ( REPORTER aReporter)
inline

Definition at line 288 of file ibis_parser.h.

◆ ~IbisComponent()

virtual IbisComponent::~IbisComponent ( )
inlinevirtual

Definition at line 294 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IbisComponent::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 242 of file ibis_parser.cpp.

References _, IbisComponentPackage::Check(), m_manufacturer, m_name, m_package, m_pins, pin, IBIS_ANY::Report(), RPT_SEVERITY_ACTION, and RPT_SEVERITY_ERROR.

Referenced by IbisParser::changeContext().

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

◆ Report()

Member Data Documentation

◆ m_busLabel

std::string IbisComponent::m_busLabel

Definition at line 303 of file ibis_parser.h.

◆ m_dieSupplyPads

std::string IbisComponent::m_dieSupplyPads

Definition at line 304 of file ibis_parser.h.

◆ m_diffPin

IbisDiffPin IbisComponent::m_diffPin

Definition at line 305 of file ibis_parser.h.

Referenced by KIBIS::KIBIS(), and IbisParser::readDiffPin().

◆ m_manufacturer

std::string IbisComponent::m_manufacturer = ""

◆ m_name

std::string IbisComponent::m_name = ""

◆ m_package

IbisComponentPackage IbisComponent::m_package

Definition at line 299 of file ibis_parser.h.

Referenced by Check(), KIBIS_COMPONENT::KIBIS_COMPONENT(), and IbisParser::readPackage().

◆ m_packageModel

std::string IbisComponent::m_packageModel

Definition at line 302 of file ibis_parser.h.

Referenced by IbisParser::parseComponent().

◆ m_pinMappings

std::vector<IbisComponentPinMapping> IbisComponent::m_pinMappings

Definition at line 301 of file ibis_parser.h.

Referenced by IbisParser::readPinMapping().

◆ m_pins

std::vector<IbisComponentPin> IbisComponent::m_pins

Definition at line 300 of file ibis_parser.h.

Referenced by Check(), KIBIS_COMPONENT::KIBIS_COMPONENT(), and IbisParser::readPin().

◆ m_reporter


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