20 #ifndef __EditableExpression__
21 #define __EditableExpression__
Editable * operator[](const int i)
Access an editable parameter.
void setExpr(const std::string &expr)
Set's expressions and parses it into "control editable form".
</pre >< h2 > Evaluating expressions</h2 > Evaluating an expression is pretty easy But before we can do that we need to make an instance< pre > GrapherExpr expr("x+x^2")
size_t size() const
Return the count of editable parameters.
const std::vector< std::string > & getVariables() const
Get list of commentsø
std::string getEditedExpr() const
Return a reconstructed expression using all the editable's current values.
std::vector< Editable * > _editables
Factors a SeExpr into an editable expression with controls (i.e. value boxes, curve boxes) ...
void updateString(const EditableExpression &other)
Update the string refered to into the controls (this is only valid if controlsmatch) ...
bool controlsMatch(const EditableExpression &other) const
Check if the other editable expression has editables that all match i.e. the controls are same...
std::vector< std::string > _variables
std::vector< Editable * > Editables
void cleanup()
clean memeory