5 * @remark Copyright 2002, 2003 OProfile authors
6 * @remark Read the file COPYING
8 * @author Philippe Elie
22 // order give sort order if caller doesn't specify one
35 void add_sort_option(std::string const & name);
36 void add_sort_option(sort_order order);
39 * Sort the given container by the given criteria.
41 void sort(symbol_collection & syms, bool reverse_sort,
42 bool long_filenames) const;
45 * Sort the given container by the given criteria.
47 void sort(diff_collection & syms, bool reverse_sort,
48 bool long_filenames) const;
50 std::vector<sort_order> options;
53 #endif // SYMBOL_SORT_H