From 1011655d2ef76a0c0aa29dbbff091dab139198e3 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 24 Oct 2020 16:32:18 +0200 Subject: Add FlowGraph --- flowgraph/node.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 flowgraph/node.cpp (limited to 'flowgraph/node.cpp') 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(name)); } +Data FlowGraph::MakeLocalSize(const std::string& name) { return Data(DataType::Size, std::make_shared(name)); } + -- cgit v1.2.3