KSeExpr 4.0.4.0
KSeExpr::ExprCurveAssignSpec< T > Class Template Reference

Curve assignment expression. Assignment of curve to a variable. More...

#include <ControlSpec.h>

Inheritance diagram for KSeExpr::ExprCurveAssignSpec< T >:
KSeExpr::ControlSpec

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
ControlSpecoperator= (const ControlSpec &)=default
ControlSpecoperator= (ControlSpec &&)=default
 ControlSpec (const ControlSpec &)=default
 ControlSpec (ControlSpec &&)=default

Static Public Member Functions

static const ExprCurveAssignSpecmatch (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.

Detailed Description

template<class T>
class KSeExpr::ExprCurveAssignSpec< T >

Curve assignment expression. Assignment of curve to a variable.

Definition at line 82 of file ControlSpec.h.

Constructor & Destructor Documentation

◆ ExprCurveAssignSpec()

Member Function Documentation

◆ match()

template<class T>
const ExprCurveAssignSpec< T > * KSeExpr::ExprCurveAssignSpec< T >::match ( const ExprNode * node)
static

Definition at line 197 of file ControlSpec.cpp.

References ExprCurveAssignSpec(), and KSeExpr::isCurveAssign().

Referenced by KSeExpr::SpecExaminer::examine().

◆ toString()

template<class T>
std::string KSeExpr::ExprCurveAssignSpec< T >::toString ( ) const
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().

Member Data Documentation

◆ _lookupText

template<class T>
std::string KSeExpr::ExprCurveAssignSpec< T >::_lookupText
private

Lookup subexpression text.

Definition at line 91 of file ControlSpec.h.

Referenced by ExprCurveAssignSpec(), and toString().

◆ _vec

template<class T>
std::vector<typename Curve<T>::CV> KSeExpr::ExprCurveAssignSpec< T >::_vec
private

Control points of curve spline.

Definition at line 93 of file ControlSpec.h.

Referenced by ExprCurveAssignSpec(), and toString().


The documentation for this class was generated from the following files: