AuboStudio SDK
0.6.3
comment_node.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_COMMENT_NODE_H
2
#define AUBO_SCOPE_COMMENT_NODE_H
3
4
#include <string>
5
#include <
aubo_caps/domain/program/nodes/program_node.h
>
6
7
namespace
arcs
{
8
namespace
aubo_scope
{
9
ARCS_CLASS_FORWARD
(
CommentNode
);
10
11
class
ARCS_ABI_EXPORT
CommentNode
:
public
ProgramNode
12
{
13
public
:
14
CommentNode
(
CommentNode
&f);
15
CommentNode
(
CommentNode
&&f);
16
virtual
~CommentNode
();
17
18
/**
19
*
20
* @return The text of the Comment node.
21
*/
22
std::string
getComment
()
const
;
23
24
/**
25
* * Set the text for the Comment node.
26
* @param comment The Comment for the node.
27
* @return This node.
28
*/
29
void
setComment
(
const
std::string ¶m_string);
30
31
private
:
32
friend
class
DataSwitch
;
33
CommentNode
();
34
void
*
d_
{
nullptr
};
35
};
36
37
}
// namespace aubo_scope
38
}
// namespace arcs
39
#endif
// AUBO_SCOPE_COMMENT_NODE_H
ARCS_ABI_EXPORT
#define ARCS_ABI_EXPORT
定义
class_forward.h:16
ARCS_CLASS_FORWARD
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
定义
class_forward.h:68
arcs::aubo_scope::CommentNode
定义
comment_node.h:12
arcs::aubo_scope::CommentNode::CommentNode
CommentNode(CommentNode &f)
arcs::aubo_scope::CommentNode::CommentNode
CommentNode(CommentNode &&f)
arcs::aubo_scope::CommentNode::d_
void * d_
定义
comment_node.h:34
arcs::aubo_scope::CommentNode::DataSwitch
friend class DataSwitch
定义
comment_node.h:32
arcs::aubo_scope::CommentNode::~CommentNode
virtual ~CommentNode()
arcs::aubo_scope::CommentNode::getComment
std::string getComment() const
arcs::aubo_scope::CommentNode::CommentNode
CommentNode()
arcs::aubo_scope::CommentNode::setComment
void setComment(const std::string ¶m_string)
arcs::aubo_scope::ProgramNode::ProgramNode
ProgramNode(ProgramNode &f)
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
program_node.h
include
aubo_caps
domain
program
nodes
builtin
comment_node.h
制作者
1.16.1