summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/data.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-17 12:38:40 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-17 12:38:40 +0100
commit927eb99e75325164a541c2638e1e607294019381 (patch)
tree5b5476456f0f957fc7492465ff08ace54e1a9e48 /flowgraph/data.h
parentc9cb051fae190acfc36813e4a23759fb9b9c3df3 (diff)
Complete hierarchical evaluation (unittest and systemtest fixed)
Diffstat (limited to 'flowgraph/data.h')
-rw-r--r--flowgraph/data.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/flowgraph/data.h b/flowgraph/data.h
index d1c2588..e2def93 100644
--- a/flowgraph/data.h
+++ b/flowgraph/data.h
@@ -27,9 +27,10 @@ namespace FlowGraph {
class Data
{
public:
- Data(DataType type, std::shared_ptr<Storage> storage): m_type(type), m_storage(storage) {}
- DataType type() const { return m_type; }
- std::shared_ptr<Storage> storage() { return m_storage; }
+ Data(DataType type, std::shared_ptr<Storage> storage);
+ DataType type() const;
+ std::shared_ptr<Storage> storage() const;
+ bool operator==(const Data& other) const;
private:
const DataType m_type;
std::shared_ptr<Storage> m_storage;