From 927eb99e75325164a541c2638e1e607294019381 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 17 Nov 2020 12:38:40 +0100 Subject: Complete hierarchical evaluation (unittest and systemtest fixed) --- flowgraph/scope.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'flowgraph/scope.h') diff --git a/flowgraph/scope.h b/flowgraph/scope.h index 65898cf..3fc0fcc 100644 --- a/flowgraph/scope.h +++ b/flowgraph/scope.h @@ -16,11 +16,14 @@ namespace FlowGraph { class LocalScope { public: - LocalScope() = default; + LocalScope(); + ~LocalScope(); void push_back(std::shared_ptr data); void append(const LocalScope& other); - index_t indexOfStorage(const Storage& storage) const; + index_t indexOfData(const FlowGraph::Data& data) const; + + size_t size() const; private: std::vector> m_variables; -- cgit v1.2.3