Gaudi Framework, version v23r6

Home   Generated: Wed Jan 30 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ObjectContainerBase.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/ObjectContainerBase.h,v 1.5 2008/10/09 16:46:49 marcocle Exp $
2 #ifndef GAUDI_OBJECTCONTAINERBASE_H
3 #define GAUDI_OBJECTCONTAINERBASE_H 1
4 
5 // Include files
6 #include "GaudiKernel/Kernel.h"
8 
9 // Forward declarations
10 class ContainedObject;
11 
21 
22 protected:
23 
26 
28  virtual ~ObjectContainerBase() { }
29 
30 public:
31 
33  typedef size_t size_type;
34 
36  virtual long index( const ContainedObject* obj ) const = 0;
37 
39  virtual ContainedObject* containedObject( long dist ) const = 0;
40 
42  virtual size_type numberOfObjects() const = 0;
43 
47  virtual long add(ContainedObject* pObject) = 0;
48 
52  virtual long remove(ContainedObject* value) = 0;
53 
54 private:
55 };
56 
57 #endif // GAUDI_OBJECTCONTAINERBASE_H

Generated at Wed Jan 30 2013 17:13:39 for Gaudi Framework, version v23r6 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004