28 #ifndef ROOT_TDirectory 34 #ifndef ROOT_RConfigure 35 #include "RConfigure.h" 185 void InitInterpreter();
187 void *
operator new(
size_t l) {
return TObject::operator
new(
l); }
188 void *
operator new(
size_t l,
void *ptr) {
return TObject::operator
new(
l,ptr); }
190 friend class ::ROOT::Internal::TROOTAllocator;
205 void EndOfProcessCleanups();
208 virtual TObject *FindObjectAny(
const char *
name)
const;
209 virtual TObject *FindObjectAnyFile(
const char *
name)
const;
210 TObject *FindSpecialObject(
const char *
name,
void *&where);
211 const char *FindObjectClassName(
const char *
name)
const;
212 const char *FindObjectPathName(
const TObject *obj)
const;
233 const char *GetGitDate();
251 TCollection *GetListOfFunctionOverloads(
const char* name)
const;
269 TFile *GetFile(
const char *name)
const;
271 TStyle *GetStyle(
const char *name)
const;
277 TObject *GetGeometry(
const char *name)
const;
284 void Idle(
UInt_t idleTimeInSec,
const char *command = 0);
285 Int_t IgnoreInclude(
const char *fname,
const char *expandedfname);
293 Bool_t IsRootFile(
const char *filename)
const;
295 Int_t LoadClass(
const char *classname,
const char *libname,
Bool_t check =
kFALSE);
299 TCanvas *MakeDefCanvas()
const;
303 Long_t ProcessLineSync(
const char *line,
Int_t *error = 0);
304 Long_t ProcessLineFast(
const char *line,
Int_t *error = 0);
305 Bool_t ReadingObject()
const;
306 void RefreshBrowsers();
308 const char** headers,
309 const char** includePaths,
310 const char* payLoadCode,
311 const char* fwdDeclCode,
312 void (*triggerFunc)(),
313 const FwdDeclArgsToKeepCollection_t& fwdDeclsArgToSkip,
314 const char** classesHeaders);
320 void SetCutClassName(
const char *name =
"TCutG");
323 void SetEditorMode(
const char *mode =
"");
334 void SetStyle(
const char *stylename =
"Default");
339 static Int_t DecreaseDirLevel();
340 static Int_t GetDirLevel();
342 static void SetMacroPath(
const char *newpath);
343 static Int_t IncreaseDirLevel();
344 static void IndentLevel();
345 static Bool_t Initialized();
347 static void SetDirLevel(
Int_t level = 0);
348 static Int_t ConvertVersionCode2Int(
Int_t code);
350 static Int_t RootVersionCode();
351 static const char**&GetExtraInterpreterArgs();
352 static const char *GetTutorialsDir();
364 #define gROOT (ROOT::GetROOT()) TSeqCollection * fStreamerInfo
void AddClass(const char *cname, Version_t id, const std::type_info &info, DictFuncPtr_t dict, Int_t pragmabits)
Global function called by the ctor of a class's init class (see the ClassImp macro).
void SetSelectedPad(TVirtualPad *pad)
TListOfFunctionTemplates * fFuncTemplate
const TObject * GetSelectedPrimitive() const
A TFolder object is a collection of objects and folders.
Bool_t GetForceStyle() const
A collection of TDataMember objects designed for fast access given a DeclId_t and for keep track of T...
TList * GetListOfBrowsables() const
This class defines an abstract interface to a generic command line interpreter.
TCling & operator=(const TCling &)
void SetDefCanvasName(const char *name="c1")
TSeqCollection * GetListOfMappedFiles() const
TParBranchProcessingRAII()
ROOT top level object description.
This class is a specialized TProcessID managing the list of UUIDs.
void SetLineIsProcessing()
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
TSeqCollection * GetListOfCleanups() const
TCollection * GetListOfClasses() const
TSeqCollection * fGeometries
TCollection * GetListOfClassGenerators() const
~TParTreeProcessingRAII()
Dictionary for function template This class describes one single function template.
void DisableImplicitMT()
Disables the implicit multi-threading in ROOT.
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
void EnableImplicitMT(UInt_t numthreads=0)
Globally enables the implicit multi-threading in ROOT, activating the parallel execution of those met...
void SetExecutingMacro(Bool_t flag=kTRUE)
Int_t GetVersionInt() const
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
TProcessUUID * GetUUIDs() const
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
void SaveContext()
Save the current Cling state.
cling::Interpreter * fInterpreter
const char * GetConfigFeatures() const
This class implements a mutex interface.
void DisableParTreeProcessing()
Globally disables the IMT use case of parallel branch processing, deactivating the corresponding lock...
Int_t GetVersionDate() const
virtual void Browse(TBrowser *b)
Browse object. May be overridden for another default action.
R__EXTERN TVirtualMutex * gROOTMutex
void RegisterModule(const char *modulename, const char **headers, const char **includePaths, const char *payloadCode, const char *fwdDeclsCode, void(*triggerFunc)(), const FwdDeclArgsToKeepCollection_t &fwdDeclsArgToSkip, const char **classesHeaders, Bool_t lateRegistration=false)
Inject the module named "modulename" into cling; load all headers.
Int_t GetBuiltDate() const
Type GetType(const std::string &Name)
const char * GetCutClassName() const
std::atomic< TApplication * > fApplication
const char * GetDefCanvasName() const
Int_t GetVersionCode() const
void SetBatch(Bool_t batch=kTRUE)
void ForceStyle(Bool_t force=kTRUE)
TInterpreter * fInterpreter
TSeqCollection * fMappedFiles
Sequenceable collection abstract base class.
#define ClassDef(name, id)
Bool_t IsParTreeProcessingEnabled()
Returns true if parallel tree processing is enabled.
TSeqCollection * fCleanups
void SetEscape(Bool_t flag=kTRUE)
TSeqCollection * GetListOfSpecials() const
void EnableParTreeProcessing()
Globally enables the parallel tree processing, which is a case of implicit multi-threading in ROOT...
TPluginManager * GetPluginManager() const
const char * GetConfigOptions() const
Bool_t IsLineProcessing() const
void SetFromPopUp(Bool_t flag=kTRUE)
void SetMustClean(Bool_t flag=kTRUE)
Bool_t IsInterrupted() const
DeclId_t GetFunction(ClassInfo_t *cl, const char *funcname)
Return pointer to cling interface function for a method of a class with a certain name...
Long_t ProcessLine(const char *line, EErrorCode *error=0)
Int_t GetNclasses() const
TSeqCollection * fClipboard
This class defines an interface to the cling C++ interpreter.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
TCollection * GetListOfFunctions() const
TSeqCollection * GetListOfClosedObjects() const
TSeqCollection * GetListOfGeometries() const
TStyle objects may be created to define special styles.
R__EXTERN TROOT * gROOTLocal
Using a TBrowser one can browse all ROOT objects.
void Time(Int_t casetime=1)
virtual void ls(Option_t *option="") const
List TNamed name and title.
Bool_t IsParBranchProcessingEnabled()
Returns true if parallel branch processing is enabled.
TSeqCollection * fDataSets
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
TSeqCollection * fMessageHandlers
void RemoveClass(const char *cname)
Global function called by the dtor of a class's init class (see the ClassImp macro).
Basic data type descriptor (datatype information is obtained from CINT).
TFolder * GetRootFolder() const
TPluginManager * fPluginManager
std::atomic< TListOfEnums * > AListOfEnums_t
TSeqCollection * GetListOfCanvases() const
TSeqCollection * GetListOfDataSets() const
TSeqCollection * fSecContexts
Collection abstract base class.
TSeqCollection * GetListOfSecContexts() const
void SetApplication(TApplication *app)
This class implements a plugin library manager.
Objects following this interface can be passed onto the TROOT object to implement a user customized w...
The ROOT global object gROOT contains a list of all defined classes.
Int_t GetBuiltTime() const
Int_t GetEditorMode() const
Global variables class (global variables are obtained from CINT).
void Reset(Detail::TBranchProxy *x)
Bool_t GetEditHistograms() const
TInterpreter * GetInterpreter() const
TSeqCollection * fSpecials
~TParBranchProcessingRAII()
Bool_t IsExecutingMacro() const
TSeqCollection * GetListOfColors() const
TListOfFunctions * fGlobalFunctions
TSeqCollection * fCanvases
TSeqCollection * GetListOfSockets() const
TVirtualPad * GetSelectedPad() const
void EnableThreadSafety()
Enables the global mutex to make ROOT thread safe/aware.
std::string Message(const std::string &msg, const std::string &location)
void SetEditHistograms(Bool_t flag=kTRUE)
Describe directory structure in memory.
TSeqCollection * GetListOfStyles() const
TSeqCollection * GetListOfFiles() const
DeclId_t GetFunctionTemplate(ClassInfo_t *cl, const char *funcname)
Return pointer to cling interface function for a method of a class with a certain name...
Int_t GetVersionTime() const
void EnableParBranchProcessing()
Globally enables the parallel branch processing, which is a case of implicit multi-threading (IMT) in...
The color creation and management class.
void SetInterrupt(Bool_t flag=kTRUE)
TSeqCollection * GetListOfStreamerInfo() const
TCollection * fClassGenerators
const char * GetGitCommit() const
Bool_t IsProofServ() const
Mother of all ROOT objects.
void GetColor(Float_t v, Float_t vmin, Float_t vmax, Int_t type, Float_t *rgba)
This function creates color for parametric surface's vertex, using its 'u' value. ...
Global functions class (global functions are obtained from CINT).
std::vector< std::pair< std::string, int > > FwdDeclArgsToKeepCollection_t
const char * GetGitBranch() const
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
TListOfDataMembers * fGlobals
Bool_t IsImplicitMTEnabled()
Returns true if the implicit multi-threading in ROOT is enabled.
TSeqCollection * fClosedObjects
TSeqCollection * GetClipboard() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
void SetSelectedPrimitive(const TObject *obj)
TSeqCollection * fBrowsers
TSeqCollection * GetListOfProofs() const
This class creates the ROOT Application Environment that interfaces to the windowing system eventloop...
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
TSeqCollection * fSockets
virtual Int_t GetSize() const
TSeqCollection * GetListOfMessageHandlers() const
TSeqCollection * GetListOfBrowsers() const
void SetLineHasBeenProcessed()
void LoadMacro(const char *filename, EErrorCode *error=0)
Load a macro file in cling's memory.
TSeqCollection * GetListOfTasks() const
void DisableParBranchProcessing()
Globally disables the IMT use case of parallel branch processing, deactivating the corresponding lock...
const TObject * fPrimitive
TApplication * GetApplication() const
const char * GetVersion() const