Minsky
schema3::Group Struct Reference

#include <schema3.h>

Inheritance diagram for schema3::Group:
Inheritance graph
Collaboration diagram for schema3::Group:
Collaboration graph

Public Member Functions

 Group ()
 
 Group (int id, const minsky::Group &g)
 
 Group (const schema2::Group &g)
 
- Public Member Functions inherited from schema3::Item
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)
 
- Public Member Functions inherited from schema3::ItemBase
 ItemBase ()
 
 ItemBase (int id, const minsky::Item &it, const std::vector< int > &ports)
 
 ItemBase (const schema2::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
 
int displayPlot =-1
 
Optional< vector< int > > inVariables
 
Optional< vector< int > > outVariables
 
- Public Attributes inherited from schema3::Item
Optional< std::string > init
 
Optional< std::string > units
 
Optional< Sliderslider
 
bool miniPlot =false
 
Optional< int > intVar
 
Optional< std::string > url
 
Optional< minsky::DataSpecSchemacsvDataSpec
 
Optional< std::map< double, double > > dataOpData
 
Optional< std::string > expression
 
Optional< std::string > filename
 
Optional< schema2::RavelStateravelState
 
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::ShowSliceshowSlice
 
Optional< minsky::ShowSliceshowColSlice
 
Optional< std::vector< minsky::Bookmark > > bookmarks
 
Optional< classdesc::CDATA > tensorData
 
Optional< std::vector< ecolab::Plot::LineStyle > > palette
 
- Public Attributes inherited from schema3::ItemBase
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
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from schema3::Item
static Optional< classdesc::CDATA > convertTensorDataFromSchema2 (const Optional< classdesc::CDATA > &)
 

Detailed Description

Definition at line 206 of file schema3.h.

Constructor & Destructor Documentation

◆ Group() [1/3]

schema3::Group::Group ( )
inline

Definition at line 211 of file schema3.h.

211 {}

◆ Group() [2/3]

schema3::Group::Group ( int  id,
const minsky::Group g 
)
inline

Definition at line 212 of file schema3.h.

212 : Item(id,g,std::vector<int>()) {}

◆ Group() [3/3]

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

Definition at line 214 of file schema3.h.

214  :
Optional< vector< int > > inVariables
Definition: schema3.h:210
Optional< vector< int > > outVariables
Definition: schema3.h:210
vector< int > items
Definition: schema2.h:188
vector< int > items
Definition: schema3.h:208
Optional< vector< int > > inVariables
Definition: schema2.h:189
Optional< vector< int > > outVariables
Definition: schema2.h:189

Member Data Documentation

◆ displayPlot

int schema3::Group::displayPlot =-1

Definition at line 209 of file schema3.h.

◆ inVariables

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

Definition at line 210 of file schema3.h.

◆ items

vector<int> schema3::Group::items

Definition at line 208 of file schema3.h.

◆ outVariables

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

Definition at line 210 of file schema3.h.


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