#include <SeExprEdEditable.h>
Public Member Functions | |
SeExprEdEditable (const std::string &name, int startPos, int endPos) | |
void | updatePositions (const SeExprEdEditable &other) |
virtual | ~SeExprEdEditable () |
virtual bool | parseComment (const std::string &comment)=0 |
parses a comment. if false is returned then delete the control from the editable | |
virtual std::string | str () const |
virtual void | appendString (std::stringstream &stream) const =0 |
virtual bool | controlsMatch (const SeExprEdEditable &) const =0 |
Public Attributes | |
std::string | name |
int | startPos |
int | endPos |
Definition at line 28 of file SeExprEdEditable.h.
SeExprEdEditable::SeExprEdEditable | ( | const std::string & | name, | |
int | startPos, | |||
int | endPos | |||
) | [inline] |
Definition at line 34 of file SeExprEdEditable.h.
virtual SeExprEdEditable::~SeExprEdEditable | ( | ) | [inline, virtual] |
Definition at line 45 of file SeExprEdEditable.h.
virtual void SeExprEdEditable::appendString | ( | std::stringstream & | stream | ) | const [pure virtual] |
Implemented in SeExprEdNumberEditable, SeExprEdVectorEditable, SeExprEdStringEditable, SeExprEdGenericCurveEditable< TVAL >, and SeExprEdAnimCurveEditable.
Referenced by SeExprEdEditableExpression::getEditedExpr().
virtual bool SeExprEdEditable::controlsMatch | ( | const SeExprEdEditable & | ) | const [pure virtual] |
virtual bool SeExprEdEditable::parseComment | ( | const std::string & | comment | ) | [pure virtual] |
parses a comment. if false is returned then delete the control from the editable
Implemented in SeExprEdNumberEditable, SeExprEdVectorEditable, SeExprEdStringEditable, SeExprEdGenericCurveEditable< TVAL >, and SeExprEdAnimCurveEditable.
Referenced by SeExprEdEditableExpression::setExpr().
virtual std::string SeExprEdEditable::str | ( | ) | const [inline, virtual] |
Reimplemented in SeExprEdNumberEditable, SeExprEdVectorEditable, SeExprEdStringEditable, SeExprEdGenericCurveEditable< TVAL >, and SeExprEdAnimCurveEditable.
Definition at line 49 of file SeExprEdEditable.h.
void SeExprEdEditable::updatePositions | ( | const SeExprEdEditable & | other | ) | [inline] |
Definition at line 40 of file SeExprEdEditable.h.
References endPos, and startPos.
Referenced by SeExprEdEditableExpression::updateString().
Reimplemented in SeExprEdAnimCurveEditable.
Definition at line 31 of file SeExprEdEditable.h.
Referenced by SeExprEdEditableExpression::getEditedExpr(), SeExprEdEditableExpression::setExpr(), and updatePositions().
std::string SeExprEdEditable::name |
Reimplemented in SeExprEdAnimCurveEditable.
Definition at line 30 of file SeExprEdEditable.h.
Referenced by SeExprEdStringEditable::controlsMatch(), SeExprEdVectorEditable::controlsMatch(), SeExprEdNumberEditable::controlsMatch(), SeExprEdStringEditable::parseComment(), SeExprEdControl::SeExprEdControl(), SeExprEdGenericCurveEditable< TVAL >::str(), SeExprEdStringEditable::str(), SeExprEdVectorEditable::str(), and SeExprEdNumberEditable::str().
Reimplemented in SeExprEdAnimCurveEditable.
Definition at line 31 of file SeExprEdEditable.h.
Referenced by SeExprEdEditableExpression::getEditedExpr(), and updatePositions().