www.pudn.com > backmode824.rar > TrackObject.cpp


// TrackObject.cpp: implementation of the TrackObject class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#include "stdafx.h" 
#include "backmodel.h" 
#include "TrackObject.h" 
#include "Blob.h" 
 
#ifdef _DEBUG 
#undef THIS_FILE 
static char THIS_FILE[]=__FILE__; 
#define new DEBUG_NEW 
#endif 
 
////////////////////////////////////////////////////////////////////// 
// Construction/Destruction 
////////////////////////////////////////////////////////////////////// 
 
#define DeleteCleanA(x) if (x){ delete[] x; x = NULL; } 
 
TrackObject::TrackObject() 
{ 
	blob=new Blob[]; 
 
} 
 
TrackObject::~TrackObject() 
{ 
   DeleteCleanA(blob); 
 
}