source: trunk/MagicSoft/Mars/mbase/MParList.h@ 723

Last change on this file since 723 was 698, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MPARLIST_H
2#define MPARLIST_H
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MParList //
7// //
8// List of parameter containers (MParContainer) //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MAGIC_H
13#include "MAGIC.h"
14#endif
15
16#ifndef ROOT_TOrdCollection
17#include "TOrdCollection.h"
18#endif
19#ifndef MPARCONTAINER_H
20#include "MParContainer.h"
21#endif
22
23class MLog;
24
25class MParList : public MParContainer
26{
27private:
28 TOrdCollection fContainer; // Collection of Parameter and Data Containers
29 TOrdCollection fAutodelete; // All what this list contains is deleted in the destructor
30
31public:
32 MParList(const char *name=NULL, const char *title=NULL);
33 MParList(MParList &ts);
34
35 ~MParList()
36 {
37 }
38
39 Bool_t AddToList(MParContainer *obj, MParContainer *where = NULL);
40
41 void SetLogStream(MLog *log);
42
43 TObject *FindObject(const char *name) const;
44 MParContainer *FindCreateObj(const char *name);
45
46 void Print(Option_t *t = NULL);
47
48 ClassDef(MParList, 0) // list of parameter containers (MParContainer)
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.