sort_options Struct Reference

#include <symbol_sort.h>

List of all members.

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
 Sort the given container by the given criteria.
void sort (diff_collection &syms, bool reverse_sort, bool long_filenames) const
 Sort the given container by the given criteria.

Public Attributes

std::vector< sort_orderoptions

Member Enumeration Documentation

Enumerator:
first 
sample 
image 
app_name 
symbol 
debug 
vma 
last 

Constructor & Destructor Documentation

sort_options::sort_options (  )  [inline]

Member Function Documentation

void sort_options::add_sort_option ( sort_options::sort_order  order  ) 

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.

References first, last, and options.

void sort_options::sort ( symbol_collection syms,
bool  reverse_sort,
bool  long_filenames 
) const

Sort the given container by the given criteria.

References first, last, and options.


Member Data Documentation

Referenced by add_sort_option(), and sort().


The documentation for this struct was generated from the following files:

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1