#pragma once #include "DecimalData.hpp" #include "IntegerData.hpp" using QtNodes::PortType; using QtNodes::PortIndex; using QtNodes::NodeData; using QtNodes::NodeDataType; using QtNodes::NodeDataModel; class DecimalData; class IntegerData; class DecimalToIntegerConverter { public: std::shared_ptr operator()(std::shared_ptr data); private: std::shared_ptr _integer; }; class IntegerToDecimalConverter { public: std::shared_ptr operator()(std::shared_ptr data); private: std::shared_ptr _decimal; };