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

#include <ibis_parser.h>

Inheritance diagram for IbisHeader:
IBIS_SECTION

Public Member Functions

 IbisHeader (REPORTER *aReporter)
 
bool Check () override
 Check if the data held by the object is valid. More...
 

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)
 Print a message. More...
 
std::string doubleToString (double aNumber)
 Convert a double to string using scientific notation. More...
 

Private Attributes

REPORTERm_reporter
 

Detailed Description

Definition at line 164 of file ibis_parser.h.

Constructor & Destructor Documentation

◆ IbisHeader()

IbisHeader::IbisHeader ( REPORTER aReporter)
inline

Definition at line 167 of file ibis_parser.h.

Member Function Documentation

◆ Check()

bool IbisHeader::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 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().

◆ doubleToString()

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

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_copyright

std::string IbisHeader::m_copyright

Definition at line 175 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().

◆ m_date

std::string IbisHeader::m_date

Definition at line 172 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().

◆ m_disclaimer

std::string IbisHeader::m_disclaimer

Definition at line 174 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().

◆ m_fileName

std::string IbisHeader::m_fileName

Definition at line 170 of file ibis_parser.h.

Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().

◆ m_fileRevision

double IbisHeader::m_fileRevision = -1

Definition at line 169 of file ibis_parser.h.

Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().

◆ m_ibisVersion

double IbisHeader::m_ibisVersion = -1

Definition at line 168 of file ibis_parser.h.

Referenced by Check(), KIBIS_FILE::Init(), and IbisParser::parseHeader().

◆ m_notes

std::string IbisHeader::m_notes

Definition at line 173 of file ibis_parser.h.

Referenced by KIBIS_FILE::Init(), and IbisParser::parseHeader().

◆ m_reporter

◆ m_source

std::string IbisHeader::m_source

Definition at line 171 of file ibis_parser.h.

Referenced by IbisParser::parseHeader().


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