summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/node.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-10-24 16:32:18 +0200
committerRoland Reichwein <mail@reichwein.it>2020-10-24 16:32:18 +0200
commit1011655d2ef76a0c0aa29dbbff091dab139198e3 (patch)
tree63763828f259846f56285691805c187583ecb6bb /flowgraph/node.cpp
parent1349c00b782eca3ea841bfa388301cb6fc908cc7 (diff)
Add FlowGraph
Diffstat (limited to 'flowgraph/node.cpp')
-rw-r--r--flowgraph/node.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/flowgraph/node.cpp b/flowgraph/node.cpp
new file mode 100644
index 0000000..fc55ef6
--- /dev/null
+++ b/flowgraph/node.cpp
@@ -0,0 +1,9 @@
+#include "node.h"
+
+#include "data.h"
+
+using namespace FlowGraph;
+
+Data FlowGraph::MakeLocalPointer(const std::string& name) { return Data(DataType::Pointer, std::make_shared<LocalStorage>(name)); }
+Data FlowGraph::MakeLocalSize(const std::string& name) { return Data(DataType::Size, std::make_shared<LocalStorage>(name)); }
+