bbtk::StaticInitTime Class Reference

#include <bbtkObject.h>

List of all members.

Public Member Functions

 StaticInitTime ()
 ~StaticInitTime ()

Static Public Attributes

static bool PrintObjectListInfo = false

Static Private Attributes

static bbtk::Object mObject


Detailed Description

Definition at line 201 of file bbtkObject.h.


Constructor & Destructor Documentation

bbtk::StaticInitTime::StaticInitTime (  ) 

Definition at line 252 of file bbtkObject.cxx.

00253   {
00254   }

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   }


Member Data Documentation

bool bbtk::StaticInitTime::PrintObjectListInfo = false [static]

Definition at line 208 of file bbtkObject.h.

Referenced by ~StaticInitTime().

bbtk::Object bbtk::StaticInitTime::mObject [static, private]

Definition at line 210 of file bbtkObject.h.


The documentation for this class was generated from the following files:

Generated on Wed Nov 12 11:38:50 2008 for BBTK by  doxygen 1.5.6