ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
TEnv.cxx File Reference
#include "RConfigure.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "TEnv.h"
#include "TROOT.h"
#include "TSystem.h"
#include "THashList.h"
#include "TError.h"
Include dependency graph for TEnv.cxx:

Go to the source code of this file.

Functions

 ClassImp (TEnv) TEnv
 Create a resource table and read the (possibly) three resource files, i.e $ROOTSYS/etc/system<name> (or ROOTETCDIR/system<name>), $HOME/<name> and `. More...
 

Variables

TEnvgEnv
 
static struct BoolNameTable_t gBoolNames []
 

Function Documentation

ClassImp ( TEnv  )

Create a resource table and read the (possibly) three resource files, i.e $ROOTSYS/etc/system<name> (or ROOTETCDIR/system<name>), $HOME/<name> and `.

/`<name>. ROOT always reads ".rootrc" (in TROOT::InitSystem()). You can read additional user defined resource files by creating additional TEnv objects. By setting the shell variable ROOTENV_NO_HOME=1 the reading of the $HOME/<name> resource file will be skipped. This might be useful in case the home directory resides on an auto-mounted remote file system and one wants to avoid the file system from being mounted.

Definition at line 376 of file TEnv.cxx.

Variable Documentation

struct BoolNameTable_t gBoolNames[]
static
Initial value:
= {
{ "TRUE", 1 },
{ "FALSE", 0 },
{ "ON", 1 },
{ "OFF", 0 },
{ "YES", 1 },
{ "NO", 0 },
{ "OK", 1 },
{ "NOT", 0 },
{ 0, 0 }
}

Referenced by TEnv::GetValue().

TEnv* gEnv

Definition at line 80 of file TEnv.cxx.