MINT2
Mint
IEventList.h
Go to the documentation of this file.
1
#ifndef IEVENTLISTB_HH
2
#define IEVENTLISTB_HH
3
// author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4
// status: Mon 9 Feb 2009 19:17:54 GMT
5
6
#include "
Mint/Utils.h
"
7
#include "
Mint/IMinimalEventList.h
"
8
9
/*
10
looks like array
11
*/
12
13
namespace
MINT
{
14
15
template
<
typename
EVENT_TYPE>
16
class
IEventList
:
virtual
public
IMinimalEventList
<EVENT_TYPE>
17
// returns reference (for memory-resident lists)
18
{
19
protected
:
20
IEventList
(){}
21
public
:
22
23
virtual
const
EVENT_TYPE&
operator[]
(
unsigned
int
i)
const
=0;
24
virtual
EVENT_TYPE&
operator[]
(
unsigned
int
i)=0;
25
26
// included through IMinimalEventList:
27
// virtual unsigned int size() const=0;
28
// virtual EVENT_TYPE getEvent(unsigned int i) const=0;
29
// virtual bool Add(const EVENT_TYPE & evt)=0;
30
31
virtual
~IEventList
(){}
32
};
33
}
//namespace MINT
34
#endif
35
//
Utils.h
MINT::IEventList::IEventList
IEventList()
Definition:
IEventList.h:20
MINT::IEventList
Definition:
IEventList.h:16
MINT::IEventList::~IEventList
virtual ~IEventList()
Definition:
IEventList.h:31
MINT::IMinimalEventList
Definition:
IMinimalEventList.h:21
MINT::IEventList::operator[]
virtual const EVENT_TYPE & operator[](unsigned int i) const =0
MINT
Definition:
BasicComplex.h:7
IMinimalEventList.h
Generated by
1.8.15