#include "data.h" FlowGraph::Data::Data(FlowGraph::DataType type, std::shared_ptr storage): m_type(type), m_storage(storage) { } FlowGraph::DataType FlowGraph::Data::type() const { return m_type; } std::shared_ptr FlowGraph::Data::storage() const { return m_storage; } bool FlowGraph::Data::operator==(const FlowGraph::Data& other) const { return m_type == other.m_type && m_storage == other.m_storage; }