KSeExpr  4.0.4.0
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
KSeExpr::ExprVectorAssignSpec Class Reference

Variable equals vector control specification. More...

#include <ControlSpec.h>

Inheritance diagram for KSeExpr::ExprVectorAssignSpec:
KSeExpr::ControlSpec

Public Member Functions

 ExprVectorAssignSpec (const ExprAssignNode &node)
 
std::string toString () const override
 Generates a replacement string based on changes to the spec. More...
 
const Vec3dvalue () const
 
- 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 ExprVectorAssignSpecmatch (const ExprNode *node)
 

Private Attributes

double _min
 Range of values. More...
 
double _max
 
Vec3d _val
 Current Value. More...
 

Additional Inherited Members

- Protected Attributes inherited from KSeExpr::ControlSpec
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...
 

Detailed Description

Variable equals vector control specification.

Definition at line 63 of file ControlSpec.h.

Constructor & Destructor Documentation

◆ ExprVectorAssignSpec()

KSeExpr::ExprVectorAssignSpec::ExprVectorAssignSpec ( const ExprAssignNode node)

Member Function Documentation

◆ match()

const ExprVectorAssignSpec * KSeExpr::ExprVectorAssignSpec::match ( const ExprNode node)
static

Definition at line 174 of file ControlSpec.cpp.

References ExprVectorAssignSpec(), and KSeExpr::isVectorAssign().

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

◆ toString()

std::string KSeExpr::ExprVectorAssignSpec::toString ( ) const
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().

◆ value()

const Vec3d& KSeExpr::ExprVectorAssignSpec::value ( ) const
inline

Definition at line 68 of file ControlSpec.h.

References _val.

Referenced by toString().

Member Data Documentation

◆ _max

double KSeExpr::ExprVectorAssignSpec::_max
private

Definition at line 76 of file ControlSpec.h.

Referenced by ExprVectorAssignSpec(), and toString().

◆ _min

double KSeExpr::ExprVectorAssignSpec::_min
private

Range of values.

Definition at line 76 of file ControlSpec.h.

Referenced by ExprVectorAssignSpec(), and toString().

◆ _val

Vec3d KSeExpr::ExprVectorAssignSpec::_val
private

Current Value.

Definition at line 78 of file ControlSpec.h.

Referenced by value().


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