#include <bbtkObject.h>
Public Member Functions | |
StaticInitTime () | |
~StaticInitTime () | |
Static Public Attributes | |
static bool | PrintObjectListInfo = false |
Static Private Attributes | |
static bbtk::Object | mObject |
Definition at line 201 of file bbtkObject.h.
bbtk::StaticInitTime::StaticInitTime | ( | ) |
bbtk::StaticInitTime::~StaticInitTime | ( | ) |
Definition at line 257 of file bbtkObject.cxx.
References PrintObjectListInfo.
00258 { 00259 Object::ReleasePackages(); 00260 00261 if (PrintObjectListInfo) 00262 { 00263 std::cout << std::endl 00264 << "************************** main ended *******************" 00265 << std::endl << std::endl; 00266 Object::PrintObjectListInfo(""); 00267 } 00268 if (Object::GetObjectsCount()>0) 00269 { 00270 std::cout << std::endl; 00271 std::cout << "**************************** WARNING *************************" 00272 <<std::endl; 00273 std::cout << "**** "<< Object::GetObjectsCount() 00274 <<" bbtk objects still alive after main ended"<<std::endl; 00275 if (!PrintObjectListInfo) 00276 { 00277 00278 std::cout << "**** " 00279 <<"Rerun bbi with -D option or put 'debug -D' in bbs file" 00280 <<std::endl; 00281 std::cout << "**** " 00282 <<"to view the objects list " 00283 <<std::endl; 00284 } 00285 std::cout << "**************************************************************" 00286 <<std::endl 00287 <<std::endl; 00288 00289 } 00290 }
bool bbtk::StaticInitTime::PrintObjectListInfo = false [static] |
bbtk::Object bbtk::StaticInitTime::mObject [static, private] |
Definition at line 210 of file bbtkObject.h.