Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbViewPtrFwd.hh

Go to the documentation of this file.
00001 #ifndef CDB_VIEW_PTR_FWD_HH
00002 #define CDB_VIEW_PTR_FWD_HH
00003 
00004 // File and Version Information:
00005 //      $Id: CdbViewPtrFwd.hh,v 1.2 2002/09/23 22:33:37 gapon Exp $
00006 
00007 #include "CdbBase/CdbCommon.hh"
00008 #include "CdbBase/CdbCPtr.hh"
00009 #include "CdbBase/CdbAlwaysClosePolicy.hh"
00010 
00011 class CdbView;
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< CdbView, CdbAlwaysClosePolicy< CdbView > > CdbViewPtr;
00023 
00024 #endif  // CDB_VIEW_PTR_FWD_HH
00025 

Generated on Mon Dec 5 18:22:12 2005 for CDB by doxygen1.3-rc3