Minsky
schema2::Group Struct Reference

#include <schema2.h>

Inheritance diagram for schema2::Group:
Inheritance graph
Collaboration diagram for schema2::Group:
Collaboration graph

Public Member Functions

 Group ()
 
 Group (const schema1::Group &g)
 note this assumes that ids have been uniquified prior to this call More...
 
- Public Member Functions inherited from schema2::Item
 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)
 
- Public Member Functions inherited from schema2::ItemBase
 ItemBase ()
 
 ItemBase (int id, const minsky::Item &it, const std::vector< int > &ports)
 
 ItemBase (const schema1::Item &it, const std::string &type="Item")
 
- Public Member Functions inherited from minsky::PlotOptions< Note >
 PlotOptions ()=default
 
 PlotOptions (const Note &x)
 
PlotOptionsoperator= (const PlotWidget &plot)
 
void applyPlotOptions (PlotWidget &plot) const
 

Public Attributes

vector< int > items
 
Optional< vector< int > > inVariables
 
Optional< vector< int > > outVariables
 
- Public Attributes inherited from schema2::Item
Optional< float > width
 
Optional< float > height
 
Optional< std::string > name
 
Optional< std::string > init
 
Optional< std::string > units
 
Optional< Sliderslider
 
Optional< int > intVar
 
Optional< std::map< double, double > > dataOpData
 
Optional< std::string > filename
 
Optional< RavelStateravelState
 
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
 
- Public Attributes inherited from schema2::ItemBase
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
 
- Public Attributes inherited from minsky::PlotOptions< Note >
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< LegendGeometrylegendGeometry
 
Optional< std::vector< ecolab::Plot::LineStyle > > palette
 
Optional< std::vector< std::string > > horizontalMarkers
 
Optional< std::vector< std::string > > verticalMarkers
 

Detailed Description

Definition at line 186 of file schema2.h.

Constructor & Destructor Documentation

◆ Group() [1/2]

schema2::Group::Group ( )
inline

Definition at line 190 of file schema2.h.

190 {}

◆ Group() [2/2]

schema2::Group::Group ( const schema1::Group g)
inline

note this assumes that ids have been uniquified prior to this call

Definition at line 192 of file schema2.h.

192  :
193  Item(g), items(g.items) {}
vector< int > items
Definition: schema1.h:167
vector< int > items
Definition: schema2.h:188

Member Data Documentation

◆ inVariables

Optional<vector<int> > schema2::Group::inVariables

Definition at line 189 of file schema2.h.

◆ items

vector<int> schema2::Group::items

Definition at line 188 of file schema2.h.

◆ outVariables

Optional<vector<int> > schema2::Group::outVariables

Definition at line 189 of file schema2.h.


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