Minsky
|
#include <schema3.h>
Public Member Functions | |
void | packTensorInit (const minsky::VariableBase &) |
Item () | |
Item (int id, const minsky::Item &it, const std::vector< int > &ports) | |
Item (int id, const minsky::VariableBase &v, const std::vector< int > &ports) | |
Item (int id, const minsky::OperationBase &o, const std::vector< int > &ports) | |
Item (int id, const minsky::GodleyIcon &g, const std::vector< int > &ports) | |
Item (int id, const minsky::PlotWidget &p, const std::vector< int > &ports) | |
Item (int id, const minsky::SwitchIcon &s, const std::vector< int > &ports) | |
Item (int id, const minsky::Group &g, const std::vector< int > &ports) | |
Item (const schema2::Item &it) | |
![]() | |
ItemBase () | |
ItemBase (int id, const minsky::Item &it, const std::vector< int > &ports) | |
ItemBase (const schema2::Item &it, const std::string &type="Item") | |
![]() | |
PlotOptions ()=default | |
PlotOptions (const Note &x) | |
PlotOptions & | operator= (const PlotWidget &plot) |
void | applyPlotOptions (PlotWidget &plot) const |
Static Public Member Functions | |
static Optional< classdesc::CDATA > | convertTensorDataFromSchema2 (const Optional< classdesc::CDATA > &) |
Public Attributes | |
Optional< std::string > | init |
Optional< std::string > | units |
Optional< Slider > | slider |
bool | miniPlot =false |
Optional< int > | intVar |
Optional< std::string > | url |
Optional< minsky::DataSpecSchema > | csvDataSpec |
Optional< std::map< double, double > > | dataOpData |
Optional< std::string > | expression |
Optional< std::string > | filename |
Optional< schema2::RavelState > | ravelState |
Optional< int > | lockGroup |
Optional< std::set< std::string > > | lockGroupHandles |
Optional< minsky::Dimensions > | dimensions |
Optional< std::string > | axis |
Optional< double > | arg |
Optional< std::vector< std::vector< std::string > > > | data |
Optional< std::vector< minsky::GodleyAssetClass::AssetClass > > | assetClasses |
Optional< bool > | editorMode |
Optional< bool > | buttonDisplay |
Optional< bool > | variableDisplay |
Optional< string > | currency |
Optional< minsky::ShowSlice > | showSlice |
Optional< minsky::ShowSlice > | showColSlice |
Optional< std::vector< minsky::Bookmark > > | bookmarks |
Optional< classdesc::CDATA > | tensorData |
Optional< std::vector< ecolab::Plot::LineStyle > > | palette |
![]() | |
int | id =-1 |
std::string | type |
float | x =0 |
float | y =0 |
position in canvas, or within group More... | |
float | itemTabX =nan("") |
float | itemTabY =nan("") |
float | scaleFactor =1 |
scale factor of item on canvas, or within group More... | |
double | rotation =0 |
rotation of icon, in degrees More... | |
float | width =10 |
float | height =10 |
std::vector< int > | ports |
bool | bookmark =false |
![]() | |
Optional< std::string > | name |
Optional< bool > | logx |
Optional< bool > | logy |
Optional< bool > | ypercent |
Optional< bool > | grid |
Optional< bool > | subgrid |
Optional< minsky::PlotWidget::PlotType > | plotType |
Optional< std::string > | xlabel |
Optional< std::string > | ylabel |
Optional< std::string > | y1label |
Optional< int > | nxTicks |
Optional< int > | nyTicks |
Optional< double > | xtickAngle |
Optional< double > | exp_threshold |
double | xmin |
double | xmax |
double | ymin |
double | ymax |
double | y1min |
double | y1max |
unsigned | symbolEvery |
Optional< ecolab::Plot::Side > | legend |
Optional< LegendGeometry > | legendGeometry |
Optional< std::vector< ecolab::Plot::LineStyle > > | palette |
Optional< std::vector< std::string > > | horizontalMarkers |
Optional< std::vector< std::string > > | verticalMarkers |
|
inline |
|
inline |
Definition at line 142 of file schema3.h.
References minsky::VariableBase::enableSlider(), minsky::VariableBase::rawName(), minsky::VariableBase::sliderMax(), minsky::VariableBase::sliderMin(), minsky::VariableBase::sliderStep(), minsky::VariableBase::sliderStepRel(), and minsky::VariableBase::vValue().
|
inline |
Definition at line 155 of file schema3.h.
|
inline |
Definition at line 158 of file schema3.h.
References minsky::GodleyIcon::table, and minsky::GodleyTable::title.
|
inline |
Definition at line 164 of file schema3.h.
|
inline |
|
inline |
Definition at line 173 of file schema3.h.
References minsky::Group::title.
|
inline |
Definition at line 180 of file schema3.h.
References schema2::Item::name.
|
static |
Definition at line 110 of file schema3.cc.
References minsky::decode(), minsky::encode(), pack(), and schema2::unpack().
void schema3::Item::packTensorInit | ( | const minsky::VariableBase & | v | ) |
Definition at line 285 of file schema3.cc.
References minsky::encode(), pack(), and minsky::VariableBase::vValue().
Optional<double> schema3::Item::arg |
Definition at line 123 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::vector<minsky::GodleyAssetClass::AssetClass> > schema3::Item::assetClasses |
Definition at line 126 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::string> schema3::Item::axis |
Definition at line 122 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::vector<minsky::Bookmark> > schema3::Item::bookmarks |
Definition at line 133 of file schema3.h.
Referenced by schema3::populateItem().
Optional<bool> schema3::Item::buttonDisplay |
Definition at line 127 of file schema3.h.
Referenced by schema3::populateItem().
Optional<minsky::DataSpecSchema> schema3::Item::csvDataSpec |
Optional<string> schema3::Item::currency |
Definition at line 128 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::vector<std::vector<std::string> > > schema3::Item::data |
Definition at line 125 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::map<double,double> > schema3::Item::dataOpData |
Definition at line 114 of file schema3.h.
Referenced by schema3::populateItem().
Optional<minsky::Dimensions> schema3::Item::dimensions |
Definition at line 120 of file schema3.h.
Referenced by schema3::populateItem().
Optional<bool> schema3::Item::editorMode |
Definition at line 127 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::string> schema3::Item::expression |
Definition at line 115 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::set<std::string> > schema3::Item::lockGroupHandles |
bool schema3::Item::miniPlot =false |
Definition at line 110 of file schema3.h.
Referenced by schema3::populateItem().
Optional<std::vector<ecolab::Plot::LineStyle> > schema3::Item::palette |
Definition at line 135 of file schema3.h.
Referenced by schema3::populateItem().
Optional<schema2::RavelState> schema3::Item::ravelState |
Definition at line 117 of file schema3.h.
Referenced by schema3::populateItem().
Optional<minsky::ShowSlice> schema3::Item::showColSlice |
Definition at line 131 of file schema3.h.
Referenced by schema3::populateItem().
Optional<minsky::ShowSlice> schema3::Item::showSlice |
Definition at line 130 of file schema3.h.
Referenced by schema3::populateItem().
Definition at line 109 of file schema3.h.
Referenced by schema3::populateItem().
Optional<bool> schema3::Item::variableDisplay |
Definition at line 127 of file schema3.h.
Referenced by schema3::populateItem().