KSeExpr 6.0.0.0
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
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()

template<class T >
KSeExpr::ExprCurveAssignSpec< T >::ExprCurveAssignSpec ( const ExprAssignNode node)

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 KSeExpr::isCurveAssign().

◆ 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 KSeExpr::Vec< T, d, ref >::Vec().

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 KSeExpr::ExprCurveAssignSpec< T >::ExprCurveAssignSpec().

◆ _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 KSeExpr::ExprCurveAssignSpec< T >::ExprCurveAssignSpec().


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