AuboStudio SDK 0.6.3

else_if_node.h
浏览该文件的文档.
1 #ifndef AUBO_SCOPE_ELSE_IF_NODE_H
2 #define AUBO_SCOPE_ELSE_IF_NODE_H
3
4 #include <aubo_caps/domain/program/nodes/program_node.h>
5 #include <aubo_caps/domain/value/expression/expression.h>
6
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(ElseIfNode);
10
11 class ARCS_ABI_EXPORT ElseIfNode : public ProgramNode
12 {
13 public:
14 ElseIfNode(ElseIfNode &f);
15 ElseIfNode(ElseIfNode &&f);
16 virtual ~ElseIfNode();
17
18 /**
19 * @param expression The expression that will be evaluated in this
20 * ElseIfNode.
21 * @return The same ElseIfNode.
22 */
23 void setExpression(ExpressionPtr expression);
24
25 /**
26 * @return the Expression to be evaluated in this ElseIf node.
27 */
28 ExpressionPtr getExpression();
29
30 private:
31 friend class DataSwitch;
32 ElseIfNode();
33 void *d_{ nullptr };
34 };
35
36 } // namespace aubo_scope
37 } // namespace arcs
38 #endif // AUBO_SCOPE_ELSE_IF_NODE_H
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16
arcs::aubo_scope::ElseIfNode
Definition: else_if_node.h:12
arcs::aubo_scope::ElseIfNode::ElseIfNode
ElseIfNode()
arcs::aubo_scope::ElseIfNode::~ElseIfNode
virtual ~ElseIfNode()
arcs::aubo_scope::ElseIfNode::getExpression
ExpressionPtr getExpression()
arcs::aubo_scope::ElseIfNode::setExpression
void setExpression(ExpressionPtr expression)
arcs::aubo_scope::ElseIfNode::ElseIfNode
ElseIfNode(ElseIfNode &f)
arcs::aubo_scope::ElseIfNode::ElseIfNode
ElseIfNode(ElseIfNode &&f)
arcs::aubo_scope::ProgramNode
Definition: program_node.h:19
expression.h
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs
Definition: contribution_provider.h:7
program_node.h