#include <symbol_sort.h>
Public Types | |
enum | sort_order { first, sample = first, image, app_name, symbol, debug, vma, last } |
Public Member Functions | |
sort_options () | |
void | add_sort_option (std::string const &name) |
void | add_sort_option (sort_order order) |
void | sort (symbol_collection &syms, bool reverse_sort, bool long_filenames) const |
void | sort (diff_collection &syms, bool reverse_sort, bool long_filenames) const |
Data Fields | |
std::vector< sort_order > | options |
Definition at line 20 of file symbol_sort.h.
Definition at line 21 of file symbol_sort.h.
sort_options::sort_options | ( | ) | [inline] |
Definition at line 33 of file symbol_sort.h.
void sort_options::add_sort_option | ( | sort_options::sort_order | order | ) |
Definition at line 187 of file symbol_sort.cpp.
References options.
void sort_options::add_sort_option | ( | std::string const & | name | ) |
void sort_options::sort | ( | diff_collection & | syms, | |
bool | reverse_sort, | |||
bool | long_filenames | |||
) | const |
Sort the given container by the given criteria.
Definition at line 149 of file symbol_sort.cpp.
void sort_options::sort | ( | symbol_collection & | syms, | |
bool | reverse_sort, | |||
bool | long_filenames | |||
) | const |
Sort the given container by the given criteria.
Definition at line 132 of file symbol_sort.cpp.
std::vector<sort_order> sort_options::options |
Definition at line 50 of file symbol_sort.h.
Referenced by add_sort_option(), and sort().