#include <TEnv.h>
Inheritance diagram for TEnv:

Public Member Functions | |
| TEnv (const char *name="") | |
| virtual | ~TEnv () |
| THashList * | GetTable () const |
| Bool_t | Defined (const char *name) |
| virtual const char * | GetRcName () const |
| virtual void | SetRcName (const char *name) |
| virtual Int_t | GetValue (const char *name, Int_t dflt) |
| virtual Double_t | GetValue (const char *name, Double_t dflt) |
| virtual const char * | GetValue (const char *name, const char *dflt) |
| virtual void | SetValue (const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=0) |
| virtual void | SetValue (const char *name, EEnvLevel level=kEnvChange) |
| virtual void | SetValue (const char *name, Int_t value) |
| virtual void | SetValue (const char *name, Double_t value) |
| virtual TEnvRec * | Lookup (const char *n) |
| virtual Int_t | ReadFile (const char *fname, EEnvLevel level) |
| virtual Int_t | WriteFile (const char *fname, EEnvLevel level=kEnvAll) |
| virtual void | Save () |
| virtual void | SaveLevel (EEnvLevel level) |
| virtual void | Print (Option_t *option="") const |
| virtual void | PrintEnv (EEnvLevel level=kEnvAll) const |
| Bool_t | IgnoreDuplicates (Bool_t ignore) |
| TEnv (const char *name="") | |
| virtual | ~TEnv () |
| THashList * | GetTable () const |
| Bool_t | Defined (const char *name) |
| virtual const char * | GetRcName () const |
| virtual void | SetRcName (const char *name) |
| virtual Int_t | GetValue (const char *name, Int_t dflt) |
| virtual Double_t | GetValue (const char *name, Double_t dflt) |
| virtual const char * | GetValue (const char *name, const char *dflt) |
| virtual void | SetValue (const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=0) |
| virtual void | SetValue (const char *name, EEnvLevel level=kEnvChange) |
| virtual void | SetValue (const char *name, Int_t value) |
| virtual void | SetValue (const char *name, Double_t value) |
| virtual TEnvRec * | Lookup (const char *n) |
| virtual Int_t | ReadFile (const char *fname, EEnvLevel level) |
| virtual Int_t | WriteFile (const char *fname, EEnvLevel level=kEnvAll) |
| virtual void | Save () |
| virtual void | SaveLevel (EEnvLevel level) |
| virtual void | Print (Option_t *option="") const |
| virtual void | PrintEnv (EEnvLevel level=kEnvAll) const |
| Bool_t | IgnoreDuplicates (Bool_t ignore) |
Private Member Functions | |
| TEnv (const TEnv &) | |
| TEnv & | operator= (const TEnv &) |
| const char * | Getvalue (const char *name) |
| TEnv (const TEnv &) | |
| TEnv & | operator= (const TEnv &) |
| const char * | Getvalue (const char *name) |
Private Attributes | |
| THashList * | fTable |
| TString | fRcName |
| Bool_t | fIgnoreDup |
| THashList * | fTable |
Definition at line 128 of file TEnv.h.
| TEnv::TEnv | ( | const TEnv & | ) | [private] |
| TEnv::TEnv | ( | const char * | name = "" |
) |
| TEnv::~TEnv | ( | ) | [virtual] |
| TEnv::TEnv | ( | const TEnv & | ) | [private] |
| TEnv::TEnv | ( | const char * | name = "" |
) |
| virtual TEnv::~TEnv | ( | ) | [virtual] |
| const char * TEnv::Getvalue | ( | const char * | name | ) | [private] |
Definition at line 431 of file TEnv.cxx.
References TEnvRec::fValue, TNamed::GetName(), gProgName, gROOT, gSystem, kFALSE, kTRUE, and Lookup().
Referenced by Defined(), and GetValue().
| THashList* TEnv::GetTable | ( | ) | const [inline] |
Definition at line 144 of file TEnv.h.
References fTable.
Referenced by THtml::LoadAllLibs(), and TSessionViewer::ReadConfiguration().
| Bool_t TEnv::Defined | ( | const char * | name | ) | [inline] |
| virtual const char* TEnv::GetRcName | ( | ) | const [inline, virtual] |
| virtual void TEnv::SetRcName | ( | const char * | name | ) | [inline, virtual] |
Definition at line 480 of file TEnv.cxx.
References BoolNameTable_t::fName, BoolNameTable_t::fValue, gBoolNames, and Getvalue().
Referenced by TProofPlayerRemote::AddOutputObject(), TProofOutputFile::AdoptFile(), TProof::AssertDataSet(), TRootAuth::Authenticate(), TSelectorDraw::Begin(), TGraph::Browse(), TMacro::Browse(), TGeoManager::Browse(), TGSpeedo::Build(), ClassImp(), TProofLite::CleanupSandbox(), TXSocket::Close(), TProof::Collect(), TSystem::CompileMacro(), TNetSystem::Create(), TProofMgr::Create(), TXSocket::Create(), TRootBrowserLite::CreateBrowser(), TGFileBrowser::CreateBrowser(), TRootGuiFactory::CreateBrowserImp(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TRootCanvas::CreateEditor(), ROOT::TBranchProxyDirector::CreateHistogram(), TQtApplication::CreateQApplication(), TProofLite::CreateSandbox(), TProofServLite::CreateServer(), TXProofServ::CreateServer(), TProofServ::CreateServer(), TXNetFile::CreateXClient(), DefaultErrorHandler(), ROOT::Math::MinimizerOptions::DefaultMinimizerType(), TProofDrawProfile::DefVar(), TProofDrawProfile2D::DefVar(), TProofDrawHist::DefVar1D(), TProofDrawHist::DefVar2D(), TProofDrawHist::DefVar3D(), TProof::Detach(), TGSpeedo::DoRedraw(), TProofProgressDialog::DoStop(), TGeoShape::Draw(), TGeoVolume::Draw(), TGeoVolume::DrawOnly(), TGSpeedo::DrawText(), TMemHashTable::Dump(), DynamicPath(), TSystemFile::Edit(), TProofServ::ErrorHandler(), TApplicationServer::ErrorHandler(), TTabCom::ExcludedByFignore(), exec_macro(), TApplicationServer::ExecLogon(), TRint::ExecLogon(), TGX11::FindBestVisual(), TWinNTSystem::FindFile(), TUnixSystem::FindFile(), TBinomialEfficiencyFitter::Fit(), TVirtualFitter::Fitter(), TAuthenticate::GenRSAKeys(), TSystem::GetBuildDir(), TAuthenticate::GetDefaultDetails(), TGLFormat::GetDefaultSamples(), TWinNTSystem::GetEffectiveGid(), TWinNTSystem::GetEffectiveUid(), TDSetElement::GetEntries(), TDSet::GetEntries(), TWinNTSystem::GetGid(), TWinNTSystem::GetGroupInfo(), TSystem::GetLinkdefSuffix(), TROOT::GetMacroPath(), TProofLite::GetNumberOfWorkers(), TProofServ::GetPriority(), TProofMgrLite::GetSessionLogs(), TUrl::GetSpecialProtocols(), TFile::GetType(), TWinNTSystem::GetUid(), THtml::GetURL(), TWinNTSystem::GetUserInfo(), TXProofServ::GetWorkers(), GlobusGetCredHandle(), TRootBrowser::HandleMenu(), TProofServ::HandleSocketInput(), TXProofServ::HandleTermination(), TXProofServ::HandleUrgentData(), TTabCom::Hook(), TSystem::Init(), TTreeCacheUnzip::Init(), TProof::Init(), TDataSetManagerFile::Init(), TFile::Init(), TCanvas::Init(), TGQt::Init(), TProofOutputFile::Init(), TProofLite::Init(), init_icon_paths(), TClSession::InitAuthentication(), TProofLite::InitDataSetManager(), TXSocket::InitEnvs(), TApplication::InitializeGraphics(), TDataSetManagerFile::InitLocalCache(), TRootBrowser::InitPlugins(), TQtWidget::InitRint(), TROOT::InitSystem(), TROOT::InitThreads(), TWinNTSystem::InitUsersGroups(), TXNetSystem::InitXrdClient(), TEventIterTree::Load(), TEventIter::LoadDir(), TVirtualPadEditor::LoadEditor(), TApplication::LoadGraphicsLibs(), TGApplication::LoadGraphicsLibs(), TPluginManager::LoadHandlersFromPluginDirs(), TFileIter::MapName(), TProof::MarkBad(), TProofOutputFile::Merge(), TShutdownTimer::Notify(), OldSlaveAuthSetup(), TRootContextMenu::OnlineHelp(), TXNetFile::Open(), TFile::Open(), TGX11::OpenDisplay(), TGWin32::OpenDisplay(), TGeoVolume::Paint(), TGeoShape::Paint(), TXSocket::PickUpReady(), TPad::Print(), TRootCanvas::PrintCanvas(), TProofLite::Process(), TProofPlayerRemote::Process(), TRootBrowserLite::ProcessMessage(), TProofServ::ProcessNext(), TProofProgressDialog::Progress(), TAuthenticate::PromptPasswd(), TAuthenticate::ProofAuthSetup(), TSessionViewer::ReadConfiguration(), TDatabasePDG::ReadPDGTable(), TGShapedToolTip::Refresh(), TGLFontManager::RegisterFont(), RootShower::RootShower(), rose_image(), TPad::SaveAs(), saveScriptOutput(), TCanvas::SaveSource(), TRootBrowserLite::SetDefaults(), TGScrollBarElement::SetEnabled(), TXNetFile::SetEnv(), TAuthenticate::SetEnvironment(), TGLText::SetGLTextFont(), TProofLite::SetProofServEnv(), TTF::SetTextFont(), TXProofServ::Setup(), TProofServLite::Setup(), TPerfStats::Setup(), TProofServ::Setup(), TProofServ::SetupCommon(), TProofServLite::SetupOnFork(), TProofLite::SetupWorkers(), ProofTests::SlaveBegin(), TEveViewer::SpawnGLViewer(), SrvAuthImpl(), SrvSetVars(), TAuthenticate::SshAuth(), TAuthenticate::SshError(), TUnixSystem::StackTrace(), TWinNTSystem::StackTrace(), TPEAC::StartSession(), TProofPEAC::StartSlaves(), TApplication::TApplication(), TAuthenticate::TAuthenticate(), TProofDrawListOfPolyMarkers3D::Terminate(), TProofDrawListOfGraphs::Terminate(), TProofDrawPolyMarker3D::Terminate(), TRint::Terminate(), TProofDrawGraph::Terminate(), TestAuth(), TEventIterTree::TEventIterTree(), TFileCacheRead::TFileCacheRead(), TGLEventHandler::TGLEventHandler(), TPerfStats::TPerfStats(), TProofServ::TProofServ(), TWinNTSystem::TWinNTSystem(), TXNetFile::TXNetFile(), TXNetSystem::TXNetSystem(), TPerfStats::WriteQueryLog(), and XSinitialise().
| const char * TEnv::GetValue | ( | const char * | name, | |
| const char * | dflt | |||
| ) | [virtual] |
| void TEnv::SetValue | ( | const char * | name, | |
| const char * | value, | |||
| EEnvLevel | level = kEnvChange, |
|||
| const char * | type = 0 | |||
| ) | [virtual] |
Definition at line 736 of file TEnv.cxx.
References TList::Add(), append, TEnvRec::ChangeValue(), fIgnoreDup, fTable, kFALSE, kTRUE, and Lookup().
Referenced by TSelectorDraw::Begin(), RootShower::CloseWindow(), TXNetSystem::Connect(), TRootCanvas::CreateEditor(), TXProofServ::CreateServer(), TProofDrawProfile::DefVar(), TProofDrawProfile2D::DefVar(), TProofDrawHist::DefVar1D(), TProofDrawHist::DefVar2D(), TProofDrawHist::DefVar3D(), TSpider::Draw(), TGLFormat::GetDefaultSamples(), getProof(), TQtWidget::InitRint(), TReadEnvParser::KeyValue(), main(), MakeTutorials(), TProof::Open(), TProof::ParseConfigField(), TProofPlayer::Process(), TSessionViewer::ProcessMessage(), TRootBrowserLite::ProcessMessage(), RootShower::ProcessMessage(), PT_Open(), TSessionViewer::ReadConfiguration(), run_selector_tests(), Run_Simple_Test(), runProof(), SetValue(), stressProof(), TProofDrawListOfPolyMarkers3D::Terminate(), TProofDrawListOfGraphs::Terminate(), TProofDrawPolyMarker3D::Terminate(), TProofDrawGraph::Terminate(), testBrowsers(), VerifyDataSet(), and TSessionViewer::WriteConfiguration().
| void TEnv::SetValue | ( | const char * | name, | |
| EEnvLevel | level = kEnvChange | |||
| ) | [virtual] |
| void TEnv::SetValue | ( | const char * | name, | |
| Int_t | value | |||
| ) | [virtual] |
| void TEnv::SetValue | ( | const char * | name, | |
| Double_t | value | |||
| ) | [virtual] |
| TEnvRec * TEnv::Lookup | ( | const char * | n | ) | [virtual] |
Definition at line 536 of file TEnv.cxx.
References THashList::FindObject(), and fTable.
Referenced by Getvalue(), TWriteEnvParser::KeyValue(), TProofPlayerRemote::Process(), TProofServ::ProcessNext(), SetValue(), and ProofTests::SlaveBegin().
Definition at line 581 of file TEnv.cxx.
References TObject::Error(), fclose(), fopen, and TEnvParser::Parse().
Referenced by TProofLite::GetNumberOfWorkers(), main(), TSessionViewer::ReadConfiguration(), and TProofServ::TProofServ().
Definition at line 605 of file TEnv.cxx.
References TString::Data(), TObject::Error(), fclose(), TEnvRec::fLevel, TEnvRec::fName, fopen, Form(), fprintf(), fTable, TEnvRec::fValue, and kEnvAll.
Referenced by TSessionViewer::WriteConfiguration().
| void TEnv::Save | ( | ) | [virtual] |
Definition at line 638 of file TEnv.cxx.
References TObject::Error(), fRcName, kEnvGlobal, kEnvLocal, kEnvUser, and SaveLevel().
| void TEnv::SaveLevel | ( | EEnvLevel | level | ) | [virtual] |
Definition at line 654 of file TEnv.cxx.
References TSystem::ConcatFileName(), TString::Data(), TObject::Error(), fclose(), TEnvRec::fLevel, TEnvRec::fModified, TEnvRec::fName, fopen, Form(), fprintf(), fRcName, fTable, TEnvRec::fValue, gRootDir, gSystem, TSystem::HomeDirectory(), kEnvChange, kEnvGlobal, kEnvLocal, kEnvUser, kFALSE, TSystem::Rename(), s, and sname.
Referenced by RootShower::CloseWindow(), RootShower::ProcessMessage(), and Save().
| void TEnv::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 546 of file TEnv.cxx.
References kEnvGlobal, kEnvLocal, kEnvUser, and PrintEnv().
| void TEnv::PrintEnv | ( | EEnvLevel | level = kEnvAll |
) | const [virtual] |
Definition at line 564 of file TEnv.cxx.
References TString::Data(), TEnvRec::fLevel, TEnvRec::fName, Form(), fTable, TEnvRec::fValue, kEnvAll, and Printf().
Referenced by Print().
| const char* TEnv::Getvalue | ( | const char * | name | ) | [private] |
| THashList* TEnv::GetTable | ( | ) | const [inline] |
| Bool_t TEnv::Defined | ( | const char * | name | ) | [inline] |
| virtual const char* TEnv::GetRcName | ( | ) | const [inline, virtual] |
| virtual void TEnv::SetRcName | ( | const char * | name | ) | [inline, virtual] |
| virtual const char* TEnv::GetValue | ( | const char * | name, | |
| const char * | dflt | |||
| ) | [virtual] |
| virtual void TEnv::SetValue | ( | const char * | name, | |
| const char * | value, | |||
| EEnvLevel | level = kEnvChange, |
|||
| const char * | type = 0 | |||
| ) | [virtual] |
| virtual void TEnv::SetValue | ( | const char * | name, | |
| EEnvLevel | level = kEnvChange | |||
| ) | [virtual] |
| virtual void TEnv::SetValue | ( | const char * | name, | |
| Int_t | value | |||
| ) | [virtual] |
| virtual void TEnv::SetValue | ( | const char * | name, | |
| Double_t | value | |||
| ) | [virtual] |
| virtual TEnvRec* TEnv::Lookup | ( | const char * | n | ) | [virtual] |
| virtual void TEnv::Save | ( | ) | [virtual] |
| virtual void TEnv::SaveLevel | ( | EEnvLevel | level | ) | [virtual] |
| virtual void TEnv::PrintEnv | ( | EEnvLevel | level = kEnvAll |
) | const [virtual] |
THashList* TEnv::fTable [private] |
Definition at line 131 of file TEnv.h.
Referenced by GetTable(), Lookup(), PrintEnv(), SaveLevel(), SetValue(), WriteFile(), and ~TEnv().
TString TEnv::fRcName [private] |
Definition at line 132 of file TEnv.h.
Referenced by GetRcName(), Save(), SaveLevel(), and SetRcName().
Bool_t TEnv::fIgnoreDup [private] |
THashList* TEnv::fTable [private] |
1.5.1