30 #ifndef SCHEMA_SCHEMA_0 31 #define SCHEMA_SCHEMA_0 53 ecolab::array<float>
coords;
127 std::vector<std::vector<std::string> >
data;
167 namespace xml_conversions
199 typedef std::map<std::string, PlotWidget>
Map;
253 void xml_unpackp(xml_unpack_t& t,
const string& d, ecolab::array<T>& a)
256 std::istringstream is(x);
261 #include "schema0.xcd" std::set< Variable > flowVars
double scale
scale factor of the XGL image
double rotation
for constants
std::vector< int > operations
void xml_unpack(classdesc::xml_unpack_t &, const classdesc::string &, classdesc::ref< ecolab::urand > &)
std::map< int, Operation > Operations
int nSteps
number of steps per GUI update
bool operator<(const VariablePtr &x) const
std::map< int, Wire > Wires
VariableValues values
map of ports to variables
std::map< int, Variable > Variables
std::vector< int > m_ports
older version of name
double epsAbs
absolute error
std::map< std::string, PlotWidget > Map
Port(float x=0, float y=0, bool input=false)
std::set< std::string > wiredVariables
int intVar
integration variable associated with this op. -1 if not used
void xml_unpackp(xml_unpack_t &t, const string &d, ecolab::array< T > &a)
std::map< int, GodleyIcon > GodleyItems
double stepMin
Runge-Kutta parameters.
minsky::VariableType::Type m_type
Minsky(classdesc::xml_unpack_t &data)
minsky::VariableType::Type m_type
std::string description
name of constant, variable
bool visible
whether wire is visible on Canvas display coordinates
std::string m_description
VariableValue(minsky::VariableType::Type type=minsky::VariableType::undefined, const std::string &init="0")
std::string name
variable name
double epsRel
relative error
std::vector< int > inVariables
std::map< int, int > portToVariable
variables whose input port is wired
bool doubleEntryCompliant
double rotation
rotation if icon, in degrees
std::set< Variable > stockVars
int m_inPort
where wires connect to
double stepMax
maximum step size
int from
ports this wire connects
ecolab::array< int > m_ports
double y
position in canvas
std::map< std::string, VariableValue > VariableValues
minsky::OperationType::Type m_type
Wire(int from=0, int to=0)
bool m_godley
variable is in a Godley table
std::vector< VariablePtr > stockVars
std::string init
initial value of variable
std::vector< minsky::GodleyAssetClass::AssetClass > m_assetClass
class of each column (used in DE compliant mode)
bool visible
rotation if icon, in degrees
void removeIntVarOrphans()
std::string init
index into value vector
std::vector< VariablePtr > flowVars
ecolab::array< float > coords
VariableManager variables
std::vector< int > outVariables
std::map< int, GroupIcon > GroupIcons
std::map< int, Port > Ports
CLASSDESC_ACCESS(GroupIcon)
double y
position of Godley icon
std::vector< std::vector< std::string > > data
std::vector< int > variables