00001 #ifndef CDB_ORIGIN_PTR_FWD_HH 00002 #define CDB_ORIGIN_PTR_FWD_HH 00003 00004 // File and Version Information: 00005 // $Id: CdbOriginPtrFwd.hh,v 1.1 2002/12/12 00:47:50 gapon Exp $ 00006 00007 #include "CdbBase/CdbCommon.hh" 00008 #include "CdbBase/CdbCPtr.hh" 00009 #include "CdbBase/CdbDoNotClosePolicy.hh" 00010 00011 class CdbOrigin; 00012 00013 /// This is a smart pointer definition for this class 00014 /** 00015 * This type of the smart pointer will always make sure that 00016 * the corresponding object will always be closed when its very last 00017 * client looses the interest in it. 00018 * 00019 * NOTE: This definition uses the forward declaration for the pointed class, 00020 * which is defined in this file later. 00021 */ 00022 typedef CdbCPtr< CdbOrigin, CdbDoNotClosePolicy< CdbOrigin > > CdbOriginPtr; 00023 00024 #endif // CDB_ORIGIN_PTR_FWD_HH 00025
1.3-rc3