KSeExpr
4.0.4.0
|
Variable equals vector control specification. More...
#include <ControlSpec.h>
Public Member Functions | |
ExprVectorAssignSpec (const ExprAssignNode &node) | |
std::string | toString () const override |
Generates a replacement string based on changes to the spec. More... | |
const Vec3d & | value () const |
![]() | |
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 ExprVectorAssignSpec * | match (const ExprNode *node) |
Private Attributes | |
double | _min |
Range of values. More... | |
double | _max |
Vec3d | _val |
Current Value. More... | |
Additional Inherited Members | |
![]() | |
std::string | _name |
Name of control. More... | |
int | _start |
Start position of text in original source. More... | |
int | _end |
End position of text in original source. More... | |
Variable equals vector control specification.
Definition at line 63 of file ControlSpec.h.
KSeExpr::ExprVectorAssignSpec::ExprVectorAssignSpec | ( | const ExprAssignNode & | node | ) |
Definition at line 124 of file ControlSpec.cpp.
References _max, _min, KSeExpr::ControlSpec::_name, KSeExpr::findComment(), KSeExpr::ExprAssignNode::name(), and KSeExpr::Utils::parseRangeComment().
Referenced by match().
|
static |
Definition at line 174 of file ControlSpec.cpp.
References ExprVectorAssignSpec(), and KSeExpr::isVectorAssign().
Referenced by KSeExpr::SpecExaminer::examine().
|
overridevirtual |
Generates a replacement string based on changes to the spec.
Implements KSeExpr::ControlSpec.
Definition at line 145 of file ControlSpec.cpp.
References _max, _min, KSeExpr::ControlSpec::_name, and value().
|
inline |
|
private |
Definition at line 76 of file ControlSpec.h.
Referenced by ExprVectorAssignSpec(), and toString().
|
private |
Range of values.
Definition at line 76 of file ControlSpec.h.
Referenced by ExprVectorAssignSpec(), and toString().
|
private |