1 #ifndef teca_table_sort_h
2 #define teca_table_sort_h
4 #include "teca_shared_object.h"
5 #include "teca_algorithm.h"
6 #include "teca_metadata.h"
24 TECA_GET_ALGORITHM_PROPERTIES_DESCRIPTION()
25 TECA_SET_ALGORITHM_PROPERTIES()
28 TECA_ALGORITHM_PROPERTY(std::
string, index_column)
29 TECA_ALGORITHM_PROPERTY(
int, index_column_id)
32 TECA_ALGORITHM_PROPERTY(
int, stable_sort)
34 void enable_stable_sort(){ set_stable_sort(1); }
35 void disable_stable_sort(){ set_stable_sort(0); }
41 const_p_teca_dataset execute(
43 const std::vector<const_p_teca_dataset> &input_data,
47 std::string index_column;