|
KSeExpr 4.0.4.0
|
Curve assignment expression. Assignment of curve to a variable. More...
#include <ControlSpec.h>
Public Member Functions | |
| ExprCurveAssignSpec (const ExprAssignNode &node) | |
| std::string | toString () const override |
| Generates a replacement string based on changes to the spec. | |
| Public Member Functions inherited from KSeExpr::ControlSpec | |
| ControlSpec (const ExprNode &node) | |
| virtual | ~ControlSpec ()=default |
| ControlSpec & | operator= (const ControlSpec &)=default |
| ControlSpec & | operator= (ControlSpec &&)=default |
| ControlSpec (const ControlSpec &)=default | |
| ControlSpec (ControlSpec &&)=default | |
Static Public Member Functions | |
| static const ExprCurveAssignSpec * | match (const ExprNode *node) |
Private Attributes | |
| std::string | _lookupText |
| Lookup subexpression text. | |
| std::vector< typename Curve< T >::CV > | _vec |
| Control points of curve spline. | |
Additional Inherited Members | |
| Protected Attributes inherited from KSeExpr::ControlSpec | |
| std::string | _name |
| Name of control. | |
| int | _start |
| Start position of text in original source. | |
| int | _end |
| End position of text in original source. | |
Curve assignment expression. Assignment of curve to a variable.
Definition at line 82 of file ControlSpec.h.
| KSeExpr::ExprCurveAssignSpec< T >::ExprCurveAssignSpec | ( | const ExprAssignNode & | node | ) |
Definition at line 156 of file ControlSpec.cpp.
References _lookupText, KSeExpr::ControlSpec::_name, _vec, KSeExpr::ExprNode::child(), KSeExpr::ControlSpec::ControlSpec(), KSeExpr::ExprAssignNode::name(), toString(), and KSeExpr::ExprNumNode::value().
Referenced by match().
|
static |
Definition at line 197 of file ControlSpec.cpp.
References ExprCurveAssignSpec(), and KSeExpr::isCurveAssign().
Referenced by KSeExpr::SpecExaminer::examine().
|
overridevirtual |
Generates a replacement string based on changes to the spec.
Implements KSeExpr::ControlSpec.
Definition at line 183 of file ControlSpec.cpp.
References _lookupText, KSeExpr::ControlSpec::_name, and _vec.
Referenced by ExprCurveAssignSpec().
|
private |
Lookup subexpression text.
Definition at line 91 of file ControlSpec.h.
Referenced by ExprCurveAssignSpec(), and toString().
|
private |
Control points of curve spline.
Definition at line 93 of file ControlSpec.h.
Referenced by ExprCurveAssignSpec(), and toString().