EMAN2
|
#include <emutil.h>
Public Member Functions | |
ImageSort (int n) | |
~ImageSort () | |
void | sort () |
void | set (int i, float score) |
int | get_index (int i) const |
float | get_score (int i) const |
int | size () const |
Private Attributes | |
ImageScore * | image_scores |
int | n |
ImageSort::ImageSort | ( | int | n | ) |
Definition at line 1322 of file emutil.cpp.
References Assert, image_scores, and n.
ImageSort::~ImageSort | ( | ) |
Definition at line 1329 of file emutil.cpp.
References image_scores.
int ImageSort::get_index | ( | int | i | ) | const |
Definition at line 1348 of file emutil.cpp.
References Assert, image_scores, and EMAN::ImageScore::index.
float ImageSort::get_score | ( | int | i | ) | const |
Definition at line 1354 of file emutil.cpp.
References Assert, image_scores, and EMAN::ImageScore::score.
void ImageSort::set | ( | int | i, |
float | score | ||
) |
Definition at line 1342 of file emutil.cpp.
References Assert, and image_scores.
int ImageSort::size | ( | ) | const |
void ImageSort::sort | ( | ) |
Definition at line 1337 of file emutil.cpp.
References image_scores, imgscore_cmp(), and n.
|
private |
Definition at line 435 of file emutil.h.
Referenced by get_index(), get_score(), ImageSort(), set(), sort(), and ~ImageSort().
|
private |
Definition at line 436 of file emutil.h.
Referenced by ImageSort(), size(), and sort().