emutil.h File Reference

#include "emobject.h"
#include "emassert.h"
#include <string.h>

Include dependency graph for emutil.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  EMAN

Classes

class  EMAN::EMUtil
struct  EMAN::ImageScore
class  EMAN::ImageSort

Defines

#define eman__emutil__h__   1
 
Id
emutil.h,v 1.59 2009/04/24 03:03:08 woolford Exp


Functions

template<class T>
void EMDeletePtr (T &x)
template<class T>
void EMDeleteArray (T &x)


Define Documentation

#define eman__emutil__h__   1

Id
emutil.h,v 1.59 2009/04/24 03:03:08 woolford Exp

Definition at line 37 of file emutil.h.


Function Documentation

template<class T>
void EMDeleteArray ( T &  x  )  [inline]

template<class T>
void EMDeletePtr ( T &  x  )  [inline]

Definition at line 51 of file emutil.h.

References Assert.

Referenced by ali3d_d(), EMAN::varimax::analyze(), EMAN::PCAlarge::analyze(), EMAN::PCAsmall::analyze(), EMAN::PCA::dopca_lan(), EMAN::PCA::dopca_ooc(), EMAN::PCAlarge::insert_image(), EMAN::PCAsmall::insert_image(), EMAN::PCA::Lanczos_ooc(), main(), ReadStackandDist(), ReadStackandDist_Cart(), recons3d_4nn(), EMAN::varimax::set_params(), EMAN::PCAlarge::set_params(), and EMAN::PCAsmall::set_params().

00052 {
00053 #ifdef _WIN32
00054         if(x != NULL) {
00055                 delete x;
00056                 x = NULL;
00057         }
00058 #else
00059         {Assert(x != NULL);}
00060         delete x;
00061         x = NULL;
00062 #endif
00063 }


Generated on Sat Nov 7 02:19:13 2009 for EMAN2 by  doxygen 1.5.6