28 #include <SeExpr2/ExprWalker.h>
29 #include <SeExpr2/ExprNode.h>
30 #include <SeExpr2/Curve.h>
41 virtual std::string
toString()
const = 0;
56 virtual std::string
toString()
const;
73 virtual std::string
toString()
const;
92 virtual std::string
toString()
const;
99 std::vector<typename Curve<T>::CV>
_vec;
115 virtual std::string
toString()
const;
139 inline std::vector<const ControlSpec*>::const_iterator
begin()
const;
140 inline std::vector<const ControlSpec*>::const_iterator
const end()
const;
ExprStrSpec(const ExprStrNode &node, char *name, Type type)
Takes name and type comments and takes ownership of them!
virtual std::string toString() const
Generates a replacement string based on changes to the spec.
virtual std::string toString() const =0
Generates a replacement string based on changes to the spec.
static const ExprCurveAssignSpec * match(const ExprNode *node)
Variable equals scalar control specification.
static const ExprVectorAssignSpec * match(const ExprNode *node)
double _min
Range of values.
double _val
Current Value.
double _min
Range of values.
Variable equals vector control specification.
Node that stores a string.
Generic Expression control specification.
std::string _name
Name of control.
ExprVectorAssignSpec(const ExprAssignNode &node)
virtual bool examine(const ExprNode *examinee)
Curve assignment expression. Assignment of curve to a variable.
ExprScalarAssignSpec(const ExprAssignNode &node)
const Vec3d & value() const
const ControlSpec * spec(int i) const
virtual std::string toString() const
Generates a replacement string based on changes to the spec.
std::vector< const ControlSpec * >::const_iterator begin() const
int _start
Start position of text in original source.
ExprCurveAssignSpec(const ExprAssignNode &node)
ControlSpec(const ExprNode &node)
Node that compute a local variable assignment.
int _end
End position of text in original source.
static const ExprScalarAssignSpec * match(const ExprNode *node)
std::vector< const ControlSpec * > _specList
std::string _lookupText
Lookup subexpression text.
virtual std::string toString() const
Generates a replacement string based on changes to the spec.
Examiner that builds a list of specs potentially used in widgets (for qdgui)
std::vector< typename Curve< T >::CV > _vec
Control points of curve spline.
static const ExprStrSpec * match(const ExprNode *node)
virtual std::string toString() const
Generates a replacement string based on changes to the spec.
std::vector< const ControlSpec * >::const_iterator const end() const