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

#include <sim_property.h>

Inheritance diagram for SIM_ENUM_PROPERTY:
SIM_PROPERTY

Public Member Functions

 SIM_ENUM_PROPERTY (const wxString &aLabel, const wxString &aName, SIM_MODEL &aModel, int aParamIndex, const wxArrayString &aValues)
 
bool IntToValue (wxVariant &aVariant, int aNumber, int aArgFlags=0) const override
 
void Disable ()
 
const SIM_MODEL::PARAMGetParam () const
 

Protected Attributes

SIM_MODELm_model
 
int m_paramIndex
 
bool m_needsEval
 
NUMERIC_EVALUATOR m_eval
 
bool m_disabled
 If true, never access the models.
 

Detailed Description

Definition at line 112 of file sim_property.h.

Constructor & Destructor Documentation

◆ SIM_ENUM_PROPERTY()

SIM_ENUM_PROPERTY::SIM_ENUM_PROPERTY ( const wxString & aLabel,
const wxString & aName,
SIM_MODEL & aModel,
int aParamIndex,
const wxArrayString & aValues )

Member Function Documentation

◆ Disable()

void SIM_PROPERTY::Disable ( )
inherited

Definition at line 51 of file sim_property.cpp.

References m_disabled.

◆ GetParam()

const SIM_MODEL::PARAM & SIM_PROPERTY::GetParam ( ) const
inlineinherited

◆ IntToValue()

bool SIM_ENUM_PROPERTY::IntToValue ( wxVariant & aVariant,
int aNumber,
int aArgFlags = 0 ) const
override

Member Data Documentation

◆ m_disabled

bool SIM_PROPERTY::m_disabled
protectedinherited

If true, never access the models.

Definition at line 69 of file sim_property.h.

Referenced by Disable(), SIM_ENUM_PROPERTY::IntToValue(), SIM_BOOL_PROPERTY::OnSetValue(), SIM_PROPERTY(), and SIM_STRING_PROPERTY::StringToValue().

◆ m_eval

NUMERIC_EVALUATOR SIM_PROPERTY::m_eval
mutableprotectedinherited

◆ m_model

◆ m_needsEval

bool SIM_PROPERTY::m_needsEval
protectedinherited

◆ m_paramIndex


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