TEnvRec Class Reference

#include <TEnv.h>

Inheritance diagram for TEnvRec:

TObject TObject List of all members.

Public Member Functions

 TEnvRec ()
const char * GetName () const
const char * GetValue () const
const char * GetType () const
EEnvLevel GetLevel () const
ULong_t Hash () const
 TEnvRec ()
const char * GetName () const
const char * GetValue () const
const char * GetType () const
EEnvLevel GetLevel () const
ULong_t Hash () const

Private Member Functions

 TEnvRec (const char *n, const char *v, const char *t, EEnvLevel l)
Int_t Compare (const TObject *obj) const
void ChangeValue (const char *v, const char *t, EEnvLevel l, Bool_t append=kFALSE, Bool_t ignoredup=kFALSE)
TString ExpandValue (const char *v)
 TEnvRec (const char *n, const char *v, const char *t, EEnvLevel l)
Int_t Compare (const TObject *obj) const
void ChangeValue (const char *v, const char *t, EEnvLevel l, Bool_t append=kFALSE, Bool_t ignoredup=kFALSE)
TString ExpandValue (const char *v)

Private Attributes

TString fName
TString fType
TString fValue
EEnvLevel fLevel
Bool_t fModified

Friends

class TEnv
class TEnvParser
class TReadEnvParser
class TWriteEnvParser

Detailed Description

Definition at line 91 of file TEnv.h.


Constructor & Destructor Documentation

TEnvRec::TEnvRec ( const char *  n,
const char *  v,
const char *  t,
EEnvLevel  l 
) [private]

Definition at line 257 of file TEnv.cxx.

References ExpandValue(), fModified, fValue, and kEnvChange.

TEnvRec::TEnvRec (  )  [inline]

Definition at line 112 of file TEnv.h.

TEnvRec::TEnvRec ( const char *  n,
const char *  v,
const char *  t,
EEnvLevel  l 
) [private]

TEnvRec::TEnvRec (  )  [inline]

Definition at line 112 of file TEnv.h.


Member Function Documentation

Int_t TEnvRec::Compare ( const TObject obj  )  const [private, virtual]

Reimplemented from TObject.

Definition at line 299 of file TEnv.cxx.

References TString::CompareTo(), and fName.

void TEnvRec::ChangeValue ( const char *  v,
const char *  t,
EEnvLevel  l,
Bool_t  append = kFALSE,
Bool_t  ignoredup = kFALSE 
) [private]

Definition at line 267 of file TEnv.cxx.

References TString::Data(), ExpandValue(), fLevel, fModified, fName, fValue, kEnvChange, kFALSE, kTRUE, and TObject::Warning().

Referenced by TEnv::SetValue().

TString TEnvRec::ExpandValue ( const char *  v  )  [private]

Definition at line 307 of file TEnv.cxx.

References TSystem::Getenv(), gSystem, len, s1, s2, StrDup(), strlcat(), and val.

Referenced by ChangeValue(), and TEnvRec().

const char* TEnvRec::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 113 of file TEnv.h.

References fName.

const char* TEnvRec::GetValue (  )  const [inline]

Definition at line 114 of file TEnv.h.

References fValue.

Referenced by THtml::LoadAllLibs().

const char* TEnvRec::GetType (  )  const [inline]

Definition at line 115 of file TEnv.h.

References fType.

EEnvLevel TEnvRec::GetLevel (  )  const [inline]

Definition at line 116 of file TEnv.h.

References fLevel.

ULong_t TEnvRec::Hash (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 117 of file TEnv.h.

References fName, and TString::Hash().

Int_t TEnvRec::Compare ( const TObject obj  )  const [private, virtual]

Reimplemented from TObject.

void TEnvRec::ChangeValue ( const char *  v,
const char *  t,
EEnvLevel  l,
Bool_t  append = kFALSE,
Bool_t  ignoredup = kFALSE 
) [private]

TString TEnvRec::ExpandValue ( const char *  v  )  [private]

const char* TEnvRec::GetName (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 113 of file TEnv.h.

References fName.

const char* TEnvRec::GetValue (  )  const [inline]

Definition at line 114 of file TEnv.h.

References fValue.

const char* TEnvRec::GetType (  )  const [inline]

Definition at line 115 of file TEnv.h.

References fType.

EEnvLevel TEnvRec::GetLevel (  )  const [inline]

Definition at line 116 of file TEnv.h.

References fLevel.

ULong_t TEnvRec::Hash (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 117 of file TEnv.h.

References fName, and TString::Hash().


Friends And Related Function Documentation

TEnv [friend]

Definition at line 93 of file TEnv.h.

TEnvParser [friend]

Definition at line 94 of file TEnv.h.

TReadEnvParser [friend]

Definition at line 95 of file TEnv.h.

TWriteEnvParser [friend]

Definition at line 96 of file TEnv.h.


Member Data Documentation

TString TEnvRec::fName [private]

Definition at line 99 of file TEnv.h.

Referenced by ChangeValue(), Compare(), GetName(), Hash(), TEnv::PrintEnv(), TEnv::SaveLevel(), and TEnv::WriteFile().

TString TEnvRec::fType [private]

Definition at line 100 of file TEnv.h.

Referenced by GetType().

TString TEnvRec::fValue [private]

Definition at line 101 of file TEnv.h.

Referenced by ChangeValue(), TEnv::Getvalue(), GetValue(), TWriteEnvParser::KeyValue(), TEnv::PrintEnv(), TEnv::SaveLevel(), TEnvRec(), and TEnv::WriteFile().

EEnvLevel TEnvRec::fLevel [private]

Definition at line 102 of file TEnv.h.

Referenced by ChangeValue(), GetLevel(), TEnv::PrintEnv(), TEnv::SaveLevel(), and TEnv::WriteFile().

Bool_t TEnvRec::fModified [private]

Definition at line 103 of file TEnv.h.

Referenced by ChangeValue(), TWriteEnvParser::KeyValue(), TEnv::SaveLevel(), and TEnvRec().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:36:19 2011 for ROOT_528-00b_version by  doxygen 1.5.1