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

Last change on this file since 687 was 667, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.3 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
30public:
31 MParList(const char *name=NULL, const char *title=NULL);
32 MParList(MParList &ts);
33
34 ~MParList()
35 {
36 }
37
38 Bool_t AddToList(MParContainer *obj, MParContainer *where = NULL);
39
40 void SetLogStream(MLog *log);
41
42 TObject *FindObject(const char *name) const;
43 MParContainer *FindCreateObj(const char *name);
44
45 void Print(Option_t *t = NULL);
46
47 ClassDef(MParList, 1) //list of parameter containers (MParContainer)
48};
49
50#endif
Note: See TracBrowser for help on using the repository browser.