![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members /CdbBase/CdbAlwaysClosePolicy.cc
Go to the documentation of this file.00001 /// The implementation of the utility class CdbAlwaysClosePolicy. 00002 /** 00003 * @see CdbAlwaysClosePolicy 00004 */ 00005 00006 #include "BaBar/BaBar.hh" 00007 00008 #include "CdbBase/CdbAlwaysClosePolicy.hh" 00009 00010 #include <assert.h> 00011 00012 template < class P > 00013 CdbAlwaysClosePolicy<P>::CdbAlwaysClosePolicy( ) 00014 { 00015 assert( 0 == this ); 00016 } 00017 00018 template < class P > 00019 void 00020 CdbAlwaysClosePolicy<P>::close( P* ptr ) 00021 { 00022 if(( 0 != ptr ) && ptr->isOpen( )) ptr->close( ); 00023 } 00024 00025 ///////////////// 00026 // End Of File // 00027 /////////////////
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002