Lluvia
NodeBuilderDescriptor.h
Go to the documentation of this file.
1 
8 #ifndef LLUVIA_CORE_NODE_NODE_BUILDER_DESCRIPTOR_H_
9 #define LLUVIA_CORE_NODE_NODE_BUILDER_DESCRIPTOR_H_
10 
11 #include "lluvia/core/node/Node.h"
12 
13 #include <string>
14 
15 namespace ll {
16 
21 
24  const std::string& pName,
25  const std::string& pSummary)
26  : nodeType {pNodeType}
27  , name {pName}
28  , summary {pSummary}
29  {
30  }
31 
33  std::string name;
34 
35  // corresponds to the first line of the builder's docstring
36  std::string summary;
37 };
38 
39 } // namespace ll
40 
41 #endif // LLUVIA_CORE_NODE_NODE_BUILDER_DESCRIPTOR_H_
Node class and related enums.
Definition: Buffer.h:28
NodeType
Class for node type.
Definition: NodeType.h:19
Describes the attributes of a node builder.
Definition: NodeBuilderDescriptor.h:20
std::string summary
Definition: NodeBuilderDescriptor.h:36
NodeBuilderDescriptor()
Definition: NodeBuilderDescriptor.h:22
ll::NodeType nodeType
Definition: NodeBuilderDescriptor.h:32
NodeBuilderDescriptor(ll::NodeType pNodeType, const std::string &pName, const std::string &pSummary)
Definition: NodeBuilderDescriptor.h:23
std::string name
Definition: NodeBuilderDescriptor.h:33