Last change
on this file since 2797 was 447, checked in by harald, 24 years ago |
Bringing the sources for the octobertest under CVS controll.
(november, 3rd, 2000)
|
-
Property svn:executable
set to
*
|
File size:
854 bytes
|
Line | |
---|
1 | #ifndef MPARLIST_H
|
---|
2 | #define MPARLIST_H
|
---|
3 |
|
---|
4 | #include "Magic.h"
|
---|
5 |
|
---|
6 | #include <iostream.h>
|
---|
7 |
|
---|
8 | #include "TObject.h"
|
---|
9 | #include "TOrdCollection.h"
|
---|
10 |
|
---|
11 | class MParContainer;
|
---|
12 |
|
---|
13 | class MParList : public TObject
|
---|
14 | {
|
---|
15 | private:
|
---|
16 | TIter *fNext; //!
|
---|
17 | TOrdCollection fContainer; // Collection of Parameter and Data Containers
|
---|
18 |
|
---|
19 | public:
|
---|
20 | MParList();
|
---|
21 | MParList(MParList &ts);
|
---|
22 |
|
---|
23 | ~MParList()
|
---|
24 | {
|
---|
25 | if (fNext)
|
---|
26 | delete fNext;
|
---|
27 | }
|
---|
28 |
|
---|
29 | Bool_t ReInit(MParList *pList=NULL);
|
---|
30 |
|
---|
31 | Bool_t AddToList(MParContainer *obj, TNamed *where = NULL);
|
---|
32 |
|
---|
33 | MParContainer *FindObject(const char *name);
|
---|
34 |
|
---|
35 | void Reset()
|
---|
36 | {
|
---|
37 | fNext = new TIter(&fContainer);
|
---|
38 | }
|
---|
39 |
|
---|
40 | MParContainer *Next()
|
---|
41 | {
|
---|
42 | return (MParContainer*)(*fNext)();
|
---|
43 | }
|
---|
44 |
|
---|
45 | void Print(Option_t *t = NULL);
|
---|
46 |
|
---|
47 | ClassDef(MParList, 1) // list of Parameter Containers
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.