KSeExpr
4.0.4.0
|
Variable equals scalar control specification. More...
#include <ControlSpec.h>
Public Member Functions | |
ExprScalarAssignSpec (const ExprAssignNode &node) | |
std::string | toString () const override |
Generates a replacement string based on changes to the spec. More... | |
double | 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 ExprScalarAssignSpec * | match (const ExprNode *node) |
Private Attributes | |
double | _min |
Range of values. More... | |
double | _max |
double | _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 scalar control specification.
Definition at line 44 of file ControlSpec.h.
KSeExpr::ExprScalarAssignSpec::ExprScalarAssignSpec | ( | const ExprAssignNode & | node | ) |
Definition at line 78 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 116 of file ControlSpec.cpp.
References ExprScalarAssignSpec(), and KSeExpr::isScalarAssign().
Referenced by KSeExpr::SpecExaminer::examine().
|
overridevirtual |
Generates a replacement string based on changes to the spec.
Implements KSeExpr::ControlSpec.
Definition at line 107 of file ControlSpec.cpp.
References _max, _min, KSeExpr::ControlSpec::_name, and value().
|
inline |
|
private |
Definition at line 57 of file ControlSpec.h.
Referenced by ExprScalarAssignSpec(), and toString().
|
private |
Range of values.
Definition at line 57 of file ControlSpec.h.
Referenced by ExprScalarAssignSpec(), and toString().
|
private |