|
TECA
The Toolkit for Extreme Climate Analysis
|
Go to the documentation of this file. 1 #ifndef teca_variant_array_operand_h
2 #define teca_variant_array_operand_h
6 #include "teca_config.h"
8 #include "teca_array_collection.h"
45 var = m_variables->get(var_name);
52 {
return m_variables; }
59 const_p_teca_array_collection m_variables;
Handles conversion of literals to variant_arrays and the name resolution of variables.
Definition: teca_variant_array_operand.h:18
void set_variables(const_p_teca_array_collection v)
set the set of arrays used for variable name resolution.
Definition: teca_variant_array_operand.h:55
std::shared_ptr< const teca_variant_array > const_p_teca_variant_array
Definition: teca_variant_array.h:27
int get_variable(const char *var_name, const_p_teca_variant_array &var)
Definition: teca_variant_array_operand.h:42
Codes dealing with the operands of run time specified operations on teca_variant_array.
Definition: teca_variant_array_operand.h:11
const_p_teca_array_collection get_variables()
get the set of arrays used for variable name resolution.
Definition: teca_variant_array_operand.h:51
std::shared_ptr< teca_variant_array > p_teca_variant_array
Definition: teca_variant_array.h:27
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.