AuboCaps  0.6.0
comment_node.h
Go to the documentation of this file.
1 #ifndef AUBO_SCOPE_COMMENT_NODE_H
2 #define AUBO_SCOPE_COMMENT_NODE_H
3 
4 #include <string>
6 
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(CommentNode);
10 
12 {
13 public:
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 &param_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_CLASS_FORWARD(GripForceCapability)
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16