AuboStudio SDK 0.6.3

Public 类型 | Public 成员函数 | Private 成员函数 | Private 属性 | 友元 | 所有成员列表
arcs::aubo_scope::AssignmentNode类 参考

`#include <assignment_node.h>`

类 arcs::aubo_scope::AssignmentNode 继承关系图:
[图例]
arcs::aubo_scope::AssignmentNode 的协作图:
[图例]

## Public 类型
enum | ConfigType { EXPRESSION , OPERATOR }
| The configuration type used to determine which type of configuration this instance is. 更多...
enum | InputMode { INPUT_BOOL , INPUT_INTEGER , INPUT_FLOAT , INPUT_STRING }

## Public 成员函数
| AssignmentNode (AssignmentNode &f)
| AssignmentNode (AssignmentNode &&f)
virtual | ~AssignmentNode ()
ConfigType | getConfigType ()
void | setConfigType (ConfigType type)
VariablePtr | getVariable ()
void | setVariable (VariablePtr var)
ExpressionPtr | getExpression ()
void | setExpression (ExpressionPtr exp)
Public 成员函数 继承自 arcs::aubo_scope::ProgramNode
| ProgramNode (ProgramNode &f)
| ProgramNode (ProgramNode &&f)
virtual | ~ProgramNode ()
ProgramNodeContributionPtr | getProgramNodeContribution ()
| 不推荐用户调用 ProgramNodeContribution::generateScript 使用 ScriptWritter::writeChildren 更多...

## Private 成员函数
| AssignmentNode ()

## Private 属性
void * | d_ { nullptr }

## 友元
class | DataSwitch

## 额外继承的成员函数
Protected 成员函数 继承自 arcs::aubo_scope::ProgramNode
| ProgramNode ()

## 详细描述

在文件 assignment_node.h 第 12 行定义.

## 成员枚举类型说明

## ◆ ConfigType

enum arcs::aubo_scope::AssignmentNode::ConfigType

The configuration type used to determine which type of configuration this instance is.

枚举值
EXPRESSION | Expression assignment has been selected. The config instance can be cast to {}.
OPERATOR | Operator assignment has been selected. This type has no further information. Setting this type of config will be ignored and will have no effect on the node.

在文件 assignment_node.h 第 19 行定义.

## ◆ InputMode

enum arcs::aubo_scope::AssignmentNode::InputMode

枚举值
INPUT_BOOL |
INPUT_INTEGER |
INPUT_FLOAT |
INPUT_STRING |

在文件 assignment_node.h 第 39 行定义.

## 构造及析构函数说明

## ◆ AssignmentNode() [1/3]

arcs::aubo_scope::AssignmentNode::AssignmentNode | ( | AssignmentNode & | f | ) |

## ◆ AssignmentNode() [2/3]

arcs::aubo_scope::AssignmentNode::AssignmentNode | ( | AssignmentNode && | f | ) |

## ◆ ~AssignmentNode()

virtual arcs::aubo_scope::AssignmentNode::~AssignmentNode | ( |  | ) |
| virtual

## ◆ AssignmentNode() [3/3]

arcs::aubo_scope::AssignmentNode::AssignmentNode | ( |  | ) |
| private

## 成员函数说明

## ◆ getConfigType()

ConfigType arcs::aubo_scope::AssignmentNode::getConfigType | ( |  | ) |

返回

## ◆ getExpression()

ExpressionPtr arcs::aubo_scope::AssignmentNode::getExpression | ( |  | ) |

返回
  the expression whose evaluation is assigned to the variable.

## ◆ getVariable()

VariablePtr arcs::aubo_scope::AssignmentNode::getVariable | ( |  | ) |

返回
  the variable assigned to the expression evaluation.

## ◆ setConfigType()

void arcs::aubo_scope::AssignmentNode::setConfigType | ( | ConfigType | type | ) |

## ◆ setExpression()

void arcs::aubo_scope::AssignmentNode::setExpression | ( | ExpressionPtr | exp | ) |

## ◆ setVariable()

void arcs::aubo_scope::AssignmentNode::setVariable | ( | VariablePtr | var | ) |

## 友元及相关函数文档

## ◆ DataSwitch

friend class DataSwitch
| friend

在文件 assignment_node.h 第 75 行定义.

## 类成员变量说明

## ◆ d_

void* arcs::aubo_scope::AssignmentNode::d_ { nullptr }
| private

在文件 assignment_node.h 第 77 行定义.

该类的文档由以下文件生成:

- include/aubo_caps/domain/program/nodes/builtin/assignment_node.h