TECA
The Toolkit for Extreme Climate Analysis
teca_algorithm_output_port.h File Reference

Go to the source code of this file.

Typedefs

using teca_algorithm_output_port = std::pair< p_teca_algorithm, unsigned int >
 An output port packages an algorithm and a port number. More...
 

Functions

p_teca_algorithm & get_algorithm (teca_algorithm_output_port &op)
 get the algorithm from the output port More...
 
unsigned int & get_port (teca_algorithm_output_port &op)
 get port number from the output port More...
 

Typedef Documentation

◆ teca_algorithm_output_port

using teca_algorithm_output_port = std::pair<p_teca_algorithm, unsigned int>

An output port packages an algorithm and a port number.

Function Documentation

◆ get_algorithm()

p_teca_algorithm& get_algorithm ( teca_algorithm_output_port op)
inline

get the algorithm from the output port

◆ get_port()

unsigned int& get_port ( teca_algorithm_output_port op)
inline

get port number from the output port