Minsky
minsky::VariableValueData Struct Reference

#include <variableValue.h>

Inheritance diagram for minsky::VariableValueData:
Inheritance graph
Collaboration diagram for minsky::VariableValueData:
Collaboration graph

Public Member Functions

void setUnits (const std::string &x)
 
- Public Member Functions inherited from minsky::Slider
double maxSliderSteps () const
 ensure there are at most 10000 steps between sliderMin and Max. see ticket 1255. More...
 

Public Attributes

TensorVal tensorInit
 when init is a tensor of values, this overrides the init string More...
 
TensorPtr rhs
 when the RHS is attached to a tensor expression, this is a reference to it More...
 
Units units
 dimension units of this value More...
 
bool unitsCached =false
 
std::string detailedText
 long and short descriptions - common to all variables of a given name More...
 
std::string tooltip
 
bool godleyOverridden =false
 
std::string name
 
classdesc::Exclude< std::weak_ptr< Group > > m_scope
 
CSVDialog csvDialog
 for importing CSV files More...
 
- Public Attributes inherited from minsky::Slider
bool sliderStepRel =false
 
double sliderMin =std::numeric_limits<double>::max()
 
double sliderMax =-sliderMin
 
double sliderStep =0
 
bool enableSlider =true
 

Detailed Description

Definition at line 45 of file variableValue.h.

Member Function Documentation

◆ setUnits()

void minsky::VariableValueData::setUnits ( const std::string &  x)
inline

Definition at line 57 of file variableValue.h.

57 {units=Units(x);}
Units units
dimension units of this value
Definition: variableValue.h:55

Member Data Documentation

◆ csvDialog

CSVDialog minsky::VariableValueData::csvDialog

for importing CSV files

Definition at line 67 of file variableValue.h.

◆ detailedText

std::string minsky::VariableValueData::detailedText

long and short descriptions - common to all variables of a given name

Definition at line 60 of file variableValue.h.

◆ godleyOverridden

bool minsky::VariableValueData::godleyOverridden =false

Definition at line 62 of file variableValue.h.

Referenced by minsky::GodleyIcon::update().

◆ m_scope

classdesc::Exclude<std::weak_ptr<Group> > minsky::VariableValueData::m_scope

Definition at line 64 of file variableValue.h.

Referenced by minsky::VariableValues::initValue().

◆ name

std::string minsky::VariableValueData::name

Definition at line 63 of file variableValue.h.

Referenced by minsky::VariableValues::initValue().

◆ rhs

TensorPtr minsky::VariableValueData::rhs

when the RHS is attached to a tensor expression, this is a reference to it

Definition at line 52 of file variableValue.h.

◆ tensorInit

TensorVal minsky::VariableValueData::tensorInit

when init is a tensor of values, this overrides the init string

Definition at line 50 of file variableValue.h.

Referenced by minsky::VariableValues::initValue(), minsky::loadValueFromCSVFileT(), and minsky::VariableValues::resetValue().

◆ tooltip

std::string minsky::VariableValueData::tooltip

Definition at line 60 of file variableValue.h.

◆ units

Units minsky::VariableValueData::units

dimension units of this value

Definition at line 55 of file variableValue.h.

◆ unitsCached

bool minsky::VariableValueData::unitsCached =false

Definition at line 56 of file variableValue.h.


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