36 void setExpr(
const std::string &expr);
Factors a SeExpr into an editable expression with controls (i.e. value boxes, curve boxes)
size_t size() const
Return the count of editable parameters.
EditableExpression(const EditableExpression &)=default
EditableExpression()=default
std::vector< std::string > _variables
void setExpr(const std::string &expr)
Set's expressions and parses it into "control editable form".
std::string getEditedExpr() const
Return a reconstructed expression using all the editable's current values.
Editable * operator[](const int i)
Access an editable parameter.
std::vector< Editable * > Editables
virtual ~EditableExpression()
EditableExpression & operator=(const EditableExpression &)=default
EditableExpression & operator=(EditableExpression &&)=default
bool controlsMatch(const EditableExpression &other) const
Check if the other editable expression has editables that all match i.e. the controls are same.
void cleanup()
clean memeory
void updateString(const EditableExpression &other)
Update the string refered to into the controls (this is only valid if controlsmatch)
EditableExpression(EditableExpression &&)=default
const std::vector< std::string > & getVariables() const
Get list of commentsø