1#include <Dataflow/Core/Port.hpp>
2#include <Dataflow/Core/PortIn.hpp>
3#include <Dataflow/Core/PortOut.hpp>
12bool PortBaseIn::accept( PortBaseOut* portOut )
const {
13 return portOut->type() ==
type();
17 PortBase( name, type, node ) {}
19bool PortBaseIn::is_link_mandatory()
const {
20 return !has_default_value();
24 PortBase( name, type, node ) {}
std::type_index type() const
Gets the type of the data (efficient for comparisons).
hepler function to manage enum as underlying types in VariableSet