00001 // File and Version Information: 00002 // $Id: CdbAlwaysClosePolicy.cc,v 1.5 2004/08/06 05:54:14 bartoldu Exp $ 00003 #include "BaBar/BaBar.hh" 00004 00005 /// The implementation of the utility class CdbAlwaysClosePolicy. 00006 /** 00007 * @see CdbAlwaysClosePolicy 00008 */ 00009 00010 #include "CdbBase/CdbAlwaysClosePolicy.hh" 00011 00012 template < class P > 00013 void 00014 CdbAlwaysClosePolicy<P>::close( P* ptr ) 00015 { 00016 if(( 0 != ptr ) && ptr->isOpen( )) ptr->close( ); 00017 } 00018 00019 ///////////////// 00020 // End Of File // 00021 /////////////////
1.3-rc3