Minsky
|
#include <schema2.h>
Public Member Functions | |
Item () | |
Item (const schema1::Item &it) | |
Item (const schema1::Operation &it) | |
Item (const schema1::Variable &it) | |
Item (const schema1::Godley &it) | |
Item (const schema1::Plot &it) | |
Item (const schema1::Group &it) | |
Item (const schema1::Switch &it) | |
void | addLayout (const schema1::UnionLayout &layout) |
![]() | |
ItemBase () | |
ItemBase (int id, const minsky::Item &it, const std::vector< int > &ports) | |
ItemBase (const schema1::Item &it, const std::string &type="Item") | |
![]() | |
PlotOptions ()=default | |
PlotOptions (const Note &x) | |
PlotOptions & | operator= (const PlotWidget &plot) |
void | applyPlotOptions (PlotWidget &plot) const |
Public Attributes | |
Optional< float > | width |
Optional< float > | height |
Optional< std::string > | name |
Optional< std::string > | init |
Optional< std::string > | units |
Optional< Slider > | slider |
Optional< int > | intVar |
Optional< std::map< double, double > > | dataOpData |
Optional< std::string > | filename |
Optional< RavelState > | ravelState |
Optional< int > | lockGroup |
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< float > | iconScale |
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 | zoomFactor =1 |
double | rotation =0 |
rotation of icon, in degrees More... | |
std::vector< int > | ports |
![]() | |
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 124 of file schema2.h.
References minsky::OperationType::constant, TCLcmd::trap::init, schema1::Operation::intVar, schema1::Operation::ports, minsky::to_string(), schema1::Operation::type, and schema1::Operation::value.
|
inline |
schema2::Item::Item | ( | const schema1::Godley & | it | ) |
Definition at line 89 of file schema2.cc.
References assetClasses, minsky::FlowCoef::coef, data, schema1::Godley::doubleEntryCompliant, minsky::FlowCoef::name, schema2::ItemBase::ports, schema1::Godley::ports, and minsky::FlowCoef::str().
|
inline |
Definition at line 140 of file schema2.h.
References schema1::Plot::legend, schema1::Plot::logx, schema1::Plot::logy, schema1::Plot::ports, schema1::Plot::xlabel, schema1::Plot::y1label, and schema1::Plot::ylabel.
|
inline |
|
inline |
|
inline |
Definition at line 154 of file schema2.h.
References schema1::SizeLayout::height, schema1::ItemLayout::rotation, schema1::SliderLayout::sliderBoundsSet, schema1::SliderLayout::sliderMax, schema1::SliderLayout::sliderMin, schema1::SliderLayout::sliderStep, schema1::SliderLayout::sliderStepRel, schema1::SliderLayout::sliderVisible, schema1::SizeLayout::width, schema1::PositionLayout::x, and schema1::PositionLayout::y.
Optional<std::vector<minsky::GodleyAssetClass::AssetClass> > schema2::Item::assetClasses |
Optional<std::vector<minsky::Bookmark> > schema2::Item::bookmarks |
Optional<std::vector<std::vector<std::string> > > schema2::Item::data |
Optional<std::map<double,double> > schema2::Item::dataOpData |
Optional<std::string> schema2::Item::name |
Definition at line 97 of file schema2.h.
Referenced by schema3::Item::Item().
Optional<std::vector<ecolab::Plot::LineStyle> > schema2::Item::palette |
Optional<RavelState> schema2::Item::ravelState |