TGFileBrowser.cxx File Reference

#include "TROOT.h"
#include "TSystem.h"
#include "TApplication.h"
#include "TGClient.h"
#include "TGListTree.h"
#include "TGLayout.h"
#include "TGComboBox.h"
#include "TContextMenu.h"
#include "TGTextEntry.h"
#include "TGTab.h"
#include "TGLabel.h"
#include "TSystemDirectory.h"
#include "TGMimeTypes.h"
#include "TClass.h"
#include "TQClass.h"
#include "TDataMember.h"
#include "TMethod.h"
#include "TMethodArg.h"
#include "TRealData.h"
#include "TInterpreter.h"
#include "TRegexp.h"
#include "TEnv.h"
#include "TImage.h"
#include "TBrowser.h"
#include "TRemoteObject.h"
#include "TVirtualPad.h"
#include "Getline.h"
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include "TGFileBrowser.h"
#include "TRootBrowser.h"
#include "TVirtualPadEditor.h"
#include "TGedEditor.h"
#include "TBaseClass.h"

Go to the source code of this file.

Classes

class  TCursorSwitcher

Functions

 ClassImp (TGFileBrowser) TGFileBrowser
static Bool_t IsObjectEditable (TClass *cl)
static const char * FormatToolTip (TObject *obj, Int_t maxlen=0)
static Bool_t IsTextFile (const char *candidate)

Variables

const char rootdir [] = "/"
const char * filters []


Function Documentation

ClassImp ( TGFileBrowser   ) 

Definition at line 96 of file TGFileBrowser.cxx.

References gClient, and TGClient::GetDefaultRoot().

static const char* FormatToolTip ( TObject obj,
Int_t  maxlen = 0 
) [static]

Definition at line 266 of file TGFileBrowser.cxx.

References TString::Atoll(), TString::BeginsWith(), bsize, TString::Clear(), TString::Data(), TString::Format(), TString::IsNull(), TString::Length(), Long64_t, and TString::Remove().

Referenced by TGFileBrowser::Add(), and TGFileBrowser::AddKey().

static Bool_t IsObjectEditable ( TClass cl  )  [static]

Definition at line 248 of file TGFileBrowser.cxx.

References Form(), TClass::GetClass(), TBaseClass::GetClassPointer(), TClass::GetListOfBases(), kFALSE, and kTRUE.

Referenced by TGFileBrowser::Clicked(), and TGFileBrowser::Update().

static Bool_t IsTextFile ( const char *  candidate  )  [static]

Definition at line 1037 of file TGFileBrowser.cxx.

References buf, buffer, fclose(), fopen, fread, TSystem::GetPathInfo(), gSystem, i, infile, kFALSE, kS_IFREG, and kTRUE.

Referenced by TGFileBrowser::DoubleClicked(), TGTextView::HandleDNDDrop(), and TGRootIDE::OnDoubleClick().


Variable Documentation

const char* filters[]

Initial value:

 {
   "",
   "*.*",
   "*.[C|c|h]*",
   "*.root",
   "*.txt"
}

Definition at line 56 of file TGFileBrowser.cxx.

const char rootdir[] = "/"

Definition at line 53 of file TGFileBrowser.cxx.

Referenced by TGFileBrowser::AddFSDirectory(), TDataSetIter::Find(), and TAlienCollection::GetOutputFileName().


Generated on Tue Jul 5 16:00:55 2011 for ROOT_528-00b_version by  doxygen 1.5.1