| Line | |
|---|
| 1 | #ifndef MARS_MEnv
|
|---|
| 2 | #define MARS_MEnv
|
|---|
| 3 |
|
|---|
| 4 | #ifndef ROOT_TEnv
|
|---|
| 5 | #include <TEnv.h>
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ROOT_TOrdCollection
|
|---|
| 9 | #include <TOrdCollection.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MEnv : public TEnv
|
|---|
| 13 | {
|
|---|
| 14 | private:
|
|---|
| 15 | TOrdCollection fChecked;
|
|---|
| 16 |
|
|---|
| 17 | public:
|
|---|
| 18 | MEnv(const char *name="") : TEnv(name) { fChecked.SetOwner(); }
|
|---|
| 19 |
|
|---|
| 20 | Int_t GetValue(const char *name, Int_t dflt);
|
|---|
| 21 | Double_t GetValue(const char *name, Double_t dflt);
|
|---|
| 22 | const char *GetValue(const char *name, const char *dflt);
|
|---|
| 23 |
|
|---|
| 24 | void PrintUntouched() const;
|
|---|
| 25 |
|
|---|
| 26 | ClassDef(MEnv, 0) // A slightly more advanced version of TEnv
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | #endif
|
|---|
| 30 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.