sort_options Struct Reference

#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_orderoptions

Detailed Description

Definition at line 20 of file symbol_sort.h.


Member Enumeration Documentation

Enumerator:
first 
sample 
image 
app_name 
symbol 
debug 
vma 
last 

Definition at line 21 of file symbol_sort.h.


Constructor & Destructor Documentation

sort_options::sort_options (  )  [inline]

Definition at line 33 of file symbol_sort.h.


Member Function Documentation

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.

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.

Definition at line 132 of file symbol_sort.cpp.

References first, last, and options.


Field Documentation

Definition at line 50 of file symbol_sort.h.

Referenced by add_sort_option(), and sort().


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1