00001 // File and Version Information: 00002 // $Id: CdbBdbObjectProfiler.cc,v 1.3 2004/10/21 20:35:50 gapon Exp $ 00003 #include "BaBar/BaBar.hh" 00004 00005 /// The implementation of the CdbBdbObjectProfiler. 00006 /** 00007 * @see CdbBdbObjectProfiler 00008 */ 00009 00010 #include "BaBar/BaBar.hh" 00011 00012 #include "CdbBdb/CdbBdbObjectProfiler.hh" 00013 #include "CdbBdb/CdbBdbObjectProfilerImpl.hh" 00014 00015 CdbBdbObjectProfiler::CdbBdbObjectProfiler( CdbBdbObjectProfilerUserAction* theUserAction, 00016 bool verboseMode, 00017 bool debugMode ) : 00018 _myImpl( new CdbBdbObjectProfilerImpl( theUserAction, 00019 verboseMode, 00020 debugMode )) 00021 { } 00022 00023 CdbBdbObjectProfiler::~CdbBdbObjectProfiler( ) 00024 { 00025 delete _myImpl; 00026 _myImpl = 0; 00027 } 00028 00029 bool 00030 CdbBdbObjectProfiler::profile( const ooHandle(ooObj)& theInputH ) 00031 { 00032 return _myImpl->profile( theInputH ); 00033 } 00034 00035 CdbBdbObjectProfilerUserAction* 00036 CdbBdbObjectProfiler::setUserAction( CdbBdbObjectProfilerUserAction* theUserAction ) 00037 { 00038 return _myImpl->setUserAction( theUserAction ); 00039 } 00040 00041 uint64 00042 CdbBdbObjectProfiler::getSize( ) const 00043 { 00044 return _myImpl->getSize( ); 00045 } 00046 00047 uint64 00048 CdbBdbObjectProfiler::getTopObjects( ) const 00049 { 00050 return _myImpl->getTopObjects( ); 00051 } 00052 00053 ///////////////// 00054 // End Of File // 00055 /////////////////
1.3-rc3