Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TCling.h
Go to the documentation of this file.
1// @(#)root/meta:$Id$
2// Author: Axel Naumann, 2011-10-19
3
4/*************************************************************************
5 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12
13#ifndef ROOT_TCling
14#define ROOT_TCling
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// TCling //
19// //
20// This class defines an interface to the cling C++ interpreter. //
21// //
22// Cling is a full ANSI compliant C++ interpreter based on //
23// clang/LLVM technology. //
24// //
25//////////////////////////////////////////////////////////////////////////
26
27#include "TInterpreter.h"
28
29#include <map>
30#include <memory>
31#include <set>
32#include <tuple>
33#include <unordered_map>
34#include <unordered_set>
35#include <vector>
36#include <string>
37#include <utility>
38
39#ifndef WIN32
40#define TWin32SendClass char
41#endif
42
43namespace llvm {
44 class GlobalValue;
45 class StringRef;
46}
47
48namespace clang {
49 class CXXRecordDecl;
50 class Decl;
51 class DeclContext;
52 class EnumDecl;
53 class FunctionDecl;
55 class NamedDecl;
56 class NamespaceDecl;
57 class TagDecl;
58 class Type;
59 class QualType;
60}
61namespace cling {
62 class Interpreter;
63 class MetaProcessor;
64 class Transaction;
65 class Value;
66}
67
68class TClingCallbacks;
69class TEnv;
70class TFile;
71class THashTable;
73class TMethod;
74class TObjArray;
78class TListOfEnums;
79
80namespace ROOT {
81 namespace TMetaUtils {
82 class TNormalizedCtxt;
83 class TClingLookupHelper;
84 }
85}
86
87extern "C" {
88 void TCling__UpdateListsOnCommitted(const cling::Transaction&,
89 cling::Interpreter*);
90 void TCling__UpdateListsOnUnloaded(const cling::Transaction&);
91 void TCling__InvalidateGlobal(const clang::Decl*);
92 void TCling__TransactionRollback(const cling::Transaction&);
93 TObject* TCling__GetObjectAddress(const char *Name, void *&LookupCtx);
94 const clang::Decl* TCling__GetObjectDecl(TObject *obj);
96 const char* canonicalName);
98 const char* canonicalName);
99 void TCling__RegisterRdictForLoadPCM(const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent);
100}
101
102class TCling final : public TInterpreter {
103private: // Static Data Members
104
105 static void* fgSetOfSpecials; // set of TObjects used in CINT variables
106
107private: // Data Members
108
109 Int_t fExitCode; // Value passed to exit() in interpreter.
110 char fPrompt[64]; // Command line prompt string.
111 //cling::DictPosition fDictPos; // dictionary context after initialization is complete.
112 //cling::DictPosition fDictPosGlobals; // dictionary context after ResetGlobals().
113 TString fSharedLibs; // Shared libraries loaded by G__loadfile().
114 Int_t fGlobalsListSerial;// Last time we refreshed the ROOT list of globals.
115 TString fIncludePath; // Interpreter include path.
116 TString fRootmapLoadPath; // Dynamic load path for rootmap files.
117 TEnv* fMapfile; // Association of classes to libraries.
118 std::vector<std::string> fAutoLoadLibStorage; // A storage to return a const char* from GetClassSharedLibsForModule.
119 std::map<size_t,std::vector<const char*>> fClassesHeadersMap; // Map of classes hashes and headers associated
120 std::map<const cling::Transaction*,size_t> fTransactionHeadersMap; // Map which transaction contains which autoparse.
121 std::set<size_t> fLookedUpClasses; // Set of classes for which headers were looked up already
122 std::set<size_t> fPayloads; // Set of payloads
123 std::set<const char*> fParsedPayloadsAddresses; // Set of payloads which were parsed
124 std::set<std::string> fAutoParseClasses; // Set of classes for which we autoparsed a header
125 std::set<std::string> fAutoLoadedLibraries; // Set of libraries that were autoloaded
126 std::hash<std::string> fStringHashFunction; // A simple hashing function
127 std::unordered_set<const clang::NamespaceDecl*> fNSFromRootmaps; // Collection of namespaces fwd declared in the rootmaps
128 TObjArray* fRootmapFiles; // Loaded rootmap files.
129 Bool_t fLockProcessLine; // True if ProcessLine should lock gInterpreterMutex.
130 Bool_t fCxxModulesEnabled;// True if C++ modules was enabled
131
132 std::unique_ptr<cling::Interpreter> fInterpreter; // The interpreter.
133 std::unique_ptr<cling::MetaProcessor> fMetaProcessor; // The metaprocessor.
134
135 std::vector<cling::Value> *fTemporaries; // Stack of temporaries
136 ROOT::TMetaUtils::TNormalizedCtxt *fNormalizedCtxt; // Which typedef to avoid stripping.
137 ROOT::TMetaUtils::TClingLookupHelper *fLookupHelper; // lookup helper used by TClassEdit
138
139 void* fPrevLoadedDynLibInfo; // Internal info to mark the last loaded libray.
140 std::vector<void*> fRegisterModuleDyLibs; // Stack of libraries currently running RegisterModule
141 TClingCallbacks* fClingCallbacks; // cling::Interpreter owns it.
143 bool operator()(const char* a, const char *b) const {
144 return strcmp(a, b) < 0;
145 }
146 };
147 std::set<TClass*> fModTClasses;
148 std::vector<std::pair<TClass*,DictFuncPtr_t> > fClassesToUpdate;
150 ULong64_t fTransactionCount; // Cling counter for commited or unloaded transactions which changed the AST.
151 std::vector<const char*> fCurExecutingMacros;
152
154 typedef std::unordered_map<std::string, TObject*> SpecialObjectMap_t;
155 std::map<SpecialObjectLookupCtx_t, SpecialObjectMap_t> fSpecialObjectMaps;
156
158 /// State of gCoreMutex when the first interpreter-related function was invoked.
159 std::unique_ptr<ROOT::TVirtualRWMutex::State> fState;
160
161 /// Interpreter-related functions will push the "entry" lock state to *this.
162 /// Recursive calls will do that, too - but we must only forget about the lock
163 /// state once this recursion count went to 0.
165
166 operator bool() const { return (bool)fState; }
167 };
168
175
177
178 DeclId_t GetDeclId(const llvm::GlobalValue *gv) const;
179
180 static Int_t DeepAutoLoadImpl(const char *cls, std::unordered_set<std::string> &visited, bool nameIsNormalized);
181 static Int_t ShallowAutoLoadImpl(const char *cls);
182
185
186 UInt_t AutoParseImplRecurse(const char *cls, bool topLevel);
187 constexpr static const char* kNullArgv[] = {nullptr};
188
189 bool fIsShuttingDown = false;
190
191protected:
193
194public: // Public Interface
195
196 ~TCling() final;
197 TCling(const char* name, const char* title, const char* const argv[], void *interpLibHandle);
198
199 void AddIncludePath(const char* path) final;
201 void *SetAutoLoadCallBack(void* cb) final { void* prev = fAutoLoadCallBack; fAutoLoadCallBack = cb; return prev; }
202 Int_t AutoLoad(const char *classname, Bool_t knowDictNotLoaded = kFALSE) final;
203 Int_t AutoLoad(const std::type_info& typeinfo, Bool_t knowDictNotLoaded = kFALSE) final;
204 Int_t AutoParse(const char* cls) final;
205 const std::set<std::string>& GetAutoParseClasses() const { return fAutoParseClasses; }
206 void* LazyFunctionCreatorAutoload(const std::string& mangled_name);
207 bool LibraryLoadingFailed(const std::string&, const std::string&, bool, bool);
208 Bool_t IsAutoLoadNamespaceCandidate(const clang::NamespaceDecl* nsDecl);
209 void ClearFileBusy() final;
210 void ClearStack() final; // Delete existing temporary values
211 Bool_t Declare(const char* code) final;
212 void EndOfLineAction() final;
219 Int_t GenerateDictionary(const char* classes, const char* includes = "", const char* options = nullptr) final;
220 char* GetPrompt() final { return fPrompt; }
221 const char* GetSharedLibs() final;
222 const char* GetClassSharedLibs(const char* cls, bool skipCore = true) final;
223 const char* GetSharedLibDeps(const char* lib, bool tryDyld = false) final;
224 const char* GetIncludePath() final;
228 void Initialize() final;
229 void ShutDown() final;
233 bool IsValid() const final;
236 void LoadMacro(const char* filename, EErrorCode* error = nullptr) final;
237 Int_t LoadLibraryMap(const char* rootmapfile = nullptr) final;
242 Longptr_t ProcessLine(const char* line, EErrorCode* error = nullptr) final;
243 Longptr_t ProcessLineAsynch(const char* line, EErrorCode* error = nullptr);
244 Longptr_t ProcessLineSynch(const char* line, EErrorCode* error = nullptr) final;
245 void PrintIntro() final;
246 void Print(Option_t *option="") const final;
247 bool RegisterPrebuiltModulePath(const std::string& FullPath,
248 const std::string& ModuleMapName = "module.modulemap") const final;
250 const char** headers,
251 const char** includePaths,
252 const char* payloadCode,
253 const char* fwdDeclsCode,
254 void (*triggerFunc)(),
256 const char** classesHeaders,
262
264
266 void SetGetline(const char * (*getlineFunc)(const char* prompt),
267 void (*histaddFunc)(const char* line)) final;
268 void Reset() final;
269 void ResetAll() final;
270 void ResetGlobals() final;
271 void ResetGlobalVar(void* obj) final;
272 void RewindDictionary() final;
273 Int_t DeleteGlobal(void* obj) final;
275 void SaveContext() final;
280 void SetClassInfo(TClass* cl, Bool_t reload = kFALSE, Bool_t silent = kFALSE) final;
281
283
285 Longptr_t Calc(const char* line, EErrorCode* error = nullptr) final;
292
297 TEnum* CreateEnum(void *VD, TClass *cl) const final;
300 std::string ToString(const char* type, void *obj) final;
302 TString GetMangledNameWithPrototype(TClass* cl, const char* method, const char* proto, Bool_t objectIsConst = kFALSE, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) final;
303 void* GetInterfaceMethod(TClass* cl, const char* method, const char* params, Bool_t objectIsConst = kFALSE) final;
304 void* GetInterfaceMethodWithPrototype(TClass* cl, const char* method, const char* proto, Bool_t objectIsConst = kFALSE, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) final;
306 DeclId_t GetFunctionWithPrototype(ClassInfo_t *cl, const char* method, const char* proto, Bool_t objectIsConst = kFALSE, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) final;
309 void GetFunctionOverloads(ClassInfo_t *cl, const char *funcname, std::vector<DeclId_t>& res) const final;
311
312 std::vector<std::string> GetUsingNamespaces(ClassInfo_t *cl) const final;
313
314 void GetInterpreterTypeName(const char* name, std::string &output, Bool_t full = kFALSE) final;
315 void Execute(const char* function, const char* params, int* error = nullptr) final;
316 void Execute(TObject* obj, TClass* cl, const char* method, const char* params, int* error = nullptr) final;
317 void Execute(TObject* obj, TClass* cl, const char* method, const char* params, Bool_t objectIsConst, int* error = nullptr);
318 void Execute(TObject* obj, TClass* cl, TMethod* method, TObjArray* params, int* error = nullptr) final;
319 void ExecuteWithArgsAndReturn(TMethod* method, void* address, const void* args[] = nullptr, int nargs = 0, void* ret= nullptr) const final;
320 Longptr_t ExecuteMacro(const char* filename, EErrorCode* error = nullptr) final;
321 void RecursiveRemove(TObject* obj) final;
327 void SetProcessLineLock(Bool_t lock = kTRUE) final {
328 fLockProcessLine = lock;
329 }
330 const char* TypeName(const char* typeDesc) final;
331
333 void ForgetMutexState() final;
334
335 void ApplyToInterpreterMutex(void* delta);
337
343
344 // Misc
345 int DisplayClass(FILE* fout, const char* name, int base, int start) const final;
347 void* FindSym(const char* entry) const final;
348 void GenericError(const char* error) const final;
353 int LoadFile(const char* path) const final;
355 const char* MapCppName(const char*) const final;
356 void SetAlloclockfunc(void (*)()) const final;
357 void SetAllocunlockfunc(void (*)()) const final;
359 int SetClassAutoparsing(int) final;
361 void SetErrmsgcallback(void* p) const final;
363 void SetTempLevel(int val) const final;
364 int UnloadFile(const char* path) const final;
365
366 void CodeComplete(const std::string&, size_t&,
367 std::vector<std::string>&) final;
371 void RegisterTemporary(const cling::Value& value);
372 const ROOT::TMetaUtils::TNormalizedCtxt& GetNormalizedContext() const {return *fNormalizedCtxt;};
373 TObject* GetObjectAddress(const char *Name, void *&LookupCtx);
374
375
376 // core/meta helper functions.
377 EReturnType MethodCallReturnType(TFunction *func) const final;
378 void GetFunctionName(const clang::Decl *decl, std::string &name) const;
379 bool DiagnoseIfInterpreterException(const std::exception &e) const final;
380
381 // CallFunc interface
382 DeclId_t GetDeclId(CallFunc_t *info) const final;
383 void CallFunc_Delete(CallFunc_t* func) const final;
384 void CallFunc_Exec(CallFunc_t* func, void* address) const final;
385 void CallFunc_Exec(CallFunc_t* func, void* address, TInterpreterValue& val) const final;
386 void CallFunc_ExecWithReturn(CallFunc_t* func, void* address, void* ret) const final;
387 void CallFunc_ExecWithArgsAndReturn(CallFunc_t* func, void* address, const void* args[] = nullptr, int nargs = 0, void *ret = nullptr) const final;
388 Longptr_t CallFunc_ExecInt(CallFunc_t* func, void* address) const final;
389 Long64_t CallFunc_ExecInt64(CallFunc_t* func, void* address) const final;
390 Double_t CallFunc_ExecDouble(CallFunc_t* func, void* address) const final;
393 MethodInfo_t* CallFunc_FactoryMethod(CallFunc_t* func) const final;
397 CallFuncIFacePtr_t CallFunc_IFacePtr(CallFunc_t * func) const final;
399 void CallFunc_SetArg(CallFunc_t* func, Long_t param) const final;
400 void CallFunc_SetArg(CallFunc_t* func, ULong_t param) const final;
401 void CallFunc_SetArg(CallFunc_t* func, Float_t param) const final;
402 void CallFunc_SetArg(CallFunc_t* func, Double_t param) const final;
403 void CallFunc_SetArg(CallFunc_t* func, Long64_t param) const final;
406 void CallFunc_SetArgs(CallFunc_t* func, const char* param) const final;
407 void CallFunc_SetFunc(CallFunc_t* func, ClassInfo_t* info, const char* method, const char* params, Longptr_t* Offset) const final;
408 void CallFunc_SetFunc(CallFunc_t* func, ClassInfo_t* info, const char* method, const char* params, bool objectIsConst, Longptr_t* Offset) const final;
409 void CallFunc_SetFunc(CallFunc_t* func, MethodInfo_t* info) const final;
410 void CallFunc_SetFuncProto(CallFunc_t* func, ClassInfo_t* info, const char* method, const char* proto, Longptr_t* Offset, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) const final;
411 void CallFunc_SetFuncProto(CallFunc_t* func, ClassInfo_t* info, const char* method, const char* proto, bool objectIsConst, Longptr_t* Offset, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) const final;
412 void CallFunc_SetFuncProto(CallFunc_t* func, ClassInfo_t* info, const char* method, const std::vector<TypeInfo_t*> &proto, Longptr_t* Offset, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) const final;
413 void CallFunc_SetFuncProto(CallFunc_t* func, ClassInfo_t* info, const char* method, const std::vector<TypeInfo_t*> &proto, bool objectIsConst, Longptr_t* Offset, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) const final;
414
416
417 // ClassInfo interface
430 int ClassInfo_GetMethodNArg(ClassInfo_t* info, const char* method, const char* proto, Bool_t objectIsConst = false, ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch) const final;
441 bool ClassInfo_IsValidMethod(ClassInfo_t* info, const char* method, const char* proto, Longptr_t* offset, ROOT::EFunctionMatchMode /* mode */ = ROOT::kConversionMatch) const final;
442 bool ClassInfo_IsValidMethod(ClassInfo_t* info, const char* method, const char* proto, Bool_t objectIsConst, Longptr_t* offset, ROOT::EFunctionMatchMode /* mode */ = ROOT::kConversionMatch) const final;
446 void* ClassInfo_New(ClassInfo_t* info, int n, void* arena) const final;
456
457 // BaseClassInfo interface
461 ClassInfo_t* base) const final;
471
472 // DataMemberInfo interface
491 void SetDeclAttr(DeclId_t, const char* /* attribute */) final;
492
493
494 // Function Template interface
496 void FuncTempInfo_Delete(FuncTempInfo_t * /* ft_info */) const final;
504 void FuncTempInfo_Name(FuncTempInfo_t * /* ft_info */, TString& name) const final;
506
507 // MethodInfo interface
508 DeclId_t GetDeclId(MethodInfo_t *info) const final;
510 void MethodInfo_Delete(MethodInfo_t* minfo) const final;
511 MethodInfo_t* MethodInfo_Factory() const final;
514 MethodInfo_t* MethodInfo_FactoryCopy(MethodInfo_t* minfo) const final;
515 void* MethodInfo_InterfaceMethod(MethodInfo_t* minfo) const final;
516 bool MethodInfo_IsValid(MethodInfo_t* minfo) const final;
517 int MethodInfo_NArg(MethodInfo_t* minfo) const final;
518 int MethodInfo_NDefaultArg(MethodInfo_t* minfo) const final;
519 int MethodInfo_Next(MethodInfo_t* minfo) const final;
523 EReturnType MethodInfo_MethodCallReturnType(MethodInfo_t* minfo) const final;
524 const char* MethodInfo_GetMangledName(MethodInfo_t* minfo) const final;
525 const char* MethodInfo_GetPrototype(MethodInfo_t* minfo) const final;
526 const char* MethodInfo_Name(MethodInfo_t* minfo) const final;
527 const char* MethodInfo_TypeName(MethodInfo_t* minfo) const final;
528 std::string MethodInfo_TypeNormalizedName(MethodInfo_t* minfo) const final;
529 const char* MethodInfo_Title(MethodInfo_t* minfo) const final;
530
531 // MethodArgInfo interface
544
545 // TypeInfo interface
552 const char* TypeInfo_Name(TypeInfo_t* /* info */) const final;
554 int TypeInfo_RefType(TypeInfo_t* /* tinfo */) const final;
558
559 // TypedefInfo interface
573
574 // QualType Opaque Ptr interface
576 bool IsIntegerType(const void * QualTypePtr) const final;
577 bool IsSignedIntegerType(const void * QualTypePtr) const final;
578 bool IsUnsignedIntegerType(const void * QualTypePtr) const final;
579 bool IsFloatingType(const void * QualTypePtr) const final;
580 bool IsPointerType(const void * QualTypePtr) const final;
581 bool IsVoidPointerType(const void * QualTypePtr) const final;
582
583
584 std::set<TClass*>& GetModTClasses() { return fModTClasses; }
585
586 void HandleNewDecl(const void* DV, bool isDeserialized, std::set<TClass*>& modifiedClasses);
587 void UpdateListsOnCommitted(const cling::Transaction &T);
588 void UpdateListsOnUnloaded(const cling::Transaction &T);
589 void InvalidateGlobal(const clang::Decl *D);
590 void TransactionRollback(const cling::Transaction &T);
591 void LibraryLoaded(const void* dyLibHandle, const char* canonicalName);
592 void LibraryUnloaded(const void* dyLibHandle, const char* canonicalName);
593
594private: // Private Utility Functions and Classes
595 template <typename List, typename Object>
596 static void RemoveAndInvalidateObject(List &L, Object *O) {
597 // Invalidate stored information by setting the `xxxInfo_t' to nullptr.
598 if (O && O->IsValid())
599 L.Unload(O), O->Update(nullptr);
600 }
601
602 void InvalidateCachedDecl(const std::tuple<TListOfDataMembers*,
605 TListOfEnums*> &Lists, const clang::Decl *D);
606
615
617 public:
618 TUniqueString() = delete;
619 TUniqueString(const TUniqueString &) = delete;
621 const char *Data();
622 bool Append(const std::string &str);
623 private:
624 std::string fContent;
625 std::set<size_t> fLinesHashSet;
626 std::hash<std::string> fHashFunc;
627 };
628
630 TCling(const TCling&) = delete;
631 TCling& operator=(const TCling&) = delete;
632
633 void Execute(TMethod*, TObjArray*, int* /*error*/ = nullptr) final {}
634
636 void RegisterLoadedSharedLibrary(const char* name);
637 void AddFriendToClass(clang::FunctionDecl*, clang::CXXRecordDecl*) const;
638
639 std::map<std::string, llvm::StringRef> fPendingRdicts;
640 void RegisterRdictForLoadPCM(const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent);
641 void LoadPCM(std::string pcmFileNameFullPath);
643
644 void InitRootmapFile(const char *name);
645 int ReadRootmapFile(const char *rootmapfile, TUniqueString* uniqueString = nullptr);
646 Bool_t HandleNewTransaction(const cling::Transaction &T);
647 bool IsClassAutoLoadingEnabled() const;
649 cling::Interpreter *GetInterpreterImpl() const { return fInterpreter.get(); }
650 cling::MetaProcessor *GetMetaProcessorImpl() const { return fMetaProcessor.get(); }
651
652 friend void TCling__RegisterRdictForLoadPCM(const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent);
653 friend cling::Interpreter* TCling__GetInterpreter();
654};
655
656#endif
void Object()
Definition Object.C:6
#define b(i)
Definition RSha256.hxx:100
#define a(i)
Definition RSha256.hxx:99
#define e(i)
Definition RSha256.hxx:103
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
bool Bool_t
Boolean (0=false, 1=true) (bool)
Definition RtypesCore.h:77
int Int_t
Signed integer 4 bytes (int)
Definition RtypesCore.h:59
long Longptr_t
Integer large enough to hold a pointer (platform-dependent)
Definition RtypesCore.h:89
unsigned long ULong_t
Unsigned long integer 4 bytes (unsigned long). Size depends on architecture.
Definition RtypesCore.h:69
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
Definition RtypesCore.h:68
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
Definition RtypesCore.h:60
float Float_t
Float 4 bytes (float)
Definition RtypesCore.h:71
constexpr Bool_t kFALSE
Definition RtypesCore.h:108
double Double_t
Double 8 bytes.
Definition RtypesCore.h:73
long long Long64_t
Portable signed long integer 8 bytes.
Definition RtypesCore.h:83
unsigned long long ULong64_t
Portable unsigned long integer 8 bytes.
Definition RtypesCore.h:84
constexpr Bool_t kTRUE
Definition RtypesCore.h:107
const char Option_t
Option string (const char)
Definition RtypesCore.h:80
TClass *(* DictFuncPtr_t)()
Definition Rtypes.h:86
void TCling__LibraryLoaded(const void *dyLibHandle, const char *canonicalName)
void TCling__LibraryUnloaded(const void *dyLibHandle, const char *canonicalName)
void TCling__TransactionRollback(const cling::Transaction &)
Definition TCling.cxx:596
void TCling__UpdateListsOnCommitted(const cling::Transaction &, cling::Interpreter *)
Definition TCling.cxx:581
void TCling__RegisterRdictForLoadPCM(const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent)
Definition TCling.cxx:605
const clang::Decl * TCling__GetObjectDecl(TObject *obj)
Definition TCling.cxx:621
void TCling__UpdateListsOnUnloaded(const cling::Transaction &)
Definition TCling.cxx:586
void TCling__InvalidateGlobal(const clang::Decl *)
Definition TCling.cxx:591
TObject * TCling__GetObjectAddress(const char *Name, void *&LookupCtx)
Definition TCling.cxx:617
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
EDataType
Definition TDataType.h:28
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t option
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Option_t Option_t TPoint TPoint const char text
char name[80]
Definition TGX11.cxx:157
const char * proto
Definition civetweb.c:18822
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition TClass.h:84
SuspendAutoLoadingRAII(TCling *tcling)
Definition TCling.h:612
TUniqueString(const TUniqueString &)=delete
const char * Data()
Definition TCling.cxx:1041
bool Append(const std::string &str)
Append string to the storage if not added already.
Definition TCling.cxx:1049
std::hash< std::string > fHashFunc
Definition TCling.h:626
std::set< size_t > fLinesHashSet
Definition TCling.h:625
std::string fContent
Definition TCling.h:624
This class defines an interface to the cling C++ interpreter.
Definition TCling.h:102
static Int_t DeepAutoLoadImpl(const char *cls, std::unordered_set< std::string > &visited, bool nameIsNormalized)
Definition TCling.cxx:6322
const char * MethodArgInfo_DefaultValue(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9437
bool ClassInfo_IsScopedEnum(ClassInfo_t *info) const final
Definition TCling.cxx:8439
const char * TypeInfo_Name(TypeInfo_t *) const final
Definition TCling.cxx:9529
void * MethodInfo_InterfaceMethod(MethodInfo_t *minfo) const final
Definition TCling.cxx:9191
void LoadEnums(TListOfEnums &cl) const final
Create list of pointers to enums for TClass cl.
Definition TCling.cxx:4513
void UpdateListOfGlobals() final
No op: see TClingCallbacks (used to update the list of globals)
Definition TCling.cxx:3981
bool TypedefInfo_IsValid(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9623
Int_t AutoLoad(const char *classname, Bool_t knowDictNotLoaded=kFALSE) final
Load library containing the specified class.
Definition TCling.cxx:6383
void * GetAutoLoadCallBack() const final
Definition TCling.h:200
void CallFunc_Init(CallFunc_t *func) const final
Definition TCling.cxx:8077
void SetGetline(const char *(*getlineFunc)(const char *prompt), void(*histaddFunc)(const char *line)) final
Set a getline function to call when input is needed.
Definition TCling.cxx:3744
bool LibraryLoadingFailed(const std::string &, const std::string &, bool, bool)
Definition TCling.cxx:6692
void GenericError(const char *error) const final
Let the interpreter issue a generic error, and set its error state.
Definition TCling.cxx:7592
std::vector< void * > fRegisterModuleDyLibs
Definition TCling.h:140
void CallFunc_ExecWithReturn(CallFunc_t *func, void *address, void *ret) const final
Definition TCling.cxx:8003
bool IsIntegerType(const void *QualTypePtr) const final
Definition TCling.cxx:9688
TypeInfo_t * MethodInfo_Type(MethodInfo_t *minfo) const final
Definition TCling.cxx:9250
std::vector< std::string > fAutoLoadLibStorage
Definition TCling.h:118
void CallFunc_Delete(CallFunc_t *func) const final
Definition TCling.cxx:7980
Bool_t fLockProcessLine
Definition TCling.h:129
int LoadFile(const char *path) const final
Load a source file or library called path into the interpreter.
Definition TCling.cxx:7635
void ResetAll() final
Reset the Cling state to its initial state.
Definition TCling.cxx:3820
void SetDeclAttr(DeclId_t, const char *) final
Definition TCling.cxx:8862
void HandleNewDecl(const void *DV, bool isDeserialized, std::set< TClass * > &modifiedClasses)
Definition TCling.cxx:513
void InvalidateCachedDecl(const std::tuple< TListOfDataMembers *, TListOfFunctions *, TListOfFunctionTemplates *, TListOfEnums * > &Lists, const clang::Decl *D)
Invalidate cached TCling information for the given declaration, and removed it from the appropriate o...
Definition TCling.cxx:7027
Long_t MethodInfo_Property(MethodInfo_t *minfo) const final
Definition TCling.cxx:9232
void LoadFunctionTemplates(TClass *cl) const final
Create list of pointers to function templates for TClass cl.
Definition TCling.cxx:4560
bool ClassInfo_IsValidMethod(ClassInfo_t *info, const char *method, const char *proto, Longptr_t *offset, ROOT::EFunctionMatchMode=ROOT::kConversionMatch) const final
Definition TCling.cxx:8473
Long_t DataMemberInfo_Property(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8795
int SetClassAutoparsing(int) final
Enable/Disable the Autoparsing of headers.
Definition TCling.cxx:7720
std::vector< const char * > fCurExecutingMacros
Definition TCling.h:151
void CreateListOfDataMembers(TClass *cl) const final
Create list of pointers to data members for TClass cl.
Definition TCling.cxx:4607
void RewindDictionary() final
Rewind Cling dictionary to the point where it was before executing the current macro.
Definition TCling.cxx:3865
bool ClassInfo_IsValid(ClassInfo_t *info) const final
Definition TCling.cxx:8465
void UpdateListsOnCommitted(const cling::Transaction &T)
Definition TCling.cxx:6901
int TypeInfo_RefType(TypeInfo_t *) const final
Definition TCling.cxx:9545
void CreateListOfBaseClasses(TClass *cl) const final
Create list of pointers to base class(es) for TClass cl.
Definition TCling.cxx:4484
char * GetPrompt() final
Definition TCling.h:220
ClassInfo_t * ClassInfo_Factory(Bool_t all=kTRUE) const final
Definition TCling.cxx:8352
const char * MethodInfo_Name(MethodInfo_t *minfo) const final
Definition TCling.cxx:9279
BaseClassInfo_t * BaseClassInfo_Factory(ClassInfo_t *info) const final
Definition TCling.cxx:8609
Bool_t LoadText(const char *text) const final
Load the declarations from text into the interpreter.
Definition TCling.cxx:7650
const char * GetSharedLibDeps(const char *lib, bool tryDyld=false) final
Get the list a libraries on which the specified lib depends.
Definition TCling.cxx:7424
EReturnType MethodInfo_MethodCallReturnType(MethodInfo_t *minfo) const final
Definition TCling.cxx:9329
TObject * GetObjectAddress(const char *Name, void *&LookupCtx)
If the interpreter encounters Name, check whether that is an object ROOT could retrieve.
Definition TCling.cxx:7851
Longptr_t ProcessLineAsynch(const char *line, EErrorCode *error=nullptr)
Let cling process a command line asynch.
Definition TCling.cxx:3656
bool MethodInfo_IsValid(MethodInfo_t *minfo) const final
Definition TCling.cxx:9200
FuncTempInfo_t * FuncTempInfo_Factory(DeclId_t declid) const final
Construct a FuncTempInfo_t.
Definition TCling.cxx:8952
TypeInfo_t * TypeInfo_Factory() const final
Definition TCling.cxx:9489
bool IsClassAutoLoadingEnabled() const
Returns if class AutoLoading is currently enabled.
Definition TCling.cxx:7689
void InvalidateGlobal(const clang::Decl *D)
Invalidate cached TCling information for the given global declaration.
Definition TCling.cxx:7012
bool IsSameType(const void *QualTypePtr1, const void *QualTypePtr2) const final
Definition TCling.cxx:9679
int Evaluate(const char *, TInterpreterValue &) final
Get the interpreter value corresponding to the statement.
Definition TCling.cxx:7813
std::unique_ptr< TInterpreterValue > MakeInterpreterValue() const final
Definition TCling.cxx:7798
void UpdateListOfLoadedSharedLibraries()
Definition TCling.cxx:3436
const char * TypedefInfo_Title(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9671
~TCling() final
Destroy the interpreter interface.
Definition TCling.cxx:1671
void CallFunc_SetFuncProto(CallFunc_t *func, ClassInfo_t *info, const char *method, const char *proto, Longptr_t *Offset, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch) const final
Interface to cling function.
Definition TCling.cxx:8202
void InitRootmapFile(const char *name)
Create a resource table and read the (possibly) three resource files, i.e.
Definition TCling.cxx:5773
Int_t AutoParse(const char *cls) final
Parse the headers relative to the class Returns 1 in case of success, 0 in case of failure.
Definition TCling.cxx:6647
void LoadPCM(std::string pcmFileNameFullPath)
Tries to load a rdict PCM, issues diagnostics if it fails.
Definition TCling.cxx:1868
void UpdateListOfMethods(TClass *cl) const final
Update the list of pointers to method for TClass cl This is now a nop.
Definition TCling.cxx:4625
void AddFriendToClass(clang::FunctionDecl *, clang::CXXRecordDecl *) const
Inject function as a friend into klass.
Definition TCling.cxx:7904
void PrintIntro() final
No-op; see TRint instead.
Definition TCling.cxx:2706
Bool_t fCxxModulesEnabled
Definition TCling.h:130
int BaseClassInfo_Next(BaseClassInfo_t *bcinfo) const final
Definition TCling.cxx:8629
void RefreshClassInfo(TClass *cl, const clang::NamedDecl *def, bool alias)
Internal function. Actually do the update of the ClassInfo when seeing.
Definition TCling.cxx:6759
CallFunc_t * CallFunc_FactoryCopy(CallFunc_t *func) const final
Definition TCling.cxx:8054
Double_t CallFunc_ExecDouble(CallFunc_t *func, void *address) const final
Definition TCling.cxx:8038
std::set< std::string > fAutoLoadedLibraries
Definition TCling.h:125
void CallFunc_ResetArg(CallFunc_t *func) const final
Definition TCling.cxx:8103
const char * GetCurrentMacroName() const final
Return the file name of the currently interpreted file, included or not.
Definition TCling.cxx:5581
Bool_t IsLoaded(const char *filename) const final
Return true if the file has already been loaded by cint.
Definition TCling.cxx:3260
void SaveGlobalsContext() final
Save the current Cling state of global objects.
Definition TCling.cxx:3968
void CallFunc_IgnoreExtraArgs(CallFunc_t *func, bool ignore) const final
Definition TCling.cxx:8069
Int_t fExitCode
Definition TCling.h:109
void ApplyToInterpreterMutex(void *delta)
Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused.
Definition TCling.cxx:9767
void * LazyFunctionCreatorAutoload(const std::string &mangled_name)
Autoload a library based on a missing symbol.
Definition TCling.cxx:6715
Int_t GenerateDictionary(const char *classes, const char *includes="", const char *options=nullptr) final
Generate the dictionary for the C++ classes listed in the first argument (in a semi-colon separated l...
Definition TCling.cxx:4841
Bool_t ClassInfo_Contains(ClassInfo_t *info, DeclId_t declid) const final
Return true if the entity pointed to by 'declid' is declared in the context described by 'info'.
Definition TCling.cxx:8268
Bool_t IsLibraryLoaded(const char *libname) const final
Definition TCling.cxx:3226
Long_t GetExecByteCode() const final
This routines used to return the address of the internal wrapper function (of the interpreter) that w...
Definition TCling.cxx:7614
int DataMemberInfo_ArrayDim(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8721
DataMemberInfo_t * DataMemberInfo_FactoryCopy(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8755
Bool_t HandleNewTransaction(const cling::Transaction &T)
Helper function to increase the internal Cling count of transactions that change the AST.
Definition TCling.cxx:3761
int ReadRootmapFile(const char *rootmapfile, TUniqueString *uniqueString=nullptr)
Read and parse a rootmapfile in its new format, and return 0 in case of success, -1 if the file has a...
Definition TCling.cxx:5646
std::map< SpecialObjectLookupCtx_t, SpecialObjectMap_t > fSpecialObjectMaps
Definition TCling.h:155
int ClassInfo_Next(ClassInfo_t *info) const final
Definition TCling.cxx:8489
void SetErrmsgcallback(void *p) const final
Set a callback to receive error messages.
Definition TCling.cxx:7741
bool MethodArgInfo_IsValid(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9413
int TypeInfo_Size(TypeInfo_t *tinfo) const final
Definition TCling.cxx:9553
Int_t DeleteGlobal(void *obj) final
Delete obj from Cling symbol table so it cannot be accessed anymore.
Definition TCling.cxx:3879
int GetSecurityError() const final
Interface to cling function.
Definition TCling.cxx:7622
void SetTempLevel(int val) const final
Create / close a scope for temporaries.
Definition TCling.cxx:7777
void Print(Option_t *option="") const final
Print information about the interpreter.
Definition TCling.cxx:2716
std::set< size_t > fPayloads
Definition TCling.h:122
UInt_t FuncTempInfo_TemplateNargs(FuncTempInfo_t *) const final
Return the maximum number of template arguments of the function template described by ft_info.
Definition TCling.cxx:8986
DeclId_t GetFunctionWithPrototype(ClassInfo_t *cl, const char *method, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch) final
Return pointer to cling interface function for a method of a class with a certain prototype,...
Definition TCling.cxx:5273
TypedefInfo_t * TypedefInfo_Factory() const final
Definition TCling.cxx:9590
TObjArray * fRootmapFiles
Definition TCling.h:128
Longptr_t ProcessLine(const char *line, EErrorCode *error=nullptr) final
Definition TCling.cxx:2511
int ClassInfo_Size(ClassInfo_t *info) const final
Definition TCling.cxx:8537
const char * MethodArgInfo_TypeName(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9453
cling::Interpreter * GetInterpreterImpl() const
Definition TCling.h:649
Longptr_t ExecuteMacro(const char *filename, EErrorCode *error=nullptr) final
Execute a cling macro.
Definition TCling.cxx:5521
std::vector< std::pair< TClass *, DictFuncPtr_t > > fClassesToUpdate
Definition TCling.h:148
int DataMemberInfo_Next(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8779
const char * TypedefInfo_Name(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9663
void BaseClassInfo_Delete(BaseClassInfo_t *bcinfo) const final
Definition TCling.cxx:8602
Long_t MethodInfo_ExtraProperty(MethodInfo_t *minfo) const final
Definition TCling.cxx:9241
void LoadMacro(const char *filename, EErrorCode *error=nullptr) final
Load a macro file in cling's memory.
Definition TCling.cxx:3648
FuncTempInfo_t * FuncTempInfo_FactoryCopy(FuncTempInfo_t *) const final
Construct a FuncTempInfo_t.
Definition TCling.cxx:8963
int DataMemberInfo_MaxIndex(DataMemberInfo_t *dminfo, Int_t dim) const final
Definition TCling.cxx:8771
Bool_t FuncTempInfo_IsValid(FuncTempInfo_t *) const final
Check validity of a FuncTempInfo_t.
Definition TCling.cxx:8974
void AddIncludePath(const char *path) final
Add a directory to the list of directories in which the interpreter looks for include files.
Definition TCling.cxx:2748
bool ClassInfo_IsBase(ClassInfo_t *info, const char *name) const final
Definition TCling.cxx:8424
void RecursiveRemove(TObject *obj) final
Delete object from cling symbol table so it can not be used anymore.
Definition TCling.cxx:3779
const ROOT::TMetaUtils::TNormalizedCtxt & GetNormalizedContext() const
Definition TCling.h:372
const char * DataMemberInfo_TypeName(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8819
DeclId_t GetDataMemberAtAddr(const void *addr) const final
Return pointer to cling DeclId for a data member with a given name.
Definition TCling.cxx:5068
friend cling::Interpreter * TCling__GetInterpreter()
std::set< TClass * > fModTClasses
Definition TCling.h:147
void CallFunc_SetArgArray(CallFunc_t *func, Longptr_t *paramArr, Int_t nparam) const final
Definition TCling.cxx:8159
TEnv * GetMapfile() const final
Definition TCling.h:215
std::string CallFunc_GetWrapperCode(CallFunc_t *func) const final
Definition TCling.cxx:8249
void * RewindInterpreterMutex()
Reset the interpreter lock to the state it had before interpreter-related calls happened.
Definition TCling.cxx:9797
const char * MethodArgInfo_Name(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9445
Bool_t HasPCMForLibrary(const char *libname) const final
Return true if ROOT has cxxmodules pcm for a given library name.
Definition TCling.cxx:3235
void TypedefInfo_Init(TypedefInfo_t *tinfo, const char *name) const final
Definition TCling.cxx:9613
const char * DataMemberInfo_Title(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8843
Longptr_t CallFunc_ExecInt(CallFunc_t *func, void *address) const final
Definition TCling.cxx:8022
void ClearStack() final
Delete existing temporary values.
Definition TCling.cxx:3173
void SetAlloclockfunc(void(*)()) const final
[Place holder for Mutex Lock] Provide the interpreter with a way to acquire a lock used to protect cr...
Definition TCling.cxx:7671
Bool_t SetErrorMessages(Bool_t enable=kTRUE) final
If error messages are disabled, the interpreter should suppress its failures and warning messages fro...
Definition TCling.cxx:7491
MethodInfo_t * CallFunc_FactoryMethod(CallFunc_t *func) const final
Definition TCling.cxx:8061
void RegisterAutoLoadedLibrary(const char *libname) final
Register that a library was autoloaded either to provide a 'missing' symbol or to provide a class (se...
Definition TCling.cxx:3502
TypedefInfo_t * TypedefInfo_FactoryCopy(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9606
void GetFunctionOverloads(ClassInfo_t *cl, const char *funcname, std::vector< DeclId_t > &res) const final
Insert overloads of name in cl to res.
Definition TCling.cxx:5166
void UnRegisterTClassUpdate(const TClass *oldcl) final
If the dictionary is loaded, we can remove the class from the list (otherwise the class might be load...
Definition TCling.cxx:2451
const std::set< std::string > & GetAutoParseClasses() const
Definition TCling.h:205
std::string MethodArgInfo_TypeNormalizedName(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9461
DeclId_t GetEnum(TClass *cl, const char *name) const final
Return pointer to cling Decl of global/static variable that is located at the address given by addr.
Definition TCling.cxx:4950
Long_t MethodArgInfo_Property(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9429
int TypedefInfo_Size(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9647
void CallFunc_ExecWithArgsAndReturn(CallFunc_t *func, void *address, const void *args[]=nullptr, int nargs=0, void *ret=nullptr) const final
Definition TCling.cxx:8011
void GetInterpreterTypeName(const char *name, std::string &output, Bool_t full=kFALSE) final
The 'name' is known to the interpreter, this function returns the internal version of this name (usua...
Definition TCling.cxx:5318
Int_t fGlobalsListSerial
Definition TCling.h:114
Bool_t IsAutoParsingSuspended() const final
Definition TCling.h:360
TString fSharedLibs
Definition TCling.h:113
std::map< std::string, llvm::StringRef > fPendingRdicts
Definition TCling.h:639
static void UpdateClassInfoWork(const char *name)
Definition TCling.cxx:6881
Int_t Load(const char *filenam, Bool_t system=kFALSE) final
Load a library file in cling's memory.
Definition TCling.cxx:3611
int TypedefInfo_Next(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9631
void * GetInterfaceMethod(TClass *cl, const char *method, const char *params, Bool_t objectIsConst=kFALSE) final
Return pointer to cling interface function for a method of a class with parameters params (params is ...
Definition TCling.cxx:5125
void TypeInfo_Init(TypeInfo_t *tinfo, const char *funcname) const final
Definition TCling.cxx:9512
Bool_t SetSuspendAutoParsing(Bool_t value) final
Suspend the Autoparsing of headers.
Definition TCling.cxx:7731
int DataMemberInfo_TypeSize(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8811
static void * fgSetOfSpecials
Definition TCling.h:105
const char * ClassInfo_Title(ClassInfo_t *info) const final
Definition TCling.cxx:8579
const char * DataMemberInfo_Name(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8835
const char * TypeName(const char *typeDesc) final
Return the absolute type of typeDesc.
Definition TCling.cxx:5596
ROOT::TMetaUtils::TNormalizedCtxt * fNormalizedCtxt
Definition TCling.h:136
void ForgetMutexState() final
Definition TCling.cxx:9751
int MethodInfo_Next(MethodInfo_t *minfo) const final
Definition TCling.cxx:9224
void * SetAutoLoadCallBack(void *cb) final
Definition TCling.h:201
Long_t ClassInfo_ClassProperty(ClassInfo_t *info) const final
Definition TCling.cxx:8313
void MethodInfo_Delete(MethodInfo_t *minfo) const final
Interface to cling function.
Definition TCling.cxx:9143
bool fIsShuttingDown
Definition TCling.h:189
void MethodArgInfo_Delete(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9382
bool IsSignedIntegerType(const void *QualTypePtr) const final
Definition TCling.cxx:9696
DataMemberInfo_t * DataMemberInfo_Factory(ClassInfo_t *clinfo, TDictionary::EMemberSelection selection) const final
Definition TCling.cxx:8736
void ClassInfo_Destruct(ClassInfo_t *info, void *arena) const final
Definition TCling.cxx:8344
TClass * GetClass(const std::type_info &typeinfo, Bool_t load) const final
Demangle the name (from the typeinfo) and then request the class via the usual name based interface (...
Definition TCling.cxx:6228
Int_t UnloadAllSharedLibraryMaps() final
Unload the library map entries coming from all the loaded shared libraries.
Definition TCling.cxx:6116
void ClassInfo_Init(ClassInfo_t *info, const char *funcname) const final
Definition TCling.cxx:8406
std::set< TClass * > & GetModTClasses()
Definition TCling.h:584
ClassInfo_t * BaseClassInfo_ClassInfo(BaseClassInfo_t *) const final
Definition TCling.cxx:8674
TClingCallbacks * fClingCallbacks
Definition TCling.h:141
Long64_t CallFunc_ExecInt64(CallFunc_t *func, void *address) const final
Definition TCling.cxx:8030
Long_t ClassInfo_Property(ClassInfo_t *info) const final
Definition TCling.cxx:8529
Longptr_t ClassInfo_GetBaseOffset(ClassInfo_t *fromDerived, ClassInfo_t *toBase, void *address, bool isDerivedObject) const final
Definition TCling.cxx:8653
void UpdateEnumConstants(TEnum *enumObj, TClass *cl) const final
Definition TCling.cxx:438
void ExecuteWithArgsAndReturn(TMethod *method, void *address, const void *args[]=nullptr, int nargs=0, void *ret=nullptr) const final
Definition TCling.cxx:5503
Bool_t IsErrorMessagesEnabled() const final
If error messages are disabled, the interpreter should suppress its failures and warning messages fro...
Definition TCling.cxx:7477
TString fIncludePath
Definition TCling.h:115
int DisplayIncludePath(FILE *fout) const final
Interface to cling function.
Definition TCling.cxx:7554
void TransactionRollback(const cling::Transaction &T)
Definition TCling.cxx:7086
Long_t FuncTempInfo_Property(FuncTempInfo_t *) const final
Return the property of the function template.
Definition TCling.cxx:9007
TEnum * CreateEnum(void *VD, TClass *cl) const final
Definition TCling.cxx:486
const char * TypeInfo_TrueName(TypeInfo_t *tinfo) const final
Definition TCling.cxx:9561
Int_t UnloadLibraryMap(const char *library) final
Unload library map entries coming from the specified library.
Definition TCling.cxx:6134
void RegisterTemporary(const TInterpreterValue &value)
Definition TCling.cxx:7824
MutexStateAndRecurseCount fInitialMutex
Definition TCling.h:176
const char * GetSharedLibs() final
Return the list of shared libraries loaded into the process.
Definition TCling.cxx:7124
int MethodArgInfo_Next(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9421
void SnapshotMutexState(ROOT::TVirtualRWMutex *mtx) final
Definition TCling.cxx:9736
Long_t TypeInfo_Property(TypeInfo_t *tinfo) const final
Definition TCling.cxx:9537
static constexpr const char * kNullArgv[]
Definition TCling.h:187
friend void TCling__RegisterRdictForLoadPCM(const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent)
Definition TCling.cxx:605
const char * MethodInfo_GetPrototype(MethodInfo_t *minfo) const final
Definition TCling.cxx:9270
UInt_t FuncTempInfo_TemplateMinReqArgs(FuncTempInfo_t *) const final
Return the number of required template arguments of the function template described by ft_info.
Definition TCling.cxx:8997
std::vector< cling::Value > * fTemporaries
Definition TCling.h:135
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, Bool_t hasCxxModule=false) final
Inject the module named "modulename" into cling; load all headers.
Definition TCling.cxx:2068
static Int_t ShallowAutoLoadImpl(const char *cls)
Definition TCling.cxx:6274
void MethodInfo_CreateSignature(MethodInfo_t *minfo, TString &signature) const final
Definition TCling.cxx:9150
Bool_t CheckClassTemplate(const char *name) final
Return true if there is a class template by the given name ...
Definition TCling.cxx:4462
void LibraryLoaded(const void *dyLibHandle, const char *canonicalName)
Definition TCling.cxx:7109
void RegisterTClassUpdate(TClass *oldcl, DictFuncPtr_t dict) final
Register classes that already existed prior to their dictionary loading and that already had a ClassI...
Definition TCling.cxx:2442
bool IsVoidPointerType(const void *QualTypePtr) const final
Definition TCling.cxx:9728
TObjArray * GetRootMapFiles() const final
Definition TCling.h:226
bool DataMemberInfo_IsValid(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8763
bool ClassInfo_IsEnum(const char *name) const final
Definition TCling.cxx:8432
int MethodInfo_NDefaultArg(MethodInfo_t *minfo) const final
Definition TCling.cxx:9216
bool IsFloatingType(const void *QualTypePtr) const final
Definition TCling.cxx:9712
void CreateListOfMethods(TClass *cl) const final
Create list of pointers to methods for TClass cl.
Definition TCling.cxx:4616
Int_t RescanLibraryMap() final
Scan again along the dynamic path for library maps.
Definition TCling.cxx:6043
void * SpecialObjectLookupCtx_t
Definition TCling.h:153
std::map< const cling::Transaction *, size_t > fTransactionHeadersMap
Definition TCling.h:120
void ReportDiagnosticsToErrorHandler(bool enable=true) final
Report diagnostics to the ROOT error handler (see TError.h).
Definition TCling.cxx:7750
const char * MethodInfo_GetMangledName(MethodInfo_t *minfo) const final
Definition TCling.cxx:9259
TypeInfo_t * MethodArgInfo_TypeInfo(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9469
Bool_t fHeaderParsingOnDemand
Definition TCling.h:183
std::hash< std::string > fStringHashFunction
Definition TCling.h:126
TEnv * fMapfile
Definition TCling.h:117
static void RemoveAndInvalidateObject(List &L, Object *O)
Definition TCling.h:596
void * GetInterfaceMethodWithPrototype(TClass *cl, const char *method, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch) final
Return pointer to cling interface function for a method of a class with a certain prototype,...
Definition TCling.cxx:5228
void * ClassInfo_New(ClassInfo_t *info) const final
Definition TCling.cxx:8497
int DisplayClass(FILE *fout, const char *name, int base, int start) const final
Definition TCling.cxx:7545
void GetFunctionName(const clang::Decl *decl, std::string &name) const
Definition TCling.cxx:8898
void CreateListOfMethodArgs(TFunction *m) const final
Create list of pointers to method arguments for TMethod m.
Definition TCling.cxx:4641
void Execute(TMethod *, TObjArray *, int *=nullptr) final
Execute method on this object with parameters stored in the TObjArray.
Definition TCling.h:633
const char * GetSTLIncludePath() const final
Return the directory containing CINT's stl cintdlls.
Definition TCling.cxx:7536
MethodArgInfo_t * MethodArgInfo_FactoryCopy(MethodArgInfo_t *marginfo) const final
Definition TCling.cxx:9405
Longptr_t BaseClassInfo_Offset(BaseClassInfo_t *toBaseClassInfo, void *address, bool isDerivedObject) const final
Definition TCling.cxx:8645
std::unordered_map< std::string, TObject * > SpecialObjectMap_t
Definition TCling.h:154
ECheckClassInfo CheckClassInfo(const char *name, Bool_t autoload, Bool_t isClassOrNamespaceOnly=kFALSE) final
Checks if an entity with the specified name is defined in Cling.
Definition TCling.cxx:4290
void * FindSym(const char *entry) const final
Interface to cling function.
Definition TCling.cxx:7583
void RegisterLoadedSharedLibrary(const char *name)
Register a new shared library name with the interpreter; add it to fSharedLibs.
Definition TCling.cxx:3511
void TypeInfo_Delete(TypeInfo_t *tinfo) const final
Definition TCling.cxx:9482
int MethodInfo_NArg(MethodInfo_t *minfo) const final
Definition TCling.cxx:9208
DeclId_t GetDataMemberWithValue(const void *ptrvalue) const final
NOT IMPLEMENTED.
Definition TCling.cxx:5059
std::unordered_set< const clang::NamespaceDecl * > fNSFromRootmaps
Definition TCling.h:127
EReturnType MethodCallReturnType(TFunction *func) const final
Definition TCling.cxx:9318
void ProcessClassesToUpdate()
Definition TCling.cxx:2037
DeclId_t GetFunctionWithValues(ClassInfo_t *cl, const char *method, const char *params, Bool_t objectIsConst=kFALSE) final
Return pointer to cling DeclId for a method of a class with a certain prototype, i....
Definition TCling.cxx:5251
TString GetMangledName(TClass *cl, const char *method, const char *params, Bool_t objectIsConst=kFALSE) final
Return the cling mangled name for a method of a class with parameters params (params is a string of a...
Definition TCling.cxx:5080
const char * MethodInfo_Title(MethodInfo_t *minfo) const final
Definition TCling.cxx:9309
TString fRootmapLoadPath
Definition TCling.h:116
const char * BaseClassInfo_TmpltName(BaseClassInfo_t *bcinfo) const final
Definition TCling.cxx:8708
Bool_t Declare(const char *code) final
Declare code to the interpreter, without any of the interpreter actions that could trigger a re-inter...
Definition TCling.cxx:3186
const char * BaseClassInfo_FullName(BaseClassInfo_t *bcinfo) const final
Definition TCling.cxx:8690
void CallFunc_SetArgs(CallFunc_t *func, const char *param) const final
Definition TCling.cxx:8167
int UnloadFile(const char *path) const final
Definition TCling.cxx:7783
void SetClassInfo(TClass *cl, Bool_t reload=kFALSE, Bool_t silent=kFALSE) final
Set pointer to the TClingClassInfo in TClass.
Definition TCling.cxx:4154
void CallFunc_Exec(CallFunc_t *func, void *address) const final
Definition TCling.cxx:7987
Long_t FuncTempInfo_ExtraProperty(FuncTempInfo_t *) const final
Return the property not already defined in Property See TDictionary's EFunctionProperty.
Definition TCling.cxx:9072
bool CallFunc_IsValid(CallFunc_t *func) const final
Definition TCling.cxx:8086
const char * BaseClassInfo_Name(BaseClassInfo_t *bcinfo) const final
Definition TCling.cxx:8700
ROOT::TMetaUtils::TClingLookupHelper * fLookupHelper
Definition TCling.h:137
const char * DataMemberInfo_ValidArrayIndex(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8851
Int_t GetMore() const final
Return whether we are waiting for more input either because the collected input contains unbalanced b...
Definition TCling.cxx:4662
Bool_t fIsAutoParsingSuspended
Definition TCling.h:184
std::string ToString(const char *type, void *obj) final
Definition TCling.cxx:1058
DeclId_t GetDeclId(const llvm::GlobalValue *gv) const
Return pointer to cling DeclId for a global value.
Definition TCling.cxx:4990
void Execute(const char *function, const char *params, int *error=nullptr) final
Execute a global function with arguments params.
Definition TCling.cxx:5351
bool ClassInfo_IsLoaded(ClassInfo_t *info) const final
Definition TCling.cxx:8457
Longptr_t ClassInfo_Tagnum(ClassInfo_t *info) const final
Definition TCling.cxx:8545
Long_t BaseClassInfo_Property(BaseClassInfo_t *bcinfo) const final
Definition TCling.cxx:8666
void CallFunc_SetFunc(CallFunc_t *func, ClassInfo_t *info, const char *method, const char *params, Longptr_t *Offset) const final
Definition TCling.cxx:8175
std::vector< std::string > GetUsingNamespaces(ClassInfo_t *cl) const final
Get the scopes representing using declarations of namespace.
Definition TCling.cxx:4596
const char * ClassInfo_FileName(ClassInfo_t *info) const final
Definition TCling.cxx:8553
void FuncTempInfo_Title(FuncTempInfo_t *, TString &name) const final
Return the comments associates with this function template.
Definition TCling.cxx:9111
const char * ClassInfo_TmpltName(ClassInfo_t *info) const final
Definition TCling.cxx:8587
void SaveContext() final
Save the current Cling state.
Definition TCling.cxx:3955
void LoadPCMImpl(TFile &pcmFile)
Tries to load a PCM from TFile; returns true on success.
Definition TCling.cxx:1752
Bool_t IsAutoLoadNamespaceCandidate(const clang::NamespaceDecl *nsDecl)
Definition TCling.cxx:6751
void ResetGlobals() final
Reset in Cling the list of global variables to the state saved by the last call to TCling::SaveGlobal...
Definition TCling.cxx:3836
void CodeComplete(const std::string &, size_t &, std::vector< std::string > &) final
The call to Cling's tab complition.
Definition TCling.cxx:7805
void ResetGlobalVar(void *obj) final
Reset the Cling 'user' global objects/variables state to the state saved by the last call to TCling::...
Definition TCling.cxx:3850
const char * MapCppName(const char *) const final
Interface to cling function.
Definition TCling.cxx:7658
Longptr_t Calc(const char *line, EErrorCode *error=nullptr) final
Directly execute an executable statement (e.g.
Definition TCling.cxx:3681
Int_t ReloadAllSharedLibraryMaps() final
Reload the library map entries coming from all the loaded shared libraries, after first unloading the...
Definition TCling.cxx:6055
void UpdateListOfGlobalFunctions() final
No op: see TClingCallbacks (used to update the list of global functions)
Definition TCling.cxx:3988
void DataMemberInfo_Delete(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8729
char fPrompt[64]
Definition TCling.h:110
const char * GetTopLevelMacroName() const final
Return the file name of the current un-included interpreted file.
Definition TCling.cxx:5534
void * fPrevLoadedDynLibInfo
Definition TCling.h:139
void UpdateListOfDataMembers(TClass *cl) const
Update the list of pointers to data members for TClass cl This is now a nop.
Definition TCling.cxx:4634
void InspectMembers(TMemberInspector &, const void *obj, const TClass *cl, Bool_t isTransient) final
Visit all members over members, recursing over base classes.
Definition TCling.cxx:2770
Int_t SetClassSharedLibs(const char *cls, const char *libs) final
Register the AutoLoading information for a class.
Definition TCling.cxx:6196
MethodInfo_t * MethodInfo_FactoryCopy(MethodInfo_t *minfo) const final
Definition TCling.cxx:9184
std::set< const char * > fParsedPayloadsAddresses
Definition TCling.h:123
CallFuncIFacePtr_t CallFunc_IFacePtr(CallFunc_t *func) const final
Definition TCling.cxx:8095
Int_t GetExitCode() const final
Definition TCling.h:214
MethodArgInfo_t * MethodArgInfo_Factory() const final
Definition TCling.cxx:9389
void SetProcessLineLock(Bool_t lock=kTRUE) final
Definition TCling.h:327
static void UpdateClassInfo(char *name, Long_t tagnum)
No op: see TClingCallbacks.
Definition TCling.cxx:6875
DeclId_t GetFunction(ClassInfo_t *cl, const char *funcname) final
Return pointer to cling interface function for a method of a class with a certain name.
Definition TCling.cxx:5147
void ClassInfo_Delete(ClassInfo_t *info) const final
Definition TCling.cxx:8321
std::unique_ptr< cling::Interpreter > fInterpreter
Definition TCling.h:132
EDataType ClassInfo_GetUnderlyingType(ClassInfo_t *info) const final
Definition TCling.cxx:8448
void FuncTempInfo_Delete(FuncTempInfo_t *) const final
Delete the FuncTempInfo_t.
Definition TCling.cxx:8943
bool IsUnsignedIntegerType(const void *QualTypePtr) const final
Definition TCling.cxx:9704
DeclId_t GetFunctionTemplate(ClassInfo_t *cl, const char *funcname) final
Return pointer to cling interface function for a method of a class with a certain name.
Definition TCling.cxx:5295
TCling & operator=(const TCling &)=delete
Int_t DeleteVariable(const char *name) final
Undeclare obj called name.
Definition TCling.cxx:3894
const char * GetClassSharedLibs(const char *cls, bool skipCore=true) final
Get the list of shared libraries containing the code for class cls.
Definition TCling.cxx:7230
Longptr_t DataMemberInfo_Offset(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8787
CallFunc_t * CallFunc_Factory() const final
Definition TCling.cxx:8046
MethodInfo_t * MethodInfo_Factory() const final
Definition TCling.cxx:9159
Long_t DataMemberInfo_TypeProperty(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8803
void ClearFileBusy() final
Reset the interpreter internal state in case a previous action was not correctly terminated.
Definition TCling.cxx:3165
cling::MetaProcessor * GetMetaProcessorImpl() const
Definition TCling.h:650
bool DiagnoseIfInterpreterException(const std::exception &e) const final
Definition TCling.cxx:2500
void SetAllocunlockfunc(void(*)()) const final
[Place holder for Mutex Unlock] Provide the interpreter with a way to release a lock used to protect ...
Definition TCling.cxx:7681
std::set< size_t > fLookedUpClasses
Definition TCling.h:121
TCling(const TCling &)=delete
bool IsValid() const final
Check if constructor exited correctly, ie the instance is in a valid state.
Definition TCling.cxx:3156
void AddAvailableIndentifiers(TSeqCollection &Idents) final
Definition TCling.cxx:2416
void TypedefInfo_Delete(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9583
void Reset() final
Pressing Ctrl+C should forward here.
Definition TCling.cxx:3804
const char * TypedefInfo_TrueName(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9655
int SetClassAutoLoading(int) const final
Enable/Disable the AutoLoading of libraries.
Definition TCling.cxx:7702
const char * ClassInfo_FullName(ClassInfo_t *info) const final
Definition TCling.cxx:8561
UInt_t AutoParseImplRecurse(const char *cls, bool topLevel)
Helper routine for TCling::AutoParse implementing the actual call to the parser and looping over temp...
Definition TCling.cxx:6499
const char * MethodInfo_TypeName(MethodInfo_t *minfo) const final
Definition TCling.cxx:9288
void CallFunc_SetArg(CallFunc_t *func, Long_t param) const final
Definition TCling.cxx:8111
const char * GetIncludePath() final
Refresh the list of include paths known to the interpreter and return it with -I prepended.
Definition TCling.cxx:7505
void UpdateListsOnUnloaded(const cling::Transaction &T)
Invalidate stored TCling state for declarations included in transaction ‘T’.
Definition TCling.cxx:6985
void UpdateClassInfoWithDecl(const clang::NamedDecl *ND)
Internal function. Inform a TClass about its new TagDecl or NamespaceDecl.
Definition TCling.cxx:6817
Bool_t IsProcessLineLocked() const final
Definition TCling.h:324
void Initialize() final
Initialize the interpreter, once TROOT::fInterpreter is set.
Definition TCling.cxx:1689
int ClassInfo_GetMethodNArg(ClassInfo_t *info, const char *method, const char *proto, Bool_t objectIsConst=false, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch) const final
Definition TCling.cxx:8382
DeclId_t GetDataMember(ClassInfo_t *cl, const char *name) const final
Return pointer to cling Decl of global/static variable that is located at the address given by addr.
Definition TCling.cxx:4889
void * fAutoLoadCallBack
Definition TCling.h:149
void FuncTempInfo_Name(FuncTempInfo_t *, TString &name) const final
Return the name of this function template.
Definition TCling.cxx:9098
std::unique_ptr< cling::MetaProcessor > fMetaProcessor
Definition TCling.h:133
bool TypeInfo_IsValid(TypeInfo_t *tinfo) const final
Definition TCling.cxx:9521
bool RegisterPrebuiltModulePath(const std::string &FullPath, const std::string &ModuleMapName="module.modulemap") const final
Definition TCling.cxx:1963
std::string MethodInfo_TypeNormalizedName(MethodInfo_t *minfo) const final
Definition TCling.cxx:9297
const char * ClassInfo_Name(ClassInfo_t *info) const final
Definition TCling.cxx:8571
TClass * GenerateTClass(const char *classname, Bool_t emulation, Bool_t silent=kFALSE) final
Generate a TClass for the given class.
Definition TCling.cxx:4672
ULong64_t fTransactionCount
Definition TCling.h:150
std::set< std::string > fAutoParseClasses
Definition TCling.h:124
bool ClassInfo_HasDefaultConstructor(ClassInfo_t *info, Bool_t testio=kFALSE) const final
Definition TCling.cxx:8390
void EndOfLineAction() final
It calls a "fantom" method to synchronize user keyboard input and ROOT prompt line.
Definition TCling.cxx:3209
TypeInfo_t * TypeInfo_FactoryCopy(TypeInfo_t *) const final
Definition TCling.cxx:9505
bool ClassInfo_HasMethod(ClassInfo_t *info, const char *name) const final
Definition TCling.cxx:8398
void ClassInfo_DeleteArray(ClassInfo_t *info, void *arena, bool dtorOnly) const final
Definition TCling.cxx:8336
std::map< size_t, std::vector< const char * > > fClassesHeadersMap
Definition TCling.h:119
const char * DataMemberInfo_TypeTrueName(DataMemberInfo_t *dminfo) const final
Definition TCling.cxx:8827
void ShutDown() final
Definition TCling.cxx:1710
unsigned long long GetInterpreterStateMarker() const final
Definition TCling.h:227
void UpdateListOfTypes() final
No op: see TClingCallbacks (used to update the list of types)
Definition TCling.cxx:3995
void * TypeInfo_QualTypePtr(TypeInfo_t *tinfo) const final
Definition TCling.cxx:9569
Long_t TypedefInfo_Property(TypedefInfo_t *tinfo) const final
Definition TCling.cxx:9639
void RegisterRdictForLoadPCM(const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent)
Register Rdict data for future loading by LoadPCM;.
Definition TCling.cxx:1733
Longptr_t ProcessLineSynch(const char *line, EErrorCode *error=nullptr) final
Let cling process a command line synchronously, i.e we are waiting it will be finished.
Definition TCling.cxx:3665
TString GetMangledNameWithPrototype(TClass *cl, const char *method, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch) final
Return the cling mangled name for a method of a class with a certain prototype, i....
Definition TCling.cxx:5107
static void UpdateAllCanvases()
Update all canvases at end the terminal input command.
Definition TCling.cxx:6890
Int_t LoadLibraryMap(const char *rootmapfile=nullptr) final
Load map between class and library.
Definition TCling.cxx:5859
Longptr_t BaseClassInfo_Tagnum(BaseClassInfo_t *bcinfo) const final
Definition TCling.cxx:8682
void LibraryUnloaded(const void *dyLibHandle, const char *canonicalName)
Definition TCling.cxx:7116
bool IsPointerType(const void *QualTypePtr) const final
Definition TCling.cxx:9720
This class defines an abstract interface that must be implemented by all classes that contain diction...
The TEnum class implements the enum type.
Definition TEnum.h:33
The TEnv class reads config files, by default named .rootrc.
Definition TEnv.h:124
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Definition TFile.h:130
Global functions class (global functions are obtained from CINT).
Definition TFunction.h:30
THashTable implements a hash table to store TObject's.
Definition THashTable.h:35
This class defines an abstract interface to a generic command line interpreter.
std::vector< std::pair< std::string, int > > FwdDeclArgsToKeepCollection_t
TDictionary::DeclId_t DeclId_t
A collection of TDataMember objects designed for fast access given a DeclId_t and for keep track of T...
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
Abstract base class for accessing the data-members of a class.
Each ROOT class (see TClass) has a linked list of methods.
Definition TMethod.h:38
An array of TObjects.
Definition TObjArray.h:31
Mother of all ROOT objects.
Definition TObject.h:42
Sequenceable collection abstract base class.
Basic string class.
Definition TString.h:138
TLine * line
const Int_t n
Definition legend1.C:16
State as returned by GetStateDelta() that can be passed to Restore()
bool operator()(const char *a, const char *b) const
Definition TCling.h:143
std::unique_ptr< StateDelta > fDelta
Definition TCling.h:173
MutexStateAndRecurseCount fInitialState
Definition TCling.h:172
std::unique_ptr< ROOT::TVirtualRWMutex::State > fState
State of gCoreMutex when the first interpreter-related function was invoked.
Definition TCling.h:159
Int_t fRecurseCount
Interpreter-related functions will push the "entry" lock state to *this.
Definition TCling.h:164
TMarker m
Definition textangle.C:8
static void output()