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  

/AbsEvent/AbsEvent.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 // File and Version Information:
00003 //      $Id: AbsEvent.hh,v 1.52 2001/01/04 20:06:49 desilva Exp $
00004 //
00005 // Description:
00006 //      Class AbsEvent.
00007 //
00008 // Environment:
00009 //      Software developed for the BaBar Detector at the SLAC B-Factory.
00010 //
00011 // Author List:
00012 //      Ed Frank                University of Pennsylvania
00013 //      Bob Jacobsen            LBL
00014 //
00015 // Copyright Information:
00016 //      Copyright (C) 1997      University of Pennsylvania
00017 //
00018 //------------------------------------------------------------------------
00019 
00020 #ifndef ABSEVENT_HH
00021 #define ABSEVENT_HH
00022 
00023 //---------------
00024 // C Headers --
00025 //---------------
00026 #include <stdlib.h>
00027 
00028 
00029 //----------------------
00030 // Base Class Headers --
00031 //----------------------
00032 #include "ProxyDict/IfdSimpleProxyDict.hh"
00033 
00034 //-------------------------------
00035 // Collaborating Class Headers --
00036 //-------------------------------
00037 #include "CLHEP/Alist/AList.h"
00038 
00039 //------------------------------------
00040 // Collaborating Class Declarations --
00041 //------------------------------------
00042 
00043 //              ---------------------
00044 //              -- Class Interface --
00045 //              ---------------------
00046 
00047 class AbsEvent : public IfdSimpleProxyDict {
00048 
00049 //--------------------
00050 // Instance Members --
00051 //--------------------
00052 
00053 public:
00054 
00055     // Constructors
00056     AbsEvent();
00057 
00058     // Destructor
00059     virtual ~AbsEvent( );
00060 
00061     // Operators
00062     
00063     // Selectors (const)
00064 
00065     // Modifiers
00066     //    Override the definition of put() from IfdProxyDict
00067     //    so that a failed put() causes an abort.
00068 
00069     virtual bool put( const IfdDictKey& k, IfdDataProxyIFace* p );
00070 
00071 protected:
00072 
00073     // Helper functions
00074 
00075 private:
00076 
00077     // Friends
00078 
00079     // Data members
00080 
00081     // Copy Constructor & Assignment operator:  not allowed.
00082     //    Deep copies of this structure is not well defined.
00083     //    Since AbsEvent owns its data, and since we do not
00084     //    do any kind of reference counting, we must forbid
00085     //    copies.
00086 
00087     AbsEvent( const AbsEvent& ) { ::abort(); }
00088     AbsEvent& operator= ( const AbsEvent& ) {::abort(); return *this;}
00089 
00090 };
00091 
00092 #endif

 


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

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