1 #ifndef _midge__output_hh_ 2 #define _midge__output_hh_ 11 template<
class x_node,
class x_type >
29 stream* t_stream =
dynamic_cast< stream*
>( t_typed_stream );
30 if( t_stream == NULL )
32 throw error() <<
"output <" << get_name() <<
"> on node <" <<
f_node->get_name() <<
"> cannot cast stream up from specific type";
_output(x_node *p_node, _stream< x_type > *(x_node::*p_member)())
_stream< x_type > *(x_node::* f_member)()