28 #ifndef ROOT_TDirectory 29 #include "TDirectory.h" 34 #ifndef ROOT_RConfigure 35 #include "RConfigure.h" 161 void InitInterpreter();
163 void *
operator new(
size_t l) {
return TObject::operator
new(
l); }
164 void *
operator new(
size_t l,
void *ptr) {
return TObject::operator
new(
l,ptr); }
166 friend class ::ROOT::Internal::TROOTAllocator;
181 void EndOfProcessCleanups();
184 virtual TObject *FindObjectAny(
const char *
name)
const;
185 virtual TObject *FindObjectAnyFile(
const char *
name)
const;
186 TObject *FindSpecialObject(
const char *
name,
void *&where);
187 const char *FindObjectClassName(
const char *
name)
const;
188 const char *FindObjectPathName(
const TObject *obj)
const;
209 const char *GetGitDate();
227 TCollection *GetListOfFunctionOverloads(
const char* name)
const;
245 TFile *GetFile(
const char *name)
const;
247 TStyle *GetStyle(
const char *name)
const;
252 TFunction *GetGlobalFunctionWithPrototype(
const char *name,
const char *proto = 0,
Bool_t load =
kFALSE);
253 TObject *GetGeometry(
const char *name)
const;
260 void Idle(
UInt_t idleTimeInSec,
const char *command = 0);
261 Int_t IgnoreInclude(
const char *fname,
const char *expandedfname);
271 Int_t LoadClass(
const char *classname,
const char *libname,
Bool_t check =
kFALSE);
275 TCanvas *MakeDefCanvas()
const;
279 Long_t ProcessLineSync(
const char *line,
Int_t *error = 0);
280 Long_t ProcessLineFast(
const char *line,
Int_t *error = 0);
281 Bool_t ReadingObject()
const;
282 void RefreshBrowsers();
284 const char** headers,
285 const char** includePaths,
286 const char* payLoadCode,
287 const char* fwdDeclCode,
288 void (*triggerFunc)(),
289 const FwdDeclArgsToKeepCollection_t& fwdDeclsArgToSkip,
290 const char** classesHeaders);
296 void SetCutClassName(
const char *name =
"TCutG");
299 void SetEditorMode(
const char *mode =
"");
310 void SetStyle(
const char *stylename =
"Default");
315 static Int_t DecreaseDirLevel();
316 static Int_t GetDirLevel();
318 static void SetMacroPath(
const char *newpath);
319 static Int_t IncreaseDirLevel();
320 static void IndentLevel();
321 static Bool_t Initialized();
323 static void SetDirLevel(
Int_t level = 0);
324 static Int_t ConvertVersionCode2Int(
Int_t code);
326 static Int_t RootVersionCode();
327 static const char**&GetExtraInterpreterArgs();
329 static const TString& GetRootSys();
330 static const TString& GetBinDir();
331 static const TString& GetLibDir();
332 static const TString& GetIncludeDir();
333 static const TString& GetEtcDir();
334 static const TString& GetDataDir();
335 static const TString& GetDocDir();
336 static const TString& GetMacroDir();
337 static const TString& GetTutorialsDir();
338 static const TString& GetSourceDir();
339 static const TString& GetIconPath();
340 static const TString& GetTTFFontDir();
352 #define gROOT (ROOT::GetROOT()) TSeqCollection * fStreamerInfo
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.
void SetDefCanvasName(const char *name="c1")
TSeqCollection * GetListOfMappedFiles() const
ROOT top level object description.
This class is a specialized TProcessID managing the list of UUIDs.
void SetLineIsProcessing()
Namespace for new ROOT classes and functions.
TSeqCollection * GetListOfCleanups() const
TCollection * GetListOfClasses() const
TSeqCollection * fGeometries
TCollection * GetListOfClassGenerators() const
Dictionary for function template This class describes one single function template.
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
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.
static const char * filename()
Int_t GetVersionDate() const
virtual void Browse(TBrowser *b)
Browse object. May be overridden for another default action.
void AddClass(const char *cname, Version_t id, const 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).
R__EXTERN TVirtualMutex * gROOTMutex
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)
TSeqCollection * fCleanups
void SetEscape(Bool_t flag=kTRUE)
TSeqCollection * GetListOfSpecials() const
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)
Let cling process a command line.
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.
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
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
The color creation and management class.
void SetInterrupt(Bool_t flag=kTRUE)
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)
Inject the module named "modulename" into cling; load all headers.
TSeqCollection * GetListOfStreamerInfo() const
TCollection * fClassGenerators
const char * GetGitCommit() const
Binding & operator=(OUT(*fun)(void))
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
TSeqCollection * fClosedObjects
TSeqCollection * GetClipboard() const
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
const TObject * fPrimitive
TApplication * GetApplication() const
const char * GetVersion() const