The Gaudi Framework
v26r3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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"
7
#include "GaudiKernel/DataObject.h"
8
9
// Forward declarations
10
class
ContainedObject
;
11
20
class
GAUDI_API
ObjectContainerBase
:
public
DataObject
{
21
22
protected
:
23
25
ObjectContainerBase
() { }
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
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:108
dump_component_properties.value
list value
Definition:
dump_component_properties.py:12
ContainedObject
All classes that their objects may be contained in an LHCb ObjectContainer (e.g.
Definition:
ContainedObject.h:30
GaudiPython.Persistency.add
def add(instance)
Definition:
Persistency.py:32
ObjectContainerBase
ObjectContainerBase is the base class for Gaudi container classes.
Definition:
ObjectContainerBase.h:20
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition:
DataObject.h:31
GaudiKernel
GaudiKernel
ObjectContainerBase.h
Generated on Tue Jul 21 2015 12:23:32 for The Gaudi Framework by
1.8.9.1