30 #ifndef _PORT_TRAITS_HXX_
31 #define _PORT_TRAITS_HXX_
33 #include "Superv_Component_i.hxx"
34 #include "calcium_port_factory.hxx"
44 typedef calcium_integer_port_provides PortType;
47 typedef calcium_intc_port_provides PortType;
50 typedef calcium_long_port_provides PortType;
53 typedef calcium_real_port_provides PortType;
56 typedef calcium_double_port_provides PortType;
59 typedef calcium_logical_port_provides PortType;
65 typedef calcium_complex_port_provides PortType;
71 typedef calcium_string_port_provides PortType;
77 typedef calcium_intc_port_provides PortType;
81 template <
typename T >
struct StarTrait {
typedef T NonStarType; };
82 template <
typename T >
struct StarTrait< T * > {
typedef T NonStarType; };
91 typedef calcium_integer_port_uses PortType;