1 #ifndef teca_table_sort_h
2 #define teca_table_sort_h
4 #include "teca_config.h"
6 #include "teca_algorithm.h"
7 #include "teca_metadata.h"
25 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
26 TECA_SET_ALGORITHM_PROPERTIES()
29 TECA_ALGORITHM_PROPERTY(std::
string, index_column)
30 TECA_ALGORITHM_PROPERTY(
int, index_column_id)
33 TECA_ALGORITHM_PROPERTY(
int, stable_sort)
35 void enable_stable_sort(){ set_stable_sort(1); }
36 void disable_stable_sort(){ set_stable_sort(0); }
42 const_p_teca_dataset execute(
44 const std::vector<const_p_teca_dataset> &input_data,
48 std::string index_column;