Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

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

/BdbConverters/BdbAListPtr.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: BdbAListPtr.hh,v 1.4 1999/02/10 19:03:41 patton Exp $
00004 //
00005 // Description:
00006 //      Class BdbAListPtr
00007 //      Class that contains pointer to list of T and inherits from
00008 //      AbsEvtObj, needed for persistency.
00009 //
00010 // Environment:
00011 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00012 //
00013 // Author List:
00014 //      John Walsh, U. Wisconsin
00015 //      Simon Patton LBNL - made into template class.
00016 //
00017 // Copyright Information:
00018 //      Copyright (C) 1998      U.Wisconsin
00019 //
00020 //------------------------------------------------------------------------
00021 
00022 #ifndef BDBALISTPTR_HH
00023 #define BDBALISTPTR_HH
00024 
00025 
00026 //---------------
00027 // C++ Headers --
00028 //---------------
00029 
00030 //----------------------
00031 // Base Class Headers --
00032 //----------------------
00033 
00034 #include "AbsEvent/AbsEvtObj.hh"
00035 
00036 //-------------------------------
00037 // Collaborating Class Headers --
00038 //-------------------------------
00039 
00040 //------------------------------------
00041 // Collaborating Class Declarations --
00042 //------------------------------------
00043 
00044 template < class T > class HepAList;
00045 
00046 //              ---------------------
00047 //              -- Class Interface --
00048 //              ---------------------
00049 
00050 template < class T >
00051 class BdbAListPtr : public AbsEvtObj {
00052 
00053 //--------------------
00054 // Declarations     --
00055 //--------------------
00056 
00057       // Typedefs, consts, and enums
00058 
00059 //--------------------
00060 // Instance Members --
00061 //--------------------
00062 
00063    public:
00064 
00065       // Constructors
00066       BdbAListPtr( HepAList< T >* aList ) ;
00067 
00068       // Destructor
00069       virtual ~BdbAListPtr( );
00070 
00071 
00072       // Selectors (const)
00073       HepAList< T >* list() const ;
00074 
00075    protected:
00076 
00077       // Helper functions
00078 
00079    private:
00080 
00081       // Data members
00082       HepAList< T >* _list; // unowned pointer
00083 
00084 };
00085 
00086 // Inline implementations
00087 #ifdef BABAR_COMP_INST
00088 #include "BdbConverters/BdbAListPtr.cc"
00089 #endif // BABAR_COMP_INST
00090 
00091 #endif // BDBALISTPTR_HH

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002