#include "all_imageio.h"
#include "portable_fileio.h"
#include "emcache.h"
#include "emdata.h"
#include "ctf.h"
#include "emassert.h"
#include "exception.h"
#include "hdf_filecache.h"
#include <boost/shared_ptr.hpp>
#include <sys/param.h>
Include dependency graph for emutil.cpp:
Go to the source code of this file.
Functions | |
int | imgscore_cmp (const void *imgscore1, const void *imgscore2) |
Variables | |
const int | ATTR_NAME_LEN = 128 |
|
Definition at line 1244 of file emutil.cpp. References Assert. Referenced by EMAN::ImageSort::sort(). 01245 { 01246 Assert(imgscore1 != 0); 01247 Assert(imgscore2 != 0); 01248 01249 float c = ((ImageScore *)imgscore1)->score - ((ImageScore *)imgscore2)->score; 01250 if (c<0) { 01251 return 1; 01252 } 01253 else if (c>0) { 01254 return -1; 01255 } 01256 return 0; 01257 }
|
|
Definition at line 66 of file emutil.cpp. |