SeExpr
|
#include <Editable.h>
Public Member Functions | |
Editable (const std::string &name, int startPos, int endPos) | |
void | updatePositions (const Editable &other) |
virtual | ~Editable () |
virtual bool | parseComment (const std::string &comment)=0 |
parses a comment. if false is returned then delete the control from the editable More... | |
virtual std::string | str () const |
virtual void | appendString (std::stringstream &stream) const =0 |
virtual bool | controlsMatch (const Editable &) const =0 |
Public Attributes | |
std::string | name |
int | startPos |
int | endPos |
Definition at line 38 of file Editable.h.
|
inline |
Definition at line 44 of file Editable.h.
|
inlinevirtual |
Definition at line 55 of file Editable.h.
|
pure virtual |
Implemented in DeepWaterEditable, ColorSwatchEditable, AnimCurveEditable, GenericCurveEditable< TVAL >, StringEditable, VectorEditable, and NumberEditable.
Referenced by EditableExpression::getEditedExpr().
|
pure virtual |
Implemented in DeepWaterEditable, ColorSwatchEditable, AnimCurveEditable, GenericCurveEditable< TVAL >, StringEditable, VectorEditable, and NumberEditable.
Referenced by EditableExpression::controlsMatch(), and EditableExpression::updateString().
|
pure virtual |
parses a comment. if false is returned then delete the control from the editable
Implemented in DeepWaterEditable, ColorSwatchEditable, AnimCurveEditable, GenericCurveEditable< TVAL >, StringEditable, VectorEditable, and NumberEditable.
Referenced by EditableExpression::setExpr().
|
inlinevirtual |
Reimplemented in DeepWaterEditable, ColorSwatchEditable, AnimCurveEditable, GenericCurveEditable< TVAL >, StringEditable, VectorEditable, and NumberEditable.
Definition at line 59 of file Editable.h.
|
inline |
Definition at line 50 of file Editable.h.
References endPos, and startPos.
Referenced by EditableExpression::updateString().
int Editable::endPos |
Definition at line 41 of file Editable.h.
Referenced by EditableExpression::getEditedExpr(), EditableExpression::setExpr(), and updatePositions().
std::string Editable::name |
Definition at line 40 of file Editable.h.
Referenced by NumberEditable::controlsMatch(), VectorEditable::controlsMatch(), StringEditable::controlsMatch(), ExprControl::ExprControl(), StringEditable::parseComment(), NumberEditable::str(), VectorEditable::str(), StringEditable::str(), GenericCurveEditable< TVAL >::str(), ColorSwatchEditable::str(), and DeepWaterEditable::str().
int Editable::startPos |
Definition at line 41 of file Editable.h.
Referenced by EditableExpression::getEditedExpr(), and updatePositions().