Minsky
|
represents a numerical coefficient times a variable (a "flow") More...
#include <flowCoef.h>
Public Member Functions | |
FlowCoef () | |
FlowCoef (double coef, const std::string &name) | |
FlowCoef (const std::string &formula) | |
std::string | str () const |
Public Attributes | |
double | coef |
std::string | name |
represents a numerical coefficient times a variable (a "flow")
Definition at line 27 of file flowCoef.h.
|
inline |
Definition at line 31 of file flowCoef.h.
|
inline |
Definition at line 32 of file flowCoef.h.
minsky::FlowCoef::FlowCoef | ( | const std::string & | formula | ) |
Definition at line 49 of file flowCoef.cc.
References f, anonymous_namespace{flowCoef.cc}::parseLine(), minsky::tail, and minsky::trimWS().
string minsky::FlowCoef::str | ( | ) | const |
Definition at line 81 of file flowCoef.cc.
References minsky::str().
Referenced by minsky::Minsky::balanceColumns(), minsky::GodleyTableEditor::draw(), schema2::Item::Item(), minsky::GodleyTable::rename(), minsky::GodleyTable::renameFlows(), minsky::GodleyTable::renameStock(), and minsky::GodleyIcon::update().
double minsky::FlowCoef::coef |
Definition at line 29 of file flowCoef.h.
Referenced by minsky::Minsky::balanceColumns(), minsky::GodleyTableEditor::draw(), minsky::anonymous_namespace{godleyExport.cc}::fcStr(), minsky::VariableValues::initValue(), schema2::Item::Item(), minsky::GodleyTable::rowSumAsMap(), minsky::GodleyIcon::update(), and minsky::SharedColumnCheck::updateColDefs().
std::string minsky::FlowCoef::name |
Definition at line 30 of file flowCoef.h.
Referenced by minsky::Minsky::balanceColumns(), minsky::GodleyTableEditor::draw(), minsky::anonymous_namespace{godleyExport.cc}::fcStr(), minsky::GodleyTable::getVariables(), schema2::Item::Item(), minsky::GodleyTable::rename(), minsky::GodleyTable::renameFlows(), minsky::GodleyTable::renameStock(), minsky::GodleyTable::rowSumAsMap(), minsky::VariableBase::units(), and minsky::SharedColumnCheck::updateColDefs().