JSFEnv


class description - source file - inheritance tree

class JSFEnv : public TEnv


    public:
JSFEnv(char* name) JSFEnv(const JSFEnv&) virtual ~JSFEnv() static TClass* Class() void GetArguments() TOrdCollection* GetDefined() Char_t* GetEnvFileName() TOrdCollection* GetObtained() virtual const char* GetValue(const char* name, const char* dflt) const virtual int GetValue(const char* name, int dflt) virtual TClass* IsA() const JSFEnvRec* LookUp(const char* name) virtual void ReadFile(const char* fname, EEnvLevel l) virtual void SetValue(const char* name, const char* value, EEnvLevel lbl = kEnvChange, const char* t = "0") virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Bool_t WriteFile(char* fn = "NULL")

Data Members

    private:
TOrdCollection* fDefined ! Env parameters used by the program. TOrdCollection* fObtained ! Env parameters obtained from a file. Char_t* fEnvFileName ! File name of environment parameter.

Class Description

  JSFEnv

  JSF Environment parameter.
  This class is inhrited from TEnv, adding functions such as
   (1) Store use environment variables.
   (2) In the configuration file, user can specify not only a value
       of parameter, but also description of parameter and
       alias name which can be specified at the command argument.

(Update)
  29-January-2000  A.Miyamoto Add JSFEnvRec::GetHelpMessage()

$Id: JSFEnv.cxx,v 1.6 2001/01/12 01:35:59 miyamoto Exp $


JSFEnv(Char_t *name) : TEnv(name)
 Create a resource table and read resource file.

void ReadFile(const char *n, EEnvLevel l)

~JSFEnv()

const char* GetValue(const char *name, const char *dflt)

int GetValue(const char *name, int dflt)

void SetValue(const char *name, const char *value, EEnvLevel l, const char *t)
  Change TEnv and JSFEnv parameter value.

JSFEnvRec* LookUp(const char *name)
 Find JSFEnvRec.

Bool_t WriteFile(char* fn)
 Overwrite parameter file

void GetArguments()
 Set command line parameters to environment parameters.



Inline Functions


        TOrdCollection* GetObtained()
        TOrdCollection* GetDefined()
                Char_t* GetEnvFileName()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
                 JSFEnv JSFEnv(const JSFEnv&)


Last update: Tue Jan 20 15:54:00 2004


ROOT page - Home page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.