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

#include <sim_model_source.h>

Inheritance diagram for SIM_MODEL_SOURCE_SERIALIZER:
SIM_MODEL_SERIALIZER

Public Member Functions

 SIM_MODEL_SERIALIZER (SIM_MODEL &aModel)
 
std::string GenerateDevice () const
 
std::string GenerateDeviceSubtype () const
 
std::string GenerateValue () const
 
std::string GenerateParams () const
 
std::string GeneratePins () const
 
std::string GenerateEnable () const
 
void ParseValue (const std::string &aValue)
 
bool ParseParams (const std::string &aParams)
 
void ParsePins (const std::string &aPins)
 
void ParseEnable (const std::string &aEnable)
 

Protected Member Functions

std::string generateParamValuePair (const SIM_MODEL::PARAM &aParam) const
 

Private Attributes

SIM_MODELm_model
 

Detailed Description

Definition at line 64 of file sim_model_source.h.

Member Function Documentation

◆ GenerateDevice()

std::string SIM_MODEL_SERIALIZER::GenerateDevice ( ) const
inherited

Definition at line 58 of file sim_model_serializer.cpp.

References m_model.

◆ GenerateDeviceSubtype()

std::string SIM_MODEL_SERIALIZER::GenerateDeviceSubtype ( ) const
inherited

Definition at line 64 of file sim_model_serializer.cpp.

References m_model.

◆ GenerateEnable()

std::string SIM_MODEL_SERIALIZER::GenerateEnable ( ) const
inherited

Definition at line 156 of file sim_model_serializer.cpp.

References m_model.

◆ GenerateParams()

std::string SIM_MODEL_SERIALIZER::GenerateParams ( ) const
inherited

Definition at line 82 of file sim_model_serializer.cpp.

References generateParamValuePair(), m_model, and result.

◆ generateParamValuePair()

std::string SIM_MODEL_SERIALIZER::generateParamValuePair ( const SIM_MODEL::PARAM & aParam) const
protectedinherited

◆ GeneratePins()

std::string SIM_MODEL_SERIALIZER::GeneratePins ( ) const
inherited

Definition at line 124 of file sim_model_serializer.cpp.

References m_model, pin, and result.

Referenced by SIM_MODEL::MigrateSimModel().

◆ GenerateValue()

std::string SIM_MODEL_SERIALIZER::GenerateValue ( ) const
inherited

Definition at line 70 of file sim_model_serializer.cpp.

References m_model, and result.

◆ ParseEnable()

void SIM_MODEL_SERIALIZER::ParseEnable ( const std::string & aEnable)
inherited

Definition at line 290 of file sim_model_serializer.cpp.

References m_model.

◆ ParseParams()

bool SIM_MODEL_SERIALIZER::ParseParams ( const std::string & aParams)
inherited

Definition at line 193 of file sim_model_serializer.cpp.

References m_model, SIM_VALUE_GRAMMAR::SI, and THROW_IO_ERROR.

◆ ParsePins()

void SIM_MODEL_SERIALIZER::ParsePins ( const std::string & aPins)
inherited

Definition at line 259 of file sim_model_serializer.cpp.

References m_model, and THROW_IO_ERROR.

◆ ParseValue()

void SIM_MODEL_SERIALIZER::ParseValue ( const std::string & aValue)
inherited

Definition at line 162 of file sim_model_serializer.cpp.

References m_model, THROW_IO_ERROR, and SIM_VALUE::TYPE_FLOAT.

◆ SIM_MODEL_SERIALIZER()

SIM_MODEL_SERIALIZER::SIM_MODEL_SERIALIZER ( SIM_MODEL & aModel)
inline

Definition at line 123 of file sim_model_serializer.h.

Member Data Documentation

◆ m_model


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