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)
 

Static Public Attributes

static constexpr auto REFERENCE_FIELD = "Reference"
 
static constexpr auto VALUE_FIELD = "Value"
 

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

◆ GenerateDeviceSubtype()

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

◆ GenerateEnable()

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

◆ GenerateParams()

◆ generateParamValuePair()

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

◆ GeneratePins()

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

◆ GenerateValue()

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

◆ ParseEnable()

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

◆ ParseParams()

◆ ParsePins()

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

◆ ParseValue()

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

◆ SIM_MODEL_SERIALIZER()

SIM_MODEL_SERIALIZER::SIM_MODEL_SERIALIZER ( SIM_MODEL aModel)
inline

Definition at line 126 of file sim_model_serializer.h.

Member Data Documentation

◆ m_model

◆ REFERENCE_FIELD

constexpr auto SIM_MODEL_SERIALIZER::REFERENCE_FIELD = "Reference"
staticconstexprinherited

Definition at line 122 of file sim_model_serializer.h.

◆ VALUE_FIELD

constexpr auto SIM_MODEL_SERIALIZER::VALUE_FIELD = "Value"
staticconstexprinherited

Definition at line 123 of file sim_model_serializer.h.


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