|
12 | 12 | #ifndef ROOT_TEnv |
13 | 13 | #define ROOT_TEnv |
14 | 14 |
|
15 | | - |
16 | | -////////////////////////////////////////////////////////////////////////// |
17 | | -// // |
18 | | -// TEnv // |
19 | | -// // |
20 | | -// The TEnv class reads config files, by default named .rootrc. Three // |
21 | | -// types of config files are read: global, user and local files. The // |
22 | | -// global file is $ROOTSYS/etc/system<name> (or ROOTETCDIR/system<name>)// |
23 | | -// the user file is $HOME/<name> and the local file is ./<name>. // |
24 | | -// By setting the shell variable ROOTENV_NO_HOME=1 the reading of // |
25 | | -// the $HOME/<name> resource file will be skipped. This might be useful // |
26 | | -// in case the home directory resides on an automounted remote file // |
27 | | -// system and one wants to avoid this file system from being mounted. // |
28 | | -// // |
29 | | -// The format of the .rootrc file is similar to the .Xdefaults format: // |
30 | | -// // |
31 | | -// [+]<SystemName>.<RootName|ProgName>.<name>[(type)]: <value> // |
32 | | -// // |
33 | | -// Where <SystemName> is either Unix, WinNT, MacOS or Vms, // |
34 | | -// <RootName> the name as given in the TApplication ctor (or "RootApp" // |
35 | | -// in case no explicit TApplication derived object was created), // |
36 | | -// <ProgName> the current program name and <name> the resource name, // |
37 | | -// with optionally a type specification. <value> can be either a // |
38 | | -// string, an integer, a float/double or a boolean with the values // |
39 | | -// TRUE, FALSE, ON, OFF, YES, NO, OK, NOT. Booleans will be returned as // |
40 | | -// an integer 0 or 1. The options [+] allows the concatenation of // |
41 | | -// values to the same resouce name. // |
42 | | -// // |
43 | | -// E.g.: // |
44 | | -// // |
45 | | -// Unix.Rint.Root.DynamicPath: .:$ROOTSYS/lib:~/lib // |
46 | | -// myapp.Root.Debug: FALSE // |
47 | | -// TH.Root.Debug: YES // |
48 | | -// // |
49 | | -// <SystemName> and <ProgName> or <RootName> may be the wildcard "*". // |
50 | | -// A # in the first column starts comment line. // |
51 | | -// // |
52 | | -// For the currently defined resources (and their default values) see // |
53 | | -// $ROOTSYS/etc/system.rootrc. // |
54 | | -// // |
55 | | -// Note that the .rootrc config files contain the config for all ROOT // |
56 | | -// based applications. // |
57 | | -// // |
58 | | -////////////////////////////////////////////////////////////////////////// |
59 | | - |
60 | 15 | #include "TObject.h" |
61 | 16 | #include "TString.h" |
62 | 17 |
|
|
0 commit comments