Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TCling Class Referencefinal

This class defines an interface to the cling C++ interpreter.

Cling is a full ANSI compliant C++-11 interpreter based on clang/LLVM technology.

Definition at line 102 of file TCling.h.

Classes

struct  CharPtrCmp_t
struct  MutexStateAndRecurseCount
struct  MutexStateAndRecurseCountDelta
class  SuspendAutoLoadingRAII
class  TUniqueString

Public Types

enum  { kSingleKey = (1ULL << (0)) , kOverwrite = (1ULL << (1)) , kWriteDelete = (1ULL << (2)) }
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
typedef int(* AutoLoadCallBack_t) (const char *)
typedef TDictionary::DeclId_t DeclId_t
enum  ECheckClassInfo { kUnknown = 0 , kKnown = 1 , kWithClassDefInline = 2 }
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << (3)) }
enum  EErrorCode {
  kNoError = 0 , kRecoverable = 1 , kDangerous = 2 , kFatal = 3 ,
  kProcessing = 99
}
enum class  EReturnType {
  kLong , kDouble , kString , kOther ,
  kNoReturnType
}
enum  EStatusBits {
  kCanDelete = (1ULL << (0)) , kMustCleanup = (1ULL << (3)) , kIsReferenced = (1ULL << (4)) , kHasUUID = (1ULL << (5)) ,
  kCannotPick = (1ULL << (6)) , kNoContextMenu = (1ULL << (8)) , kInvalidObject = (1ULL << (13))
}
typedef std::vector< std::pair< std::string, int > > FwdDeclArgsToKeepCollection_t
typedef class std::map< std::string, std::string > MembersMap_t

Public Member Functions

 TCling (const char *name, const char *title, const char *const argv[], void *interpLibHandle)
 Initialize the cling interpreter interface.
 ~TCling () final
 Destroy the interpreter interface.
void AbstractMethod (const char *method) const
 Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.
void AddAvailableIndentifiers (TSeqCollection &Idents) final
void AddIncludePath (const char *path) final
 Add a directory to the list of directories in which the interpreter looks for include files.
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
void ApplyToInterpreterMutex (void *delta)
 Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused.
Int_t AutoLoad (const char *classname, Bool_t knowDictNotLoaded=kFALSE) final
 Load library containing the specified class.
Int_t AutoLoad (const std::type_info &typeinfo, Bool_t knowDictNotLoaded=kFALSE) final
 Load library containing the specified class.
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.
ClassInfo_t * BaseClassInfo_ClassInfo (BaseClassInfo_t *) const final
void BaseClassInfo_Delete (BaseClassInfo_t *bcinfo) const final
BaseClassInfo_t * BaseClassInfo_Factory (ClassInfo_t *derived, ClassInfo_t *base) const final
BaseClassInfo_t * BaseClassInfo_Factory (ClassInfo_t *info) const final
const char * BaseClassInfo_FullName (BaseClassInfo_t *bcinfo) const final
const char * BaseClassInfo_Name (BaseClassInfo_t *bcinfo) const final
int BaseClassInfo_Next (BaseClassInfo_t *bcinfo) const final
int BaseClassInfo_Next (BaseClassInfo_t *bcinfo, int onlyDirect) const final
Longptr_t BaseClassInfo_Offset (BaseClassInfo_t *toBaseClassInfo, void *address, bool isDerivedObject) const final
Long_t BaseClassInfo_Property (BaseClassInfo_t *bcinfo) const final
Longptr_t BaseClassInfo_Tagnum (BaseClassInfo_t *bcinfo) const final
const char * BaseClassInfo_TmpltName (BaseClassInfo_t *bcinfo) const final
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
Longptr_t Calc (const char *line, EErrorCode *error=nullptr) final
 Directly execute an executable statement (e.g.
void CallFunc_Delete (CallFunc_t *func) const final
void CallFunc_Exec (CallFunc_t *func, void *address) const final
void CallFunc_Exec (CallFunc_t *func, void *address, TInterpreterValue &val) const final
Double_t CallFunc_ExecDouble (CallFunc_t *func, void *address) const final
Longptr_t CallFunc_ExecInt (CallFunc_t *func, void *address) const final
Long64_t CallFunc_ExecInt64 (CallFunc_t *func, void *address) const final
void CallFunc_ExecWithArgsAndReturn (CallFunc_t *func, void *address, const void *args[]=nullptr, int nargs=0, void *ret=nullptr) const final
void CallFunc_ExecWithReturn (CallFunc_t *func, void *address, void *ret) const final
CallFunc_t * CallFunc_Factory () const final
CallFunc_t * CallFunc_FactoryCopy (CallFunc_t *func) const final
MethodInfo_t * CallFunc_FactoryMethod (CallFunc_t *func) const final
std::string CallFunc_GetWrapperCode (CallFunc_t *func) const final
CallFuncIFacePtr_t CallFunc_IFacePtr (CallFunc_t *func) const final
void CallFunc_IgnoreExtraArgs (CallFunc_t *func, bool ignore) const final
void CallFunc_Init (CallFunc_t *func) const final
bool CallFunc_IsValid (CallFunc_t *func) const final
void CallFunc_ResetArg (CallFunc_t *func) const final
void CallFunc_SetArg (CallFunc_t *func, Double_t param) const final
void CallFunc_SetArg (CallFunc_t *func, Float_t param) const final
void CallFunc_SetArg (CallFunc_t *func, Long64_t param) const final
void CallFunc_SetArg (CallFunc_t *func, Long_t param) const final
void CallFunc_SetArg (CallFunc_t *func, ULong64_t param) const final
void CallFunc_SetArg (CallFunc_t *func, ULong_t param) const final
void CallFunc_SetArg (CallFunc_t *func, Char_t param) const
template<typename T>
void CallFunc_SetArg (CallFunc_t *func, const T *arg)
void CallFunc_SetArg (CallFunc_t *func, Int_t param) const
void CallFunc_SetArg (CallFunc_t *func, Short_t param) const
void CallFunc_SetArg (CallFunc_t *func, UChar_t param) const
void CallFunc_SetArg (CallFunc_t *func, UInt_t param) const
void CallFunc_SetArg (CallFunc_t *func, UShort_t param) const
void CallFunc_SetArg (CallFunc_t *func, void *arg)
void CallFunc_SetArgArray (CallFunc_t *func, Longptr_t *paramArr, Int_t nparam) const final
void CallFunc_SetArgImpl (CallFunc_t *)
template<typename U>
void CallFunc_SetArgImpl (CallFunc_t *func, const U &head)
template<typename U, typename... T>
void CallFunc_SetArgImpl (CallFunc_t *func, const U &head, const T &... tail)
template<typename T>
void CallFunc_SetArgRef (CallFunc_t *func, T &param) const
void CallFunc_SetArgs (CallFunc_t *func, const char *param) const final
template<typename... T>
void CallFunc_SetArguments (CallFunc_t *func, const T &... args)
void CallFunc_SetFunc (CallFunc_t *func, ClassInfo_t *info, const char *method, const char *params, bool objectIsConst, Longptr_t *Offset) const final
void CallFunc_SetFunc (CallFunc_t *func, ClassInfo_t *info, const char *method, const char *params, Longptr_t *Offset) const final
void CallFunc_SetFunc (CallFunc_t *func, MethodInfo_t *info) const final
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
 Interface to cling function.
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.
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
 Interface to cling function.
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
 Interface to cling function.
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.
Bool_t CheckClassTemplate (const char *name) final
 Return true if there is a class template by the given name ...
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
size_t ClassInfo_AlignOf (ClassInfo_t *info) const final
Long_t ClassInfo_ClassProperty (ClassInfo_t *info) const final
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'.
void ClassInfo_Delete (ClassInfo_t *info) const final
void ClassInfo_Delete (ClassInfo_t *info, void *arena) const final
void ClassInfo_DeleteArray (ClassInfo_t *info, void *arena, bool dtorOnly) const final
void ClassInfo_Destruct (ClassInfo_t *info, void *arena) const final
ClassInfo_t * ClassInfo_Factory (Bool_t all=kTRUE) const final
ClassInfo_t * ClassInfo_Factory (ClassInfo_t *cl) const final
ClassInfo_t * ClassInfo_Factory (const char *name) const final
ClassInfo_t * ClassInfo_Factory (DeclId_t declid) const final
const char * ClassInfo_FileName (ClassInfo_t *info) const final
const char * ClassInfo_FullName (ClassInfo_t *info) const final
Longptr_t ClassInfo_GetBaseOffset (ClassInfo_t *fromDerived, ClassInfo_t *toBase, void *address, bool isDerivedObject) const final
int ClassInfo_GetMethodNArg (ClassInfo_t *info, const char *method, const char *proto, Bool_t objectIsConst=false, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch) const final
EDataType ClassInfo_GetUnderlyingType (ClassInfo_t *info) const final
bool ClassInfo_HasDefaultConstructor (ClassInfo_t *info, Bool_t testio=kFALSE) const final
bool ClassInfo_HasMethod (ClassInfo_t *info, const char *name) const final
void ClassInfo_Init (ClassInfo_t *info, const char *funcname) const final
void ClassInfo_Init (ClassInfo_t *info, int tagnum) const final
bool ClassInfo_IsBase (ClassInfo_t *info, const char *name) const final
bool ClassInfo_IsEnum (const char *name) const final
bool ClassInfo_IsLoaded (ClassInfo_t *info) const final
bool ClassInfo_IsScopedEnum (ClassInfo_t *info) const final
bool ClassInfo_IsValid (ClassInfo_t *info) const final
bool ClassInfo_IsValidMethod (ClassInfo_t *info, const char *method, const char *proto, Bool_t objectIsConst, Longptr_t *offset, ROOT::EFunctionMatchMode=ROOT::kConversionMatch) const final
bool ClassInfo_IsValidMethod (ClassInfo_t *info, const char *method, const char *proto, Longptr_t *offset, ROOT::EFunctionMatchMode=ROOT::kConversionMatch) const final
const char * ClassInfo_Name (ClassInfo_t *info) const final
void * ClassInfo_New (ClassInfo_t *info) const final
void * ClassInfo_New (ClassInfo_t *info, int n) const final
void * ClassInfo_New (ClassInfo_t *info, int n, void *arena) const final
void * ClassInfo_New (ClassInfo_t *info, void *arena) const final
int ClassInfo_Next (ClassInfo_t *info) const final
Long_t ClassInfo_Property (ClassInfo_t *info) const final
int ClassInfo_Size (ClassInfo_t *info) const final
Longptr_t ClassInfo_Tagnum (ClassInfo_t *info) const final
const char * ClassInfo_Title (ClassInfo_t *info) const final
const char * ClassInfo_TmpltName (ClassInfo_t *info) const final
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
void Clear (Option_t *option="") override
 Set name and title to empty strings ("").
void ClearFileBusy () final
 Reset the interpreter internal state in case a previous action was not correctly terminated.
void ClearStack () final
 Delete existing temporary values.
TObjectClone (const char *newname="") const override
 Make a clone of an object using the Streamer facility.
void CodeComplete (const std::string &, size_t &, std::vector< std::string > &) final
 The call to Cling's tab complition.
Int_t Compare (const TObject *obj) const override
 Compare two TNamed objects.
void Copy (TObject &named) const override
 Copy this to obj.
TEnumCreateEnum (void *VD, TClass *cl) const final
void CreateListOfBaseClasses (TClass *cl) const final
 Create list of pointers to base class(es) for TClass cl.
void CreateListOfDataMembers (TClass *cl) const final
 Create list of pointers to data members for TClass cl.
void CreateListOfMethodArgs (TFunction *m) const final
 Create list of pointers to method arguments for TMethod m.
void CreateListOfMethods (TClass *cl) const final
 Create list of pointers to methods for TClass cl.
TInterpreterValueCreateTemporary () const
 The created temporary must be deleted by the caller.
int DataMemberInfo_ArrayDim (DataMemberInfo_t *dminfo) const final
void DataMemberInfo_Delete (DataMemberInfo_t *dminfo) const final
DataMemberInfo_t * DataMemberInfo_Factory (ClassInfo_t *clinfo, TDictionary::EMemberSelection selection) const final
DataMemberInfo_t * DataMemberInfo_Factory (DeclId_t declid, ClassInfo_t *clinfo) const final
DataMemberInfo_t * DataMemberInfo_FactoryCopy (DataMemberInfo_t *dminfo) const final
bool DataMemberInfo_IsValid (DataMemberInfo_t *dminfo) const final
int DataMemberInfo_MaxIndex (DataMemberInfo_t *dminfo, Int_t dim) const final
const char * DataMemberInfo_Name (DataMemberInfo_t *dminfo) const final
int DataMemberInfo_Next (DataMemberInfo_t *dminfo) const final
Longptr_t DataMemberInfo_Offset (DataMemberInfo_t *dminfo) const final
Long_t DataMemberInfo_Property (DataMemberInfo_t *dminfo) const final
const char * DataMemberInfo_Title (DataMemberInfo_t *dminfo) const final
const char * DataMemberInfo_TypeName (DataMemberInfo_t *dminfo) const final
Long_t DataMemberInfo_TypeProperty (DataMemberInfo_t *dminfo) const final
int DataMemberInfo_TypeSize (DataMemberInfo_t *dminfo) const final
const char * DataMemberInfo_TypeTrueName (DataMemberInfo_t *dminfo) const final
const char * DataMemberInfo_ValidArrayIndex (DataMemberInfo_t *dminfo) const final
Bool_t Declare (const char *code) final
 Declare code to the interpreter, without any of the interpreter actions that could trigger a re-interpretation of the code.
virtual void Delete (Option_t *option="")
 Delete this object.
Int_t DeleteGlobal (void *obj) final
 Delete obj from Cling symbol table so it cannot be accessed anymore.
Int_t DeleteVariable (const char *name) final
 Undeclare obj called name.
bool DiagnoseIfInterpreterException (const std::exception &e) const final
int DisplayClass (FILE *fout, const char *name, int base, int start) const final
int DisplayIncludePath (FILE *fout) const final
 Interface to cling function.
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
virtual void Dump () const
 Dump contents of object on stdout.
void EndOfLineAction () final
 It calls a "fantom" method to synchronize user keyboard input and ROOT prompt line.
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
int Evaluate (const char *, TInterpreterValue &) final
 Get the interpreter value corresponding to the statement.
void Execute (const char *function, const char *params, int *error=nullptr) final
 Execute a global function with arguments params.
void Execute (TObject *obj, TClass *cl, const char *method, const char *params, Bool_t objectIsConst, int *error=nullptr)
 Execute a method from class cl with arguments params.
void Execute (TObject *obj, TClass *cl, const char *method, const char *params, int *error=nullptr) final
void Execute (TObject *obj, TClass *cl, TMethod *method, TObjArray *params, int *error=nullptr) final
 Execute a method from class cl with the arguments in array params (params[0] ... params[n] = array of TObjString parameters).
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
Longptr_t ExecuteMacro (const char *filename, EErrorCode *error=nullptr) final
 Execute a cling macro.
void ExecuteWithArgsAndReturn (TMethod *method, void *address, const void *args[]=nullptr, int nargs=0, void *ret=nullptr) const final
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
void * FindSym (const char *entry) const final
 Interface to cling function.
void ForgetMutexState () final
void FuncTempInfo_Delete (FuncTempInfo_t *) const final
 Delete the FuncTempInfo_t.
Long_t FuncTempInfo_ExtraProperty (FuncTempInfo_t *) const final
 Return the property not already defined in Property See TDictionary's EFunctionProperty.
FuncTempInfo_t * FuncTempInfo_Factory (DeclId_t declid) const final
 Construct a FuncTempInfo_t.
FuncTempInfo_t * FuncTempInfo_FactoryCopy (FuncTempInfo_t *) const final
 Construct a FuncTempInfo_t.
Bool_t FuncTempInfo_IsValid (FuncTempInfo_t *) const final
 Check validity of a FuncTempInfo_t.
void FuncTempInfo_Name (FuncTempInfo_t *, TString &name) const final
 Return the name of this function template.
Long_t FuncTempInfo_Property (FuncTempInfo_t *) const final
 Return the property of the function template.
UInt_t FuncTempInfo_TemplateMinReqArgs (FuncTempInfo_t *) const final
 Return the number of required template arguments of the function template described by ft_info.
UInt_t FuncTempInfo_TemplateNargs (FuncTempInfo_t *) const final
 Return the maximum number of template arguments of the function template described by ft_info.
void FuncTempInfo_Title (FuncTempInfo_t *, TString &name) const final
 Return the comments associates with this function template.
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 list).
TClassGenerateTClass (ClassInfo_t *classinfo, Bool_t silent=kFALSE) final
 Generate a TClass for the given class.
TClassGenerateTClass (const char *classname, Bool_t emulation, Bool_t silent=kFALSE) final
 Generate a TClass for the given class.
void GenericError (const char *error) const final
 Let the interpreter issue a generic error, and set its error state.
void * GetAutoLoadCallBack () const final
const std::set< std::string > & GetAutoParseClasses () const
TClassGetClass (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 (TClass::GetClass).
const char * GetClassSharedLibs (const char *cls, bool skipCore=true) final
 Get the list of shared libraries containing the code for class cls.
const char * GetCurrentMacroName () const final
 Return the file name of the currently interpreted file, included or not.
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.
DeclId_t GetDataMemberAtAddr (const void *addr) const final
 Return pointer to cling DeclId for a data member with a given name.
DeclId_t GetDataMemberWithValue (const void *ptrvalue) const final
 NOT IMPLEMENTED.
DeclId_t GetDeclId (CallFunc_t *info) const final
 Return a unique identifier of the declaration represented by the CallFunc.
DeclId_t GetDeclId (ClassInfo_t *info) const final
 Return a (almost) unique identifier of the declaration represented by the ClassInfo.
DeclId_t GetDeclId (DataMemberInfo_t *info) const final
 Return a unique identifier of the declaration represented by the MethodInfo.
DeclId_t GetDeclId (FuncTempInfo_t *info) const final
 Return a unique identifier of the declaration represented by the FuncTempInfo.
DeclId_t GetDeclId (MethodInfo_t *info) const final
 Return a unique identifier of the declaration represented by the MethodInfo.
DeclId_t GetDeclId (TypedefInfo_t *info) const final
 Return a unique identifier of the declaration represented by the TypedefInfo.
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
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.
Long_t GetExecByteCode () const final
 This routines used to return the address of the internal wrapper function (of the interpreter) that was used to call all the interpreted functions that were bytecode compiled (no longer interpreted line by line).
Int_t GetExitCode () const final
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.
void GetFunctionName (const clang::Decl *decl, std::string &name) const
void GetFunctionOverloads (ClassInfo_t *cl, const char *funcname, std::vector< DeclId_t > &res) const final
 Insert overloads of name in cl to res.
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.
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, i.e.
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.e.
virtual const char * GetIconName () const
 Returns mime type name of object.
const char * GetIncludePath () final
 Refresh the list of include paths known to the interpreter and return it with -I prepended.
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 a string of actual arguments, not formal ones).
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, i.e.
unsigned long long GetInterpreterStateMarker () const final
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 (usually just resolving typedefs) This is used in particular to synchronize between the name used by rootcling and by the run-time environment (TClass) Return 0 if the name is not known.
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 actual arguments, not formal ones).
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.e.
TEnvGetMapfile () const final
std::set< TClass * > & GetModTClasses ()
Int_t GetMore () const final
 Return whether we are waiting for more input either because the collected input contains unbalanced braces or last seen token was a \\endiskip (backslash-newline).
const char * GetName () const override
 Returns name of object.
const ROOT::TMetaUtils::TNormalizedCtxtGetNormalizedContext () const
TObjectGetObjectAddress (const char *Name, void *&LookupCtx)
 If the interpreter encounters Name, check whether that is an object ROOT could retrieve.
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
virtual Option_tGetOption () const
char * GetPrompt () final
TObjArrayGetRootMapFiles () const final
int GetSecurityError () const final
 Interface to cling function.
const char * GetSharedLibDeps (const char *lib, bool tryDyld=false) final
 Get the list a libraries on which the specified lib depends.
const char * GetSharedLibs () final
 Return the list of shared libraries loaded into the process.
const char * GetSTLIncludePath () const final
 Return the directory containing CINT's stl cintdlls.
const char * GetTitle () const override
 Returns title of object.
const char * GetTopLevelMacroName () const final
 Return the file name of the current un-included interpreted file.
virtual UInt_t GetUniqueID () const
 Return the unique object id.
std::vector< std::string > GetUsingNamespaces (ClassInfo_t *cl) const final
 Get the scopes representing using declarations of namespace.
void HandleNewDecl (const void *DV, bool isDeserialized, std::set< TClass * > &modifiedClasses)
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
ULong_t Hash () const override
 Return hash value for this object.
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
Bool_t HasPCMForLibrary (const char *libname) const final
 Return true if ROOT has cxxmodules pcm for a given library name.
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
void Initialize () final
 Initialize the interpreter, once TROOT::fInterpreter is set.
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
void InspectMembers (TMemberInspector &, const void *obj, const TClass *cl, Bool_t isTransient) final
 Visit all members over members, recursing over base classes.
void InvalidateGlobal (const clang::Decl *D)
 Invalidate stored TCling state for declarations included in transaction `T'.
void InvertBit (UInt_t f)
TClassIsA () const override
Bool_t IsAutoLoadNamespaceCandidate (const clang::NamespaceDecl *nsDecl)
Bool_t IsAutoParsingSuspended () const final
Bool_t IsDestructed () const
 IsDestructed.
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
Bool_t IsErrorMessagesEnabled () const final
 If error messages are disabled, the interpreter should suppress its failures and warning messages from stdout.
bool IsFloatingType (const void *QualTypePtr) const final
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
bool IsIntegerType (const void *QualTypePtr) const final
Bool_t IsLibraryLoaded (const char *libname) const final
Bool_t IsLoaded (const char *filename) const final
 Return true if the file has already been loaded by cint.
Bool_t IsOnHeap () const
bool IsPointerType (const void *QualTypePtr) const final
Bool_t IsProcessLineLocked () const final
bool IsSameType (const void *QualTypePtr1, const void *QualTypePtr2) const final
bool IsSignedIntegerType (const void *QualTypePtr) const final
Bool_t IsSortable () const override
bool IsUnsignedIntegerType (const void *QualTypePtr) const final
bool IsValid () const final
 Check if constructor exited correctly, ie the instance is in a valid state.
bool IsVoidPointerType (const void *QualTypePtr) const final
Bool_t IsZombie () const
void * LazyFunctionCreatorAutoload (const std::string &mangled_name)
 Autoload a library based on a missing symbol.
void LibraryLoaded (const void *dyLibHandle, const char *canonicalName)
bool LibraryLoadingFailed (const std::string &, const std::string &, bool, bool)
void LibraryUnloaded (const void *dyLibHandle, const char *canonicalName)
Int_t Load (const char *filenam, Bool_t system=kFALSE) final
 Load a library file in cling's memory.
void LoadEnums (TListOfEnums &cl) const final
 Create list of pointers to enums for TClass cl.
int LoadFile (const char *path) const final
 Load a source file or library called path into the interpreter.
void LoadFunctionTemplates (TClass *cl) const final
 Create list of pointers to function templates for TClass cl.
Int_t LoadLibraryMap (const char *rootmapfile=nullptr) final
 Load map between class and library.
void LoadMacro (const char *filename, EErrorCode *error=nullptr) final
 Load a macro file in cling's memory.
Bool_t LoadText (const char *text) const final
 Load the declarations from text into the interpreter.
void ls (Option_t *option="") const override
 List TNamed name and title.
std::unique_ptr< TInterpreterValueMakeInterpreterValue () const final
const char * MapCppName (const char *) const final
 Interface to cling function.
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
const char * MethodArgInfo_DefaultValue (MethodArgInfo_t *marginfo) const final
void MethodArgInfo_Delete (MethodArgInfo_t *marginfo) const final
MethodArgInfo_t * MethodArgInfo_Factory () const final
MethodArgInfo_t * MethodArgInfo_Factory (MethodInfo_t *minfo) const final
MethodArgInfo_t * MethodArgInfo_FactoryCopy (MethodArgInfo_t *marginfo) const final
bool MethodArgInfo_IsValid (MethodArgInfo_t *marginfo) const final
const char * MethodArgInfo_Name (MethodArgInfo_t *marginfo) const final
int MethodArgInfo_Next (MethodArgInfo_t *marginfo) const final
Long_t MethodArgInfo_Property (MethodArgInfo_t *marginfo) const final
TypeInfo_t * MethodArgInfo_TypeInfo (MethodArgInfo_t *marginfo) const final
const char * MethodArgInfo_TypeName (MethodArgInfo_t *marginfo) const final
std::string MethodArgInfo_TypeNormalizedName (MethodArgInfo_t *marginfo) const final
EReturnType MethodCallReturnType (TFunction *func) const final
void MethodInfo_CreateSignature (MethodInfo_t *minfo, TString &signature) const final
void MethodInfo_Delete (MethodInfo_t *minfo) const final
 Interface to cling function.
Long_t MethodInfo_ExtraProperty (MethodInfo_t *minfo) const final
MethodInfo_t * MethodInfo_Factory () const final
MethodInfo_t * MethodInfo_Factory (ClassInfo_t *clinfo) const final
MethodInfo_t * MethodInfo_Factory (DeclId_t declid) const final
MethodInfo_t * MethodInfo_FactoryCopy (MethodInfo_t *minfo) const final
const char * MethodInfo_GetMangledName (MethodInfo_t *minfo) const final
const char * MethodInfo_GetPrototype (MethodInfo_t *minfo) const final
void * MethodInfo_InterfaceMethod (MethodInfo_t *minfo) const final
bool MethodInfo_IsValid (MethodInfo_t *minfo) const final
EReturnType MethodInfo_MethodCallReturnType (MethodInfo_t *minfo) const final
const char * MethodInfo_Name (MethodInfo_t *minfo) const final
int MethodInfo_NArg (MethodInfo_t *minfo) const final
int MethodInfo_NDefaultArg (MethodInfo_t *minfo) const final
int MethodInfo_Next (MethodInfo_t *minfo) const final
Long_t MethodInfo_Property (MethodInfo_t *minfo) const final
const char * MethodInfo_Title (MethodInfo_t *minfo) const final
TypeInfo_t * MethodInfo_Type (MethodInfo_t *minfo) const final
const char * MethodInfo_TypeName (MethodInfo_t *minfo) const final
std::string MethodInfo_TypeNormalizedName (MethodInfo_t *minfo) const final
virtual Bool_t Notify ()
 This method must be overridden to handle object notification (the base implementation is no-op).
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
void operator delete (void *, size_t)
 Operator delete for sized deallocation.
void operator delete (void *ptr)
 Operator delete.
void operator delete (void *ptr, void *vp)
 Only called by placement new when throwing an exception.
void operator delete[] (void *, size_t)
 Operator delete [] for sized deallocation.
void operator delete[] (void *ptr)
 Operator delete [].
void operator delete[] (void *ptr, void *vp)
 Only called by placement new[] when throwing an exception.
void * operator new (size_t sz)
void * operator new (size_t sz, void *vp)
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, void *vp)
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
void Print (Option_t *option="") const final
 Print information about the interpreter.
void PrintIntro () final
 No-op; see TRint instead.
Longptr_t ProcessLine (const char *line, EErrorCode *error=nullptr) final
Longptr_t ProcessLineAsynch (const char *line, EErrorCode *error=nullptr)
 Let cling process a command line asynch.
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.
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
void RecursiveRemove (TObject *obj) final
 Delete object from cling symbol table so it can not be used anymore.
void RefreshClassInfo (TClass *cl, const clang::NamedDecl *def, bool alias)
 Internal function. Actually do the update of the ClassInfo when seeing.
void RegisterAutoLoadedLibrary (const char *libname) final
 Register that a library was autoloaded either to provide a 'missing' symbol or to provide a class (see TClass::GetClass and TROOT::LoadClass).
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. headers is a 0-terminated array of header files to #include after loading the module. The module is searched for in all $LD_LIBRARY_PATH entries (or PATH% on Windows). This function gets called by the static initialization of dictionary libraries. The payload code is injected "as is" in the interpreter. The value of 'triggerFunc' is used to find the shared library location. The caller of this function should be holding the ROOT Write lock.
bool RegisterPrebuiltModulePath (const std::string &FullPath, const std::string &ModuleMapName="module.modulemap") const final
void RegisterTClassUpdate (TClass *oldcl, DictFuncPtr_t dict) final
 Register classes that already existed prior to their dictionary loading and that already had a ClassInfo (and thus would not be refresh via UpdateClassInfo.
void RegisterTemporary (const cling::Value &value)
 Register value as a temporary, extending its lifetime to that of the interpreter.
void RegisterTemporary (const TInterpreterValue &value)
Int_t ReloadAllSharedLibraryMaps () final
 Reload the library map entries coming from all the loaded shared libraries, after first unloading the current ones.
void ReportDiagnosticsToErrorHandler (bool enable=true) final
 Report diagnostics to the ROOT error handler (see TError.h).
Int_t RescanLibraryMap () final
 Scan again along the dynamic path for library maps.
void Reset () final
 Pressing Ctrl+C should forward here.
void ResetAll () final
 Reset the Cling state to its initial state.
void ResetBit (UInt_t f)
void ResetGlobals () final
 Reset in Cling the list of global variables to the state saved by the last call to TCling::SaveGlobalsContext().
void ResetGlobalVar (void *obj) final
 Reset the Cling 'user' global objects/variables state to the state saved by the last call to TCling::SaveGlobalsContext().
void RewindDictionary () final
 Rewind Cling dictionary to the point where it was before executing the current macro.
void * RewindInterpreterMutex ()
 Reset the interpreter lock to the state it had before interpreter-related calls happened.
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
void SaveContext () final
 Save the current Cling state.
void SaveGlobalsContext () final
 Save the current Cling state of global objects.
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
void SetAlloclockfunc (void(*)()) const final
 [Place holder for Mutex Lock] Provide the interpreter with a way to acquire a lock used to protect critical section of its code (non-thread safe parts).
void SetAllocunlockfunc (void(*)()) const final
 [Place holder for Mutex Unlock] Provide the interpreter with a way to release a lock used to protect critical section of its code (non-thread safe parts).
void * SetAutoLoadCallBack (void *cb) final
void SetBit (UInt_t f)
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
int SetClassAutoLoading (int) const final
 Enable/Disable the AutoLoading of libraries.
int SetClassAutoloading (int a) const
int SetClassAutoparsing (int) final
 Enable/Disable the Autoparsing of headers.
void SetClassInfo (TClass *cl, Bool_t reload=kFALSE, Bool_t silent=kFALSE) final
 Set pointer to the TClingClassInfo in TClass.
Int_t SetClassSharedLibs (const char *cls, const char *libs) final
 Register the AutoLoading information for a class.
void SetDeclAttr (DeclId_t, const char *) final
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
void SetErrmsgcallback (void *p) const final
 Set a callback to receive error messages.
Bool_t SetErrorMessages (Bool_t enable=kTRUE) final
 If error messages are disabled, the interpreter should suppress its failures and warning messages from stdout.
void SetGetline (const char *(*getlineFunc)(const char *prompt), void(*histaddFunc)(const char *line)) final
 Set a getline function to call when input is needed.
virtual void SetName (const char *name)
 Set the name of the TNamed.
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
void SetProcessLineLock (Bool_t lock=kTRUE) final
void SetTempLevel (int val) const final
 Create / close a scope for temporaries.
virtual void SetTitle (const char *title="")
 Set the title of the TNamed.
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
void ShutDown () final
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
void SnapshotMutexState (ROOT::TVirtualRWMutex *mtx) final
void Streamer (TBuffer &) override
 Stream an object of class TObject.
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
Bool_t TestBit (UInt_t f) const
Int_t TestBits (UInt_t f) const
std::string ToString (const char *type, void *obj) final
void TransactionRollback (const cling::Transaction &T)
void TypedefInfo_Delete (TypedefInfo_t *tinfo) const final
TypedefInfo_t * TypedefInfo_Factory () const final
TypedefInfo_t * TypedefInfo_Factory (const char *name) const final
TypedefInfo_t * TypedefInfo_FactoryCopy (TypedefInfo_t *tinfo) const final
void TypedefInfo_Init (TypedefInfo_t *tinfo, const char *name) const final
bool TypedefInfo_IsValid (TypedefInfo_t *tinfo) const final
const char * TypedefInfo_Name (TypedefInfo_t *tinfo) const final
int TypedefInfo_Next (TypedefInfo_t *tinfo) const final
Long_t TypedefInfo_Property (TypedefInfo_t *tinfo) const final
int TypedefInfo_Size (TypedefInfo_t *tinfo) const final
const char * TypedefInfo_Title (TypedefInfo_t *tinfo) const final
const char * TypedefInfo_TrueName (TypedefInfo_t *tinfo) const final
void TypeInfo_Delete (TypeInfo_t *tinfo) const final
TypeInfo_t * TypeInfo_Factory () const final
TypeInfo_t * TypeInfo_Factory (const char *name) const final
TypeInfo_t * TypeInfo_FactoryCopy (TypeInfo_t *) const final
void TypeInfo_Init (TypeInfo_t *tinfo, const char *funcname) const final
bool TypeInfo_IsValid (TypeInfo_t *tinfo) const final
const char * TypeInfo_Name (TypeInfo_t *) const final
Long_t TypeInfo_Property (TypeInfo_t *tinfo) const final
void * TypeInfo_QualTypePtr (TypeInfo_t *tinfo) const final
int TypeInfo_RefType (TypeInfo_t *) const final
int TypeInfo_Size (TypeInfo_t *tinfo) const final
const char * TypeInfo_TrueName (TypeInfo_t *tinfo) const final
const char * TypeName (const char *typeDesc) final
 Return the absolute type of typeDesc.
Int_t UnloadAllSharedLibraryMaps () final
 Unload the library map entries coming from all the loaded shared libraries.
int UnloadFile (const char *path) const final
Int_t UnloadLibraryMap (const char *library) final
 Unload library map entries coming from the specified library.
void UnRegisterTClassUpdate (const TClass *oldcl) final
 If the dictionary is loaded, we can remove the class from the list (otherwise the class might be loaded twice).
void UpdateClassInfoWithDecl (const clang::NamedDecl *ND)
 Internal function. Inform a TClass about its new TagDecl or NamespaceDecl.
void UpdateEnumConstants (TEnum *enumObj, TClass *cl) const final
void UpdateListOfDataMembers (TClass *cl) const
 Update the list of pointers to data members for TClass cl This is now a nop.
void UpdateListOfGlobalFunctions () final
 No op: see TClingCallbacks (used to update the list of global functions).
void UpdateListOfGlobals () final
 No op: see TClingCallbacks (used to update the list of globals).
void UpdateListOfMethods (TClass *cl) const final
 Update the list of pointers to method for TClass cl This is now a nop.
void UpdateListOfTypes () final
 No op: see TClingCallbacks (used to update the list of types).
void UpdateListsOnCommitted (const cling::Transaction &T)
void UpdateListsOnUnloaded (const cling::Transaction &T)
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
static const char * DeclFileName ()
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
static Bool_t GetObjectStat ()
 Get status of object stat flag.
static TInterpreterInstance ()
 returns gInterpreter global
static void SetDtorOnly (void *obj)
 Set destructor only flag.
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
static void UpdateAllCanvases ()
 Update all canvases at end the terminal input command.
static void UpdateClassInfo (char *name, Long_t tagnum)
 No op: see TClingCallbacks.
static void UpdateClassInfoWork (const char *name)

Protected Types

enum  { kOnlyPrepStep = (1ULL << (3)) }

Protected Member Functions

virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
void MakeZombie ()
void SavePrimitiveNameTitle (std::ostream &out, const char *variable_name)
 Save object name and title into the output stream "out".
Bool_t SetSuspendAutoParsing (Bool_t value) final
 Suspend the Autoparsing of headers.

Static Protected Member Functions

static void SavePrimitiveConstructor (std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
 Save object constructor in the output stream "out".
static void SavePrimitiveDraw (std::ostream &out, const char *variable_name, Option_t *option=nullptr)
 Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
static TString SavePrimitiveVector (std::ostream &out, const char *prefix, Int_t len, Double_t *arr, Int_t flag=0)
 Save array in the output stream "out" as vector.

Protected Attributes

TString fName
TString fTitle

Private Types

typedef void * SpecialObjectLookupCtx_t
typedef std::unordered_map< std::string, TObject * > SpecialObjectMap_t

Private Member Functions

 TCling ()
 TCling (const TCling &)=delete
void AddFriendToClass (clang::FunctionDecl *, clang::CXXRecordDecl *) const
 Inject function as a friend into klass.
UInt_t AutoParseImplRecurse (const char *cls, bool topLevel)
 Helper routine for TCling::AutoParse implementing the actual call to the parser and looping over template parameters (if any) and when they don't have a registered header to autoparse, recurse over their template parameters.
void Execute (TMethod *, TObjArray *, int *=nullptr) final
 Execute method on this object with parameters stored in the TObjArray.
DeclId_t GetDeclId (const llvm::GlobalValue *gv) const
 Return pointer to cling DeclId for a global value.
cling::Interpreter * GetInterpreterImpl () const
cling::MetaProcessor * GetMetaProcessorImpl () const
Bool_t HandleNewTransaction (const cling::Transaction &T)
 Helper function to increase the internal Cling count of transactions that change the AST.
void InitRootmapFile (const char *name)
 Create a resource table and read the (possibly) three resource files, i.e.
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 object list.
bool IsClassAutoLoadingEnabled () const
 Returns if class AutoLoading is currently enabled.
void LoadPCM (std::string pcmFileNameFullPath)
 Tries to load a rdict PCM, issues diagnostics if it fails. The caller of this function should be holding the ROOT Write lock.
void LoadPCMImpl (TFile &pcmFile)
 Tries to load a PCM from TFile; returns true on success. The caller of this function should be holding the ROOT Write lock.
TClingoperator= (const TCling &)=delete
void ProcessClassesToUpdate ()
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 already been read, and -3 in case its format is the old one (e.g.
void RegisterLoadedSharedLibrary (const char *name)
 Register a new shared library name with the interpreter; add it to fSharedLibs.
void RegisterRdictForLoadPCM (const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent)
 Register Rdict data for future loading by LoadPCM;.
void UpdateListOfLoadedSharedLibraries ()

Static Private Member Functions

static void AddToTObjectTable (TObject *)
 Private helper function which will dispatch to TObjectTable::AddObj.
static Int_t DeepAutoLoadImpl (const char *cls, std::unordered_set< std::string > &visited, bool nameIsNormalized)
template<typename List, typename Object>
static void RemoveAndInvalidateObject (List &L, Object *O)
static Int_t ShallowAutoLoadImpl (const char *cls)

Private Attributes

void * fAutoLoadCallBack
std::set< std::string > fAutoLoadedLibraries
std::vector< std::string > fAutoLoadLibStorage
std::set< std::string > fAutoParseClasses
UInt_t fBits
 bit field status word
std::map< size_t, std::vector< const char * > > fClassesHeadersMap
std::vector< std::pair< TClass *, DictFuncPtr_t > > fClassesToUpdate
TClingCallbacksfClingCallbacks
std::vector< const char * > fCurExecutingMacros
Bool_t fCxxModulesEnabled
Int_t fExitCode
Int_t fGlobalsListSerial
Bool_t fHeaderParsingOnDemand
TString fIncludePath
MutexStateAndRecurseCount fInitialMutex
std::unique_ptr< cling::Interpreter > fInterpreter
Bool_t fIsAutoParsingSuspended
bool fIsShuttingDown = false
Bool_t fLockProcessLine
std::set< size_t > fLookedUpClasses
ROOT::TMetaUtils::TClingLookupHelperfLookupHelper
TEnvfMapfile
std::unique_ptr< cling::MetaProcessor > fMetaProcessor
std::set< TClass * > fModTClasses
ROOT::TMetaUtils::TNormalizedCtxtfNormalizedCtxt
std::unordered_set< const clang::NamespaceDecl * > fNSFromRootmaps
std::set< const char * > fParsedPayloadsAddresses
std::set< size_t > fPayloads
std::map< std::string, llvm::StringRef > fPendingRdicts
void * fPrevLoadedDynLibInfo
char fPrompt [64]
std::vector< void * > fRegisterModuleDyLibs
TObjArrayfRootmapFiles
TString fRootmapLoadPath
TString fSharedLibs
std::map< SpecialObjectLookupCtx_t, SpecialObjectMap_tfSpecialObjectMaps
std::hash< std::string > fStringHashFunction
std::vector< cling::Value > * fTemporaries
ULong64_t fTransactionCount
std::map< const cling::Transaction *, size_t > fTransactionHeadersMap
UInt_t fUniqueID
 object unique identifier

Static Private Attributes

static Longptr_t fgDtorOnly = 0
 object for which to call dtor only (i.e. no delete)
static Bool_t fgObjectStat = kTRUE
 if true keep track of objects in TObjectTable
static void * fgSetOfSpecials = nullptr
static constexpr const char * kNullArgv [] = {nullptr}

Friends

cling::Interpreter * TCling__GetInterpreter ()
void TCling__RegisterRdictForLoadPCM (const std::string &pcmFileNameFullPath, llvm::StringRef *pcmContent)

#include </home/stephan/code/root-2/core/metacling/src/TCling.h>

Inheritance diagram for TCling:
TInterpreter TNamed TObject

Member Typedef Documentation

◆ AutoLoadCallBack_t

typedef int(* TInterpreter::AutoLoadCallBack_t) (const char *)
inherited

Definition at line 132 of file TInterpreter.h.

◆ DeclId_t

Definition at line 290 of file TInterpreter.h.

◆ FwdDeclArgsToKeepCollection_t

typedef std::vector<std::pair<std::string, int> > TInterpreter::FwdDeclArgsToKeepCollection_t
inherited

Definition at line 133 of file TInterpreter.h.

◆ MembersMap_t

typedef class std::map< std::string, std::string > TInterpreter::MembersMap_t
inherited

Definition at line 70 of file TInterpreter.h.

◆ SpecialObjectLookupCtx_t

typedef void* TCling::SpecialObjectLookupCtx_t
private

Definition at line 153 of file TCling.h.

◆ SpecialObjectMap_t

typedef std::unordered_map<std::string, TObject*> TCling::SpecialObjectMap_t
private

Definition at line 154 of file TCling.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
kOnlyPrepStep 

Used to request that the class specific implementation of TObject::Write just prepare the objects to be ready to be written but do not actually write them into the TBuffer.

This is just for example by TBufferMerger to request that the TTree inside the file calls TTree::FlushBaskets (outside of the merging lock) and TBufferMerger will later ask for the write (inside the merging lock). To take advantage of this feature the class needs to overload TObject::Write and use this enum value accordingly. (See TTree::Write and TObject::Write) Do not use, this feature will be migrate to the Merge function (See TClass and TTree::Merge)

Definition at line 106 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kSingleKey 

write collection with single key

kOverwrite 

overwrite existing object with same name

kWriteDelete 

write object, then delete previous key with same name

Definition at line 99 of file TObject.h.

◆ anonymous enum

anonymous enum
inherited
Enumerator
kIsOnHeap 

object is on heap

kNotDeleted 

object has not been deleted

kZombie 

object ctor failed

kInconsistent 

class overload Hash but does call RecursiveRemove in destructor

kBitMask 

Definition at line 89 of file TObject.h.

◆ ECheckClassInfo

Enumerator
kUnknown 
kKnown 
kWithClassDefInline 

Definition at line 215 of file TInterpreter.h.

◆ EDeprecatedStatusBits

Enumerator
kObjInCanvas 

for backward compatibility only, use kMustCleanup

Definition at line 84 of file TObject.h.

◆ EErrorCode

enum TInterpreter::EErrorCode
inherited
Enumerator
kNoError 
kRecoverable 
kDangerous 
kFatal 
kProcessing 

Definition at line 72 of file TInterpreter.h.

◆ EReturnType

enum class TInterpreter::EReturnType
stronginherited
Enumerator
kLong 
kDouble 
kString 
kOther 
kNoReturnType 

Definition at line 80 of file TInterpreter.h.

◆ EStatusBits

enum TObject::EStatusBits
inherited
Enumerator
kCanDelete 

if object in a list can be deleted

kMustCleanup 

if object destructor must call RecursiveRemove()

kIsReferenced 

if object is referenced by a TRef or TRefArray

kHasUUID 

if object has a TUUID (its fUniqueID=UUIDNumber)

kCannotPick 

if object in a pad cannot be picked

kNoContextMenu 

if object does not want context menu

kInvalidObject 

if object ctor succeeded but object should not be used

Definition at line 70 of file TObject.h.

Constructor & Destructor Documentation

◆ ~TCling()

TCling::~TCling ( )
final

Destroy the interpreter interface.

Definition at line 1664 of file TCling.cxx.

◆ TCling() [1/3]

TCling::TCling ( const char * name,
const char * title,
const char *const argv[],
void * interpLibHandle )

Initialize the cling interpreter interface.

Parameters
namename for TInterpreter
titletitle for TInterpreter
argv- array of arguments passed to the cling::Interpreter constructor e.g. -DFOO=bar. The last element of the array must be nullptr.
interpLibHandlehandle to interpreter library

Definition at line 1366 of file TCling.cxx.

◆ TCling() [2/3]

TCling::TCling ( )
private

◆ TCling() [3/3]

TCling::TCling ( const TCling & )
privatedelete

Member Function Documentation

◆ AbstractMethod()

void TObject::AbstractMethod ( const char * method) const
inherited

Call this function within a function that you don't want to define as purely virtual, in order not to force all users deriving from that class to implement that maybe (on their side) unused function; but at the same time, emit a run-time warning if they try to call it, telling that it is not implemented in the derived class: action must thus be taken on the user side to override it.

In other word, this method acts as a "runtime purely virtual" warning instead of a "compiler purely virtual" error.

Warning
This interface is a legacy function that is no longer recommended to be used by new development code.
Note
The name "AbstractMethod" does not imply that it's an abstract method in the strict C++ sense.

Definition at line 1149 of file TObject.cxx.

◆ AddAvailableIndentifiers()

void TCling::AddAvailableIndentifiers ( TSeqCollection & Idents)
finalvirtual

Implements TInterpreter.

Definition at line 2409 of file TCling.cxx.

◆ AddFriendToClass()

void TCling::AddFriendToClass ( clang::FunctionDecl * function,
clang::CXXRecordDecl * klass ) const
private

Inject function as a friend into klass.

With function being f in void f() {new N::PrivKlass(); } this enables I/O of non-public classes.

Definition at line 7897 of file TCling.cxx.

◆ AddIncludePath()

void TCling::AddIncludePath ( const char * path)
finalvirtual

Add a directory to the list of directories in which the interpreter looks for include files.

Parameters
[in]pathThe path to the directory.
Note
Only one path item can be specified at a time, i.e. "path1:path2" is NOT supported.
Warning
Only the path to the directory should be specified, without prepending the -I prefix, i.e. gCling->AddIncludePath("/path/to/my/includes"). If the -I prefix is used it will be ignored.

Implements TInterpreter.

Definition at line 2741 of file TCling.cxx.

◆ AddToTObjectTable()

void TObject::AddToTObjectTable ( TObject * op)
staticprivateinherited

Private helper function which will dispatch to TObjectTable::AddObj.

Included here to avoid circular dependency between header files.

Definition at line 195 of file TObject.cxx.

◆ AppendPad()

void TObject::AppendPad ( Option_t * option = "")
virtualinherited

Append graphics object to current pad.

In case no current pad is set yet, create a default canvas with the name "c1".

Definition at line 204 of file TObject.cxx.

◆ ApplyToInterpreterMutex()

void TCling::ApplyToInterpreterMutex ( void * delta)

Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused.

Definition at line 9768 of file TCling.cxx.

◆ AutoLoad() [1/2]

Int_t TCling::AutoLoad ( const char * cls,
Bool_t knowDictNotLoaded = kFALSE )
finalvirtual

Load library containing the specified class.

Returns 0 in case of error and 1 in case if success.

Implements TInterpreter.

Definition at line 6376 of file TCling.cxx.

◆ AutoLoad() [2/2]

Int_t TCling::AutoLoad ( const std::type_info & typeinfo,
Bool_t knowDictNotLoaded = kFALSE )
finalvirtual

Load library containing the specified class.

Returns 0 in case of error and 1 in case if success.

Implements TInterpreter.

Definition at line 6235 of file TCling.cxx.

◆ AutoParse()

Int_t TCling::AutoParse ( const char * cls)
finalvirtual

Parse the headers relative to the class Returns 1 in case of success, 0 in case of failure.

Implements TInterpreter.

Definition at line 6640 of file TCling.cxx.

◆ AutoParseImplRecurse()

UInt_t TCling::AutoParseImplRecurse ( const char * cls,
bool topLevel )
private

Helper routine for TCling::AutoParse implementing the actual call to the parser and looping over template parameters (if any) and when they don't have a registered header to autoparse, recurse over their template parameters.

Returns the number of header parsed.

Definition at line 6492 of file TCling.cxx.

◆ BaseClassInfo_ClassInfo()

ClassInfo_t * TCling::BaseClassInfo_ClassInfo ( BaseClassInfo_t * bcinfo) const
finalvirtual

Implements TInterpreter.

Definition at line 8675 of file TCling.cxx.

◆ BaseClassInfo_Delete()

void TCling::BaseClassInfo_Delete ( BaseClassInfo_t * bcinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8603 of file TCling.cxx.

◆ BaseClassInfo_Factory() [1/2]

BaseClassInfo_t * TCling::BaseClassInfo_Factory ( ClassInfo_t * derived,
ClassInfo_t * base ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8619 of file TCling.cxx.

◆ BaseClassInfo_Factory() [2/2]

BaseClassInfo_t * TCling::BaseClassInfo_Factory ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8610 of file TCling.cxx.

◆ BaseClassInfo_FullName()

const char * TCling::BaseClassInfo_FullName ( BaseClassInfo_t * bcinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8691 of file TCling.cxx.

◆ BaseClassInfo_Name()

const char * TCling::BaseClassInfo_Name ( BaseClassInfo_t * bcinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8701 of file TCling.cxx.

◆ BaseClassInfo_Next() [1/2]

int TCling::BaseClassInfo_Next ( BaseClassInfo_t * bcinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8630 of file TCling.cxx.

◆ BaseClassInfo_Next() [2/2]

int TCling::BaseClassInfo_Next ( BaseClassInfo_t * bcinfo,
int onlyDirect ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8638 of file TCling.cxx.

◆ BaseClassInfo_Offset()

Longptr_t TCling::BaseClassInfo_Offset ( BaseClassInfo_t * toBaseClassInfo,
void * address,
bool isDerivedObject ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8646 of file TCling.cxx.

◆ BaseClassInfo_Property()

Long_t TCling::BaseClassInfo_Property ( BaseClassInfo_t * bcinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8667 of file TCling.cxx.

◆ BaseClassInfo_Tagnum()

Longptr_t TCling::BaseClassInfo_Tagnum ( BaseClassInfo_t * bcinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8683 of file TCling.cxx.

◆ BaseClassInfo_TmpltName()

const char * TCling::BaseClassInfo_TmpltName ( BaseClassInfo_t * bcinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8709 of file TCling.cxx.

◆ Browse()

◆ Calc()

Longptr_t TCling::Calc ( const char * line,
EErrorCode * error = nullptr )
finalvirtual

Directly execute an executable statement (e.g.

"func()", "3+5", etc. however not declarations, like "Int_t x;").

Implements TInterpreter.

Definition at line 3674 of file TCling.cxx.

◆ CallFunc_Delete()

void TCling::CallFunc_Delete ( CallFunc_t * func) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 7973 of file TCling.cxx.

◆ CallFunc_Exec() [1/2]

void TCling::CallFunc_Exec ( CallFunc_t * func,
void * address ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 7980 of file TCling.cxx.

◆ CallFunc_Exec() [2/2]

void TCling::CallFunc_Exec ( CallFunc_t * func,
void * address,
TInterpreterValue & val ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 7988 of file TCling.cxx.

◆ CallFunc_ExecDouble()

Double_t TCling::CallFunc_ExecDouble ( CallFunc_t * func,
void * address ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8031 of file TCling.cxx.

◆ CallFunc_ExecInt()

Longptr_t TCling::CallFunc_ExecInt ( CallFunc_t * func,
void * address ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8015 of file TCling.cxx.

◆ CallFunc_ExecInt64()

Long64_t TCling::CallFunc_ExecInt64 ( CallFunc_t * func,
void * address ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8023 of file TCling.cxx.

◆ CallFunc_ExecWithArgsAndReturn()

void TCling::CallFunc_ExecWithArgsAndReturn ( CallFunc_t * func,
void * address,
const void * args[] = nullptr,
int nargs = 0,
void * ret = nullptr ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8004 of file TCling.cxx.

◆ CallFunc_ExecWithReturn()

void TCling::CallFunc_ExecWithReturn ( CallFunc_t * func,
void * address,
void * ret ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 7996 of file TCling.cxx.

◆ CallFunc_Factory()

CallFunc_t * TCling::CallFunc_Factory ( ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8039 of file TCling.cxx.

◆ CallFunc_FactoryCopy()

CallFunc_t * TCling::CallFunc_FactoryCopy ( CallFunc_t * func) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8047 of file TCling.cxx.

◆ CallFunc_FactoryMethod()

MethodInfo_t * TCling::CallFunc_FactoryMethod ( CallFunc_t * func) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8054 of file TCling.cxx.

◆ CallFunc_GetWrapperCode()

std::string TCling::CallFunc_GetWrapperCode ( CallFunc_t * func) const
finalvirtual

Implements TInterpreter.

Definition at line 8242 of file TCling.cxx.

◆ CallFunc_IFacePtr()

TInterpreter::CallFuncIFacePtr_t TCling::CallFunc_IFacePtr ( CallFunc_t * func) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8088 of file TCling.cxx.

◆ CallFunc_IgnoreExtraArgs()

void TCling::CallFunc_IgnoreExtraArgs ( CallFunc_t * func,
bool ignore ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8062 of file TCling.cxx.

◆ CallFunc_Init()

void TCling::CallFunc_Init ( CallFunc_t * func) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8070 of file TCling.cxx.

◆ CallFunc_IsValid()

bool TCling::CallFunc_IsValid ( CallFunc_t * func) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8079 of file TCling.cxx.

◆ CallFunc_ResetArg()

void TCling::CallFunc_ResetArg ( CallFunc_t * func) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8096 of file TCling.cxx.

◆ CallFunc_SetArg() [1/14]

void TCling::CallFunc_SetArg ( CallFunc_t * func,
Double_t param ) const
finalvirtual

Implements TInterpreter.

Definition at line 8128 of file TCling.cxx.

◆ CallFunc_SetArg() [2/14]

void TCling::CallFunc_SetArg ( CallFunc_t * func,
Float_t param ) const
finalvirtual

Implements TInterpreter.

Definition at line 8120 of file TCling.cxx.

◆ CallFunc_SetArg() [3/14]

void TCling::CallFunc_SetArg ( CallFunc_t * func,
Long64_t param ) const
finalvirtual

Implements TInterpreter.

Definition at line 8136 of file TCling.cxx.

◆ CallFunc_SetArg() [4/14]

void TCling::CallFunc_SetArg ( CallFunc_t * func,
Long_t param ) const
finalvirtual

Implements TInterpreter.

Definition at line 8104 of file TCling.cxx.

◆ CallFunc_SetArg() [5/14]

void TCling::CallFunc_SetArg ( CallFunc_t * func,
ULong64_t param ) const
finalvirtual

Implements TInterpreter.

Definition at line 8144 of file TCling.cxx.

◆ CallFunc_SetArg() [6/14]

void TCling::CallFunc_SetArg ( CallFunc_t * func,
ULong_t param ) const
finalvirtual

Implements TInterpreter.

Definition at line 8112 of file TCling.cxx.

◆ CallFunc_SetArg() [7/14]

void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
Char_t param ) const
inlineinherited

Definition at line 342 of file TInterpreter.h.

◆ CallFunc_SetArg() [8/14]

template<typename T>
void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
const T * arg )
inlineinherited

Definition at line 359 of file TInterpreter.h.

◆ CallFunc_SetArg() [9/14]

void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
Int_t param ) const
inlineinherited

Definition at line 344 of file TInterpreter.h.

◆ CallFunc_SetArg() [10/14]

void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
Short_t param ) const
inlineinherited

Definition at line 343 of file TInterpreter.h.

◆ CallFunc_SetArg() [11/14]

void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
UChar_t param ) const
inlineinherited

Definition at line 346 of file TInterpreter.h.

◆ CallFunc_SetArg() [12/14]

void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
UInt_t param ) const
inlineinherited

Definition at line 348 of file TInterpreter.h.

◆ CallFunc_SetArg() [13/14]

void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
UShort_t param ) const
inlineinherited

Definition at line 347 of file TInterpreter.h.

◆ CallFunc_SetArg() [14/14]

void TInterpreter::CallFunc_SetArg ( CallFunc_t * func,
void * arg )
inlineinherited

Definition at line 353 of file TInterpreter.h.

◆ CallFunc_SetArgArray()

void TCling::CallFunc_SetArgArray ( CallFunc_t * func,
Longptr_t * paramArr,
Int_t nparam ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8152 of file TCling.cxx.

◆ CallFunc_SetArgImpl() [1/3]

void TInterpreter::CallFunc_SetArgImpl ( CallFunc_t * )
inlineinherited

Definition at line 364 of file TInterpreter.h.

◆ CallFunc_SetArgImpl() [2/3]

template<typename U>
void TInterpreter::CallFunc_SetArgImpl ( CallFunc_t * func,
const U & head )
inlineinherited

Definition at line 369 of file TInterpreter.h.

◆ CallFunc_SetArgImpl() [3/3]

template<typename U, typename... T>
void TInterpreter::CallFunc_SetArgImpl ( CallFunc_t * func,
const U & head,
const T &... tail )
inlineinherited

Definition at line 375 of file TInterpreter.h.

◆ CallFunc_SetArgRef()

template<typename T>
void TInterpreter::CallFunc_SetArgRef ( CallFunc_t * func,
T & param ) const
inlineinherited

Definition at line 351 of file TInterpreter.h.

◆ CallFunc_SetArgs()

void TCling::CallFunc_SetArgs ( CallFunc_t * func,
const char * param ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8160 of file TCling.cxx.

◆ CallFunc_SetArguments()

template<typename... T>
void TInterpreter::CallFunc_SetArguments ( CallFunc_t * func,
const T &... args )
inlineinherited

Definition at line 382 of file TInterpreter.h.

◆ CallFunc_SetFunc() [1/3]

void TCling::CallFunc_SetFunc ( CallFunc_t * func,
ClassInfo_t * info,
const char * method,
const char * params,
bool objectIsConst,
Longptr_t * Offset ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8177 of file TCling.cxx.

◆ CallFunc_SetFunc() [2/3]

void TCling::CallFunc_SetFunc ( CallFunc_t * func,
ClassInfo_t * info,
const char * method,
const char * params,
Longptr_t * Offset ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8168 of file TCling.cxx.

◆ CallFunc_SetFunc() [3/3]

void TCling::CallFunc_SetFunc ( CallFunc_t * func,
MethodInfo_t * info ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8185 of file TCling.cxx.

◆ CallFunc_SetFuncProto() [1/4]

void TCling::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
finalvirtual

Interface to cling function.

Reimplemented from TInterpreter.

Definition at line 8205 of file TCling.cxx.

◆ CallFunc_SetFuncProto() [2/4]

void TCling::CallFunc_SetFuncProto ( CallFunc_t * func,
ClassInfo_t * info,
const char * method,
const char * proto,
Longptr_t * Offset,
ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch ) const
finalvirtual

Interface to cling function.

Reimplemented from TInterpreter.

Definition at line 8195 of file TCling.cxx.

◆ CallFunc_SetFuncProto() [3/4]

void TCling::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
finalvirtual

Interface to cling function.

Implements TInterpreter.

Definition at line 8230 of file TCling.cxx.

◆ CallFunc_SetFuncProto() [4/4]

void TCling::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
finalvirtual

Interface to cling function.

Implements TInterpreter.

Definition at line 8215 of file TCling.cxx.

◆ CheckClassInfo()

TInterpreter::ECheckClassInfo TCling::CheckClassInfo ( const char * name,
Bool_t autoload,
Bool_t isClassOrNamespaceOnly = kFALSE )
finalvirtual

Checks if an entity with the specified name is defined in Cling.

Returns kUnknown if the entity is not defined. Returns kWithClassDefInline if the entity exists and has a ClassDefInline Returns kKnown if the entity is defined.

By default, structs, namespaces, classes, enums and unions are looked for. If the flag isClassOrNamespaceOnly is true, classes, structs and namespaces only are considered. I.e. if the name is an enum or a union, the returned value is false.

In the case where the class is not loaded and belongs to a namespace or is nested, looking for the full class name is outputting a lots of (expected) error messages. Currently the only way to avoid this is to specifically check that each level of nesting is already loaded. In case of templates the idea is that everything between the outer '<' and '>' has to be skipped, e.g.: aap<pippo<noot>::klaas>::a_class

Implements TInterpreter.

Definition at line 4283 of file TCling.cxx.

◆ CheckClassTemplate()

Bool_t TCling::CheckClassTemplate ( const char * name)
finalvirtual

Return true if there is a class template by the given name ...

Implements TInterpreter.

Definition at line 4455 of file TCling.cxx.

◆ CheckedHash()

ULong_t TObject::CheckedHash ( )
inlineinherited

Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.

The intent is for this routine to be called instead of directly calling the function Hash during "insert" operations. See TObject::HasInconsistenTObjectHash();

(*) The setup is consistent when all classes in the class hierarchy that overload TObject::Hash do call ROOT::CallRecursiveRemoveIfNeeded in their destructor. i.e. it is safe to call the Hash virtual function during the RecursiveRemove operation.

Definition at line 332 of file TObject.h.

◆ Class()

TClass * TInterpreter::Class ( )
staticinherited
Returns
TClass describing this class

◆ Class_Name()

const char * TInterpreter::Class_Name ( )
staticinherited
Returns
Name of this class

◆ Class_Version()

constexpr Version_t TInterpreter::Class_Version ( )
inlinestaticconstexprinherited
Returns
Version of this class

Definition at line 566 of file TInterpreter.h.

◆ ClassInfo_AlignOf()

size_t TCling::ClassInfo_AlignOf ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8258 of file TCling.cxx.

◆ ClassInfo_ClassProperty()

Long_t TCling::ClassInfo_ClassProperty ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8314 of file TCling.cxx.

◆ ClassInfo_Contains()

Bool_t TCling::ClassInfo_Contains ( ClassInfo_t * info,
DeclId_t declid ) const
finalvirtual

Return true if the entity pointed to by 'declid' is declared in the context described by 'info'.

If info is null, look into the global scope (translation unit scope).

Implements TInterpreter.

Definition at line 8269 of file TCling.cxx.

◆ ClassInfo_Delete() [1/2]

void TCling::ClassInfo_Delete ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8322 of file TCling.cxx.

◆ ClassInfo_Delete() [2/2]

void TCling::ClassInfo_Delete ( ClassInfo_t * info,
void * arena ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8329 of file TCling.cxx.

◆ ClassInfo_DeleteArray()

void TCling::ClassInfo_DeleteArray ( ClassInfo_t * info,
void * arena,
bool dtorOnly ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8337 of file TCling.cxx.

◆ ClassInfo_Destruct()

void TCling::ClassInfo_Destruct ( ClassInfo_t * info,
void * arena ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8345 of file TCling.cxx.

◆ ClassInfo_Factory() [1/4]

ClassInfo_t * TCling::ClassInfo_Factory ( Bool_t all = kTRUE) const
finalvirtual

Implements TInterpreter.

Definition at line 8353 of file TCling.cxx.

◆ ClassInfo_Factory() [2/4]

ClassInfo_t * TCling::ClassInfo_Factory ( ClassInfo_t * cl) const
finalvirtual

Implements TInterpreter.

Definition at line 8361 of file TCling.cxx.

◆ ClassInfo_Factory() [3/4]

ClassInfo_t * TCling::ClassInfo_Factory ( const char * name) const
finalvirtual

Implements TInterpreter.

Definition at line 8368 of file TCling.cxx.

◆ ClassInfo_Factory() [4/4]

ClassInfo_t * TCling::ClassInfo_Factory ( DeclId_t declid) const
finalvirtual

Implements TInterpreter.

Definition at line 8374 of file TCling.cxx.

◆ ClassInfo_FileName()

const char * TCling::ClassInfo_FileName ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8554 of file TCling.cxx.

◆ ClassInfo_FullName()

const char * TCling::ClassInfo_FullName ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8562 of file TCling.cxx.

◆ ClassInfo_GetBaseOffset()

Longptr_t TCling::ClassInfo_GetBaseOffset ( ClassInfo_t * fromDerived,
ClassInfo_t * toBase,
void * address,
bool isDerivedObject ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8654 of file TCling.cxx.

◆ ClassInfo_GetMethodNArg()

int TCling::ClassInfo_GetMethodNArg ( ClassInfo_t * info,
const char * method,
const char * proto,
Bool_t objectIsConst = false,
ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8383 of file TCling.cxx.

◆ ClassInfo_GetUnderlyingType()

EDataType TCling::ClassInfo_GetUnderlyingType ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8449 of file TCling.cxx.

◆ ClassInfo_HasDefaultConstructor()

bool TCling::ClassInfo_HasDefaultConstructor ( ClassInfo_t * info,
Bool_t testio = kFALSE ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8391 of file TCling.cxx.

◆ ClassInfo_HasMethod()

bool TCling::ClassInfo_HasMethod ( ClassInfo_t * info,
const char * name ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8399 of file TCling.cxx.

◆ ClassInfo_Init() [1/2]

void TCling::ClassInfo_Init ( ClassInfo_t * info,
const char * funcname ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8407 of file TCling.cxx.

◆ ClassInfo_Init() [2/2]

void TCling::ClassInfo_Init ( ClassInfo_t * info,
int tagnum ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8416 of file TCling.cxx.

◆ ClassInfo_IsBase()

bool TCling::ClassInfo_IsBase ( ClassInfo_t * info,
const char * name ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8425 of file TCling.cxx.

◆ ClassInfo_IsEnum()

bool TCling::ClassInfo_IsEnum ( const char * name) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8433 of file TCling.cxx.

◆ ClassInfo_IsLoaded()

bool TCling::ClassInfo_IsLoaded ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8458 of file TCling.cxx.

◆ ClassInfo_IsScopedEnum()

Bool_t TCling::ClassInfo_IsScopedEnum ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8440 of file TCling.cxx.

◆ ClassInfo_IsValid()

bool TCling::ClassInfo_IsValid ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8466 of file TCling.cxx.

◆ ClassInfo_IsValidMethod() [1/2]

bool TCling::ClassInfo_IsValidMethod ( ClassInfo_t * info,
const char * method,
const char * proto,
Bool_t objectIsConst,
Longptr_t * offset,
ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8482 of file TCling.cxx.

◆ ClassInfo_IsValidMethod() [2/2]

bool TCling::ClassInfo_IsValidMethod ( ClassInfo_t * info,
const char * method,
const char * proto,
Longptr_t * offset,
ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8474 of file TCling.cxx.

◆ ClassInfo_Name()

const char * TCling::ClassInfo_Name ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8572 of file TCling.cxx.

◆ ClassInfo_New() [1/4]

void * TCling::ClassInfo_New ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8498 of file TCling.cxx.

◆ ClassInfo_New() [2/4]

void * TCling::ClassInfo_New ( ClassInfo_t * info,
int n ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8506 of file TCling.cxx.

◆ ClassInfo_New() [3/4]

void * TCling::ClassInfo_New ( ClassInfo_t * info,
int n,
void * arena ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8514 of file TCling.cxx.

◆ ClassInfo_New() [4/4]

void * TCling::ClassInfo_New ( ClassInfo_t * info,
void * arena ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8522 of file TCling.cxx.

◆ ClassInfo_Next()

int TCling::ClassInfo_Next ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8490 of file TCling.cxx.

◆ ClassInfo_Property()

Long_t TCling::ClassInfo_Property ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8530 of file TCling.cxx.

◆ ClassInfo_Size()

int TCling::ClassInfo_Size ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8538 of file TCling.cxx.

◆ ClassInfo_Tagnum()

Longptr_t TCling::ClassInfo_Tagnum ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8546 of file TCling.cxx.

◆ ClassInfo_Title()

const char * TCling::ClassInfo_Title ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8580 of file TCling.cxx.

◆ ClassInfo_TmpltName()

const char * TCling::ClassInfo_TmpltName ( ClassInfo_t * info) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8588 of file TCling.cxx.

◆ ClassName()

const char * TObject::ClassName ( ) const
virtualinherited

Returns name of class to which the object belongs.

Definition at line 227 of file TObject.cxx.

◆ Clear()

void TNamed::Clear ( Option_t * option = "")
overridevirtualinherited

Set name and title to empty strings ("").

Reimplemented from TObject.

Reimplemented in TPrincipal, TProcessID, TStreamerInfo, TTask, TVirtualFitter, and TVirtualStreamerInfo.

Definition at line 63 of file TNamed.cxx.

◆ ClearFileBusy()

void TCling::ClearFileBusy ( )
finalvirtual

Reset the interpreter internal state in case a previous action was not correctly terminated.

Implements TInterpreter.

Definition at line 3158 of file TCling.cxx.

◆ ClearStack()

void TCling::ClearStack ( )
finalvirtual

Delete existing temporary values.

Implements TInterpreter.

Definition at line 3166 of file TCling.cxx.

◆ Clone()

TObject * TNamed::Clone ( const char * newname = "") const
overridevirtualinherited

Make a clone of an object using the Streamer facility.

If newname is specified, this will be the name of the new object.

Reimplemented from TObject.

Reimplemented in TStreamerInfo, and TTreeIndex.

Definition at line 73 of file TNamed.cxx.

◆ CodeComplete()

void TCling::CodeComplete ( const std::string & line,
size_t & cursor,
std::vector< std::string > & completions )
finalvirtual

The call to Cling's tab complition.

Reimplemented from TInterpreter.

Definition at line 7798 of file TCling.cxx.

◆ Compare()

Int_t TNamed::Compare ( const TObject * obj) const
overridevirtualinherited

Compare two TNamed objects.

Returns 0 when equal, -1 when this is smaller and +1 when bigger (like strcmp).

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 84 of file TNamed.cxx.

◆ Copy()

void TNamed::Copy ( TObject & named) const
overridevirtualinherited

Copy this to obj.

Reimplemented from TObject.

Reimplemented in TPieSlice, TProfile2D, TProfile3D, TProfile, TStyle, TSystemDirectory, TSystemFile, TText, and TXTRU.

Definition at line 93 of file TNamed.cxx.

◆ CreateEnum()

TEnum * TCling::CreateEnum ( void * VD,
TClass * cl ) const
finalvirtual

Implements TInterpreter.

Definition at line 486 of file TCling.cxx.

◆ CreateListOfBaseClasses()

void TCling::CreateListOfBaseClasses ( TClass * cl) const
finalvirtual

Create list of pointers to base class(es) for TClass cl.

Implements TInterpreter.

Definition at line 4477 of file TCling.cxx.

◆ CreateListOfDataMembers()

void TCling::CreateListOfDataMembers ( TClass * cl) const
finalvirtual

Create list of pointers to data members for TClass cl.

This is now a nop. The creation and updating is handled in TListOfDataMembers.

Implements TInterpreter.

Definition at line 4600 of file TCling.cxx.

◆ CreateListOfMethodArgs()

void TCling::CreateListOfMethodArgs ( TFunction * m) const
finalvirtual

Create list of pointers to method arguments for TMethod m.

Implements TInterpreter.

Definition at line 4634 of file TCling.cxx.

◆ CreateListOfMethods()

void TCling::CreateListOfMethods ( TClass * cl) const
finalvirtual

Create list of pointers to methods for TClass cl.

This is now a nop. The creation and updating is handled in TListOfFunctions.

Implements TInterpreter.

Definition at line 4609 of file TCling.cxx.

◆ CreateTemporary()

TInterpreterValue * TInterpreter::CreateTemporary ( ) const
inlineinherited

The created temporary must be deleted by the caller.

Deprecated! Please use MakeInterpreterValue().

Definition at line 277 of file TInterpreter.h.

◆ DataMemberInfo_ArrayDim()

int TCling::DataMemberInfo_ArrayDim ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8722 of file TCling.cxx.

◆ DataMemberInfo_Delete()

void TCling::DataMemberInfo_Delete ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8730 of file TCling.cxx.

◆ DataMemberInfo_Factory() [1/2]

DataMemberInfo_t * TCling::DataMemberInfo_Factory ( ClassInfo_t * clinfo,
TDictionary::EMemberSelection selection ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8737 of file TCling.cxx.

◆ DataMemberInfo_Factory() [2/2]

DataMemberInfo_t * TCling::DataMemberInfo_Factory ( DeclId_t declid,
ClassInfo_t * clinfo ) const
finalvirtual

Implements TInterpreter.

Definition at line 8746 of file TCling.cxx.

◆ DataMemberInfo_FactoryCopy()

DataMemberInfo_t * TCling::DataMemberInfo_FactoryCopy ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8756 of file TCling.cxx.

◆ DataMemberInfo_IsValid()

bool TCling::DataMemberInfo_IsValid ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8764 of file TCling.cxx.

◆ DataMemberInfo_MaxIndex()

int TCling::DataMemberInfo_MaxIndex ( DataMemberInfo_t * dminfo,
Int_t dim ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8772 of file TCling.cxx.

◆ DataMemberInfo_Name()

const char * TCling::DataMemberInfo_Name ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8836 of file TCling.cxx.

◆ DataMemberInfo_Next()

int TCling::DataMemberInfo_Next ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8780 of file TCling.cxx.

◆ DataMemberInfo_Offset()

Longptr_t TCling::DataMemberInfo_Offset ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8788 of file TCling.cxx.

◆ DataMemberInfo_Property()

Long_t TCling::DataMemberInfo_Property ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8796 of file TCling.cxx.

◆ DataMemberInfo_Title()

const char * TCling::DataMemberInfo_Title ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8844 of file TCling.cxx.

◆ DataMemberInfo_TypeName()

const char * TCling::DataMemberInfo_TypeName ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8820 of file TCling.cxx.

◆ DataMemberInfo_TypeProperty()

Long_t TCling::DataMemberInfo_TypeProperty ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8804 of file TCling.cxx.

◆ DataMemberInfo_TypeSize()

int TCling::DataMemberInfo_TypeSize ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8812 of file TCling.cxx.

◆ DataMemberInfo_TypeTrueName()

const char * TCling::DataMemberInfo_TypeTrueName ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8828 of file TCling.cxx.

◆ DataMemberInfo_ValidArrayIndex()

const char * TCling::DataMemberInfo_ValidArrayIndex ( DataMemberInfo_t * dminfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 8852 of file TCling.cxx.

◆ Declare()

bool TCling::Declare ( const char * code)
finalvirtual

Declare code to the interpreter, without any of the interpreter actions that could trigger a re-interpretation of the code.

I.e. make cling behave like a compiler: no dynamic lookup, no input wrapping for subsequent execution, no automatic provision of declarations but just a plain #include. Returns true on success, false on failure.

Implements TInterpreter.

Definition at line 3179 of file TCling.cxx.

◆ DeclFileName()

const char * TInterpreter::DeclFileName ( )
inlinestaticinherited
Returns
Name of the file containing the class declaration

Definition at line 566 of file TInterpreter.h.

◆ DeepAutoLoadImpl()

Int_t TCling::DeepAutoLoadImpl ( const char * cls,
std::unordered_set< std::string > & visited,
bool nameIsNormalized )
staticprivate

Definition at line 6315 of file TCling.cxx.

◆ Delete()

void TObject::Delete ( Option_t * option = "")
virtualinherited

◆ DeleteGlobal()

Int_t TCling::DeleteGlobal ( void * obj)
finalvirtual

Delete obj from Cling symbol table so it cannot be accessed anymore.

Returns 1 in case of success and 0 in case object was not in table.

Implements TInterpreter.

Definition at line 3872 of file TCling.cxx.

◆ DeleteVariable()

Int_t TCling::DeleteVariable ( const char * name)
finalvirtual

Undeclare obj called name.

Returns 1 in case of success, 0 for failure.

Implements TInterpreter.

Definition at line 3887 of file TCling.cxx.

◆ DiagnoseIfInterpreterException()

bool TCling::DiagnoseIfInterpreterException ( const std::exception & e) const
finalvirtual

Implements TInterpreter.

Definition at line 2493 of file TCling.cxx.

◆ DisplayClass()

int TCling::DisplayClass ( FILE * fout,
const char * name,
int base,
int start ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 7538 of file TCling.cxx.

◆ DisplayIncludePath()

int TCling::DisplayIncludePath ( FILE * fout) const
finalvirtual

Interface to cling function.

Reimplemented from TInterpreter.

Definition at line 7547 of file TCling.cxx.

◆ DistancetoPrimitive()

◆ DoError()

void TObject::DoError ( int level,
const char * location,
const char * fmt,
va_list va ) const
protectedvirtualinherited

Interface to ErrorHandler (protected).

Reimplemented in TThread, and TTreeViewer.

Definition at line 1059 of file TObject.cxx.

◆ Draw()

◆ DrawClass()

void TObject::DrawClass ( ) const
virtualinherited

Draw class inheritance tree of the class to which this object belongs.

If a class B inherits from a class A, description of B is drawn on the right side of description of A. Member functions overridden by B are shown in class A with a blue line crossing-out the corresponding member function. The following picture is the class inheritance tree of class TPaveLabel:

Reimplemented in TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 308 of file TObject.cxx.

◆ DrawClone()

TObject * TObject::DrawClone ( Option_t * option = "") const
virtualinherited

Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).

If pad was not selected - gPad will be used.

Note
For histograms, use the more specialised TH1::DrawCopy().

Reimplemented in TAxis, TCanvas, TGFrame, TSystemDirectory, and TSystemFile.

Definition at line 319 of file TObject.cxx.

◆ Dump()

void TObject::Dump ( ) const
virtualinherited

Dump contents of object on stdout.

Using the information in the object dictionary (class TClass) each data member is interpreted. If a data member is a pointer, the pointer value is printed

The following output is the Dump of a TArrow object:

fAngle 0 Arrow opening angle (degrees)
fArrowSize 0.2 Arrow Size
fOption.*fData
fX1 0.1 X of 1st point
fY1 0.15 Y of 1st point
fX2 0.67 X of 2nd point
fY2 0.83 Y of 2nd point
fUniqueID 0 object unique identifier
fBits 50331648 bit field status word
fLineColor 1 line color
fLineStyle 1 line style
fLineWidth 1 line width
fFillColor 19 fill area color
fFillStyle 1001 fill area style
#define X(type, name)
UInt_t fUniqueID
object unique identifier
Definition TObject.h:46
UInt_t fBits
bit field status word
Definition TObject.h:47
TLine * line
TCanvas * style()
Definition style.C:1

Reimplemented in TClass, TCollection, TGFrame, TGPack, and TSystemFile.

Definition at line 367 of file TObject.cxx.

◆ EndOfLineAction()

void TCling::EndOfLineAction ( )
finalvirtual

It calls a "fantom" method to synchronize user keyboard input and ROOT prompt line.

Implements TInterpreter.

Definition at line 3202 of file TCling.cxx.

◆ Error()

void TObject::Error ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue error message.

Use "location" to specify the method where the error occurred. Accepts standard printf formatting arguments.

Reimplemented in TFitResult.

Definition at line 1098 of file TObject.cxx.

◆ Evaluate()

int TCling::Evaluate ( const char * code,
TInterpreterValue & value )
finalvirtual

Get the interpreter value corresponding to the statement.

Reimplemented from TInterpreter.

Definition at line 7806 of file TCling.cxx.

◆ Execute() [1/5]

void TCling::Execute ( const char * function,
const char * params,
int * error = nullptr )
finalvirtual

Execute a global function with arguments params.

FIXME: The cint-based version of this code does not check if the SetFunc() call works, and does not do any real checking for errors from the Exec() call. It did fetch the most recent cint security error and return that in error, but this does not really translate well to cling/clang. We should enhance these interfaces so that we can report compilation and runtime errors properly.

Implements TInterpreter.

Definition at line 5344 of file TCling.cxx.

◆ Execute() [2/5]

void TCling::Execute ( TMethod * method,
TObjArray * params,
int * error = nullptr )
inlinefinalprivatevirtual

Execute method on this object with parameters stored in the TObjArray.

The TObjArray should contain an argv vector like:

argv[0] ... argv[n] = the list of TObjString parameters
Collectable string class.
Definition TObjString.h:28
const Int_t n
Definition legend1.C:16

Implements TInterpreter.

Definition at line 634 of file TCling.h.

◆ Execute() [3/5]

void TCling::Execute ( TObject * obj,
TClass * cl,
const char * method,
const char * params,
Bool_t objectIsConst,
int * error = nullptr )

Execute a method from class cl with arguments params.

FIXME: The cint-based version of this code does not check if the SetFunc() call works, and does not do any real checking for errors from the Exec() call. It did fetch the most recent cint security error and return that in error, but this does not really translate well to cling/clang. We should enhance these interfaces so that we can report compilation and runtime errors properly.

Definition at line 5368 of file TCling.cxx.

◆ Execute() [4/5]

void TCling::Execute ( TObject * obj,
TClass * cl,
const char * method,
const char * params,
int * error = nullptr )
finalvirtual

Implements TInterpreter.

Definition at line 5388 of file TCling.cxx.

◆ Execute() [5/5]

void TCling::Execute ( TObject * obj,
TClass * cl,
TMethod * method,
TObjArray * params,
int * error = nullptr )
finalvirtual

Execute a method from class cl with the arguments in array params (params[0] ... params[n] = array of TObjString parameters).

Convert the TObjArray array of TObjString parameters to a character string of comma separated parameters. The parameters of type 'char' are enclosed in double quotes and all internal quotes are escaped.

Implements TInterpreter.

Definition at line 5402 of file TCling.cxx.

◆ ExecuteEvent()

◆ ExecuteMacro()

Longptr_t TCling::ExecuteMacro ( const char * filename,
EErrorCode * error = nullptr )
finalvirtual

Execute a cling macro.

Implements TInterpreter.

Definition at line 5514 of file TCling.cxx.

◆ ExecuteWithArgsAndReturn()

void TCling::ExecuteWithArgsAndReturn ( TMethod * method,
void * address,
const void * args[] = nullptr,
int nargs = 0,
void * ret = nullptr ) const
finalvirtual

Implements TInterpreter.

Definition at line 5496 of file TCling.cxx.

◆ Fatal()

void TObject::Fatal ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue fatal error message.

Use "location" to specify the method where the fatal error occurred. Accepts standard printf formatting arguments.

Definition at line 1126 of file TObject.cxx.

◆ FillBuffer()

void TNamed::FillBuffer ( char *& buffer)
virtualinherited

Encode TNamed into output buffer.

Reimplemented in TDirectoryFile, TFile, TKey, TKeySQL, TKeyXML, TSQLFile, and TXMLFile.

Definition at line 103 of file TNamed.cxx.

◆ FindObject() [1/2]

TObject * TObject::FindObject ( const char * name) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object by name inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 425 of file TObject.cxx.

◆ FindObject() [2/2]

TObject * TObject::FindObject ( const TObject * obj) const
virtualinherited

Must be redefined in derived classes.

This function is typically used with TCollections, but can also be used to find an object inside this object.

Reimplemented in RooAbsCollection, RooLinkedList, TBtree, TCollection, TDirectory, TFolder, TGeometry, TGraph2D, TGraph, TH1, THashList, THashTable, THbookFile, TList, TListOfDataMembers, TListOfEnums, TListOfEnumsWithLock, TListOfFunctions, TListOfFunctionTemplates, TListOfTypes, TMap, TObjArray, TPad, TROOT, TViewPubDataMembers, and TViewPubFunctions.

Definition at line 435 of file TObject.cxx.

◆ FindSym()

void * TCling::FindSym ( const char * entry) const
finalvirtual

Interface to cling function.

Reimplemented from TInterpreter.

Definition at line 7576 of file TCling.cxx.

◆ ForgetMutexState()

void TCling::ForgetMutexState ( )
finalvirtual

Implements TInterpreter.

Definition at line 9752 of file TCling.cxx.

◆ FuncTempInfo_Delete()

void TCling::FuncTempInfo_Delete ( FuncTempInfo_t * ) const
finalvirtual

Delete the FuncTempInfo_t.

Implements TInterpreter.

Definition at line 8944 of file TCling.cxx.

◆ FuncTempInfo_ExtraProperty()

Long_t TCling::FuncTempInfo_ExtraProperty ( FuncTempInfo_t * ft_info) const
finalvirtual

Return the property not already defined in Property See TDictionary's EFunctionProperty.

Implements TInterpreter.

Definition at line 9073 of file TCling.cxx.

◆ FuncTempInfo_Factory()

FuncTempInfo_t * TCling::FuncTempInfo_Factory ( DeclId_t declid) const
finalvirtual

Construct a FuncTempInfo_t.

Implements TInterpreter.

Definition at line 8953 of file TCling.cxx.

◆ FuncTempInfo_FactoryCopy()

FuncTempInfo_t * TCling::FuncTempInfo_FactoryCopy ( FuncTempInfo_t * ft_info) const
finalvirtual

Construct a FuncTempInfo_t.

Implements TInterpreter.

Definition at line 8964 of file TCling.cxx.

◆ FuncTempInfo_IsValid()

Bool_t TCling::FuncTempInfo_IsValid ( FuncTempInfo_t * t_info) const
finalvirtual

Check validity of a FuncTempInfo_t.

Implements TInterpreter.

Definition at line 8975 of file TCling.cxx.

◆ FuncTempInfo_Name()

void TCling::FuncTempInfo_Name ( FuncTempInfo_t * ft_info,
TString & name ) const
finalvirtual

Return the name of this function template.

Implements TInterpreter.

Definition at line 9099 of file TCling.cxx.

◆ FuncTempInfo_Property()

Long_t TCling::FuncTempInfo_Property ( FuncTempInfo_t * ft_info) const
finalvirtual

Return the property of the function template.

Implements TInterpreter.

Definition at line 9008 of file TCling.cxx.

◆ FuncTempInfo_TemplateMinReqArgs()

UInt_t TCling::FuncTempInfo_TemplateMinReqArgs ( FuncTempInfo_t * ft_info) const
finalvirtual

Return the number of required template arguments of the function template described by ft_info.

Implements TInterpreter.

Definition at line 8998 of file TCling.cxx.

◆ FuncTempInfo_TemplateNargs()

UInt_t TCling::FuncTempInfo_TemplateNargs ( FuncTempInfo_t * ft_info) const
finalvirtual

Return the maximum number of template arguments of the function template described by ft_info.

Implements TInterpreter.

Definition at line 8987 of file TCling.cxx.

◆ FuncTempInfo_Title()

void TCling::FuncTempInfo_Title ( FuncTempInfo_t * ft_info,
TString & name ) const
finalvirtual

Return the comments associates with this function template.

Implements TInterpreter.

Definition at line 9112 of file TCling.cxx.

◆ GenerateDictionary()

Int_t TCling::GenerateDictionary ( const char * classes,
const char * includes = "",
const char * options = nullptr )
finalvirtual

Generate the dictionary for the C++ classes listed in the first argument (in a semi-colon separated list).

'includes' contains a semi-colon separated list of file to #include in the dictionary. For example:

gInterpreter->GenerateDictionary("vector<vector<float> >;list<vector<float> >","list;vector");
#define gInterpreter

or

gInterpreter->GenerateDictionary("myclass","myclass.h;myhelper.h");

Implements TInterpreter.

Definition at line 4834 of file TCling.cxx.

◆ GenerateTClass() [1/2]

TClass * TCling::GenerateTClass ( ClassInfo_t * classinfo,
Bool_t silent = kFALSE )
finalvirtual

Generate a TClass for the given class.

Implements TInterpreter.

Definition at line 4777 of file TCling.cxx.

◆ GenerateTClass() [2/2]

TClass * TCling::GenerateTClass ( const char * classname,
Bool_t emulation,
Bool_t silent = kFALSE )
finalvirtual

Generate a TClass for the given class.

Since the caller has already check the ClassInfo, let it give use the result (via the value of emulation) rather than recalculate it.

Implements TInterpreter.

Definition at line 4665 of file TCling.cxx.

◆ GenericError()

void TCling::GenericError ( const char * error) const
finalvirtual

Let the interpreter issue a generic error, and set its error state.

Reimplemented from TInterpreter.

Definition at line 7585 of file TCling.cxx.

◆ GetAutoLoadCallBack()

void * TCling::GetAutoLoadCallBack ( ) const
inlinefinalvirtual

Reimplemented from TInterpreter.

Definition at line 200 of file TCling.h.

◆ GetAutoParseClasses()

const std::set< std::string > & TCling::GetAutoParseClasses ( ) const
inline

Definition at line 205 of file TCling.h.

◆ GetClass()

TClass * TCling::GetClass ( const std::type_info & typeinfo,
Bool_t load ) const
finalvirtual

Demangle the name (from the typeinfo) and then request the class via the usual name based interface (TClass::GetClass).

Implements TInterpreter.

Definition at line 6221 of file TCling.cxx.

◆ GetClassSharedLibs()

const char * TCling::GetClassSharedLibs ( const char * cls,
bool skipCore = true )
finalvirtual

Get the list of shared libraries containing the code for class cls.

The first library in the list is the one containing the class, the others are the libraries the first one depends on. Returns 0 in case the library is not found.

Parameters
clsthe name of the class
skipCoreif true (default), remove "Core" from the returned list

Implements TInterpreter.

Definition at line 7223 of file TCling.cxx.

◆ GetCurrentMacroName()

const char * TCling::GetCurrentMacroName ( ) const
finalvirtual

Return the file name of the currently interpreted file, included or not.

Example to illustrate the difference between GetCurrentMacroName() and GetTopLevelMacroName():

void inclfile() {
std::cout << "In inclfile.C" << std::endl;
std::cout << " TCling::GetCurrentMacroName() returns " <<
std::cout << " TCling::GetTopLevelMacroName() returns " <<
}
const char * GetCurrentMacroName() const final
Return the file name of the currently interpreted file, included or not.
Definition TCling.cxx:5574
const char * GetTopLevelMacroName() const final
Return the file name of the current un-included interpreted file.
Definition TCling.cxx:5527
void mymacro() {
std::cout << "In mymacro.C" << std::endl;
std::cout << " TCling::GetCurrentMacroName() returns " <<
std::cout << " TCling::GetTopLevelMacroName() returns " <<
std::cout << " Now calling inclfile..." << std::endl;
gInterpreter->ProcessLine(".x inclfile.C");
}

Running mymacro.C will print:

root [0] .x mymacro.C

In mymacro.C

TCling::GetCurrentMacroName() returns ./mymacro.C
TCling::GetTopLevelMacroName() returns ./mymacro.C
TCling(const char *name, const char *title, const char *const argv[], void *interpLibHandle)
Initialize the cling interpreter interface.
Definition TCling.cxx:1366

Now calling inclfile... In inclfile.h

TCling::GetCurrentMacroName() returns inclfile.C
TCling::GetTopLevelMacroName() returns ./mymacro.C

Reimplemented from TInterpreter.

Definition at line 5574 of file TCling.cxx.

◆ GetDataMember()

TInterpreter::DeclId_t TCling::GetDataMember ( ClassInfo_t * cl,
const char * name ) const
finalvirtual

Return pointer to cling Decl of global/static variable that is located at the address given by addr.

Implements TInterpreter.

Definition at line 4882 of file TCling.cxx.

◆ GetDataMemberAtAddr()

TInterpreter::DeclId_t TCling::GetDataMemberAtAddr ( const void * addr) const
finalvirtual

Return pointer to cling DeclId for a data member with a given name.

Implements TInterpreter.

Definition at line 5061 of file TCling.cxx.

◆ GetDataMemberWithValue()

TInterpreter::DeclId_t TCling::GetDataMemberWithValue ( const void * ptrvalue) const
finalvirtual

NOT IMPLEMENTED.

Implements TInterpreter.

Definition at line 5052 of file TCling.cxx.

◆ GetDeclId() [1/7]

TInterpreter::DeclId_t TCling::GetDeclId ( CallFunc_t * info) const
finalvirtual

Return a unique identifier of the declaration represented by the CallFunc.

Implements TInterpreter.

Definition at line 7918 of file TCling.cxx.

◆ GetDeclId() [2/7]

TInterpreter::DeclId_t TCling::GetDeclId ( ClassInfo_t * cinfo) const
finalvirtual

Return a (almost) unique identifier of the declaration represented by the ClassInfo.

In ROOT, this identifier can point to more than one TClass when the underlying class is a template instance involving one of the opaque typedef.

Implements TInterpreter.

Definition at line 7930 of file TCling.cxx.

◆ GetDeclId() [3/7]

TInterpreter::DeclId_t TCling::GetDeclId ( const llvm::GlobalValue * gv) const
private

Return pointer to cling DeclId for a global value.

Definition at line 4983 of file TCling.cxx.

◆ GetDeclId() [4/7]

TInterpreter::DeclId_t TCling::GetDeclId ( DataMemberInfo_t * info) const
finalvirtual

Return a unique identifier of the declaration represented by the MethodInfo.

Implements TInterpreter.

Definition at line 7940 of file TCling.cxx.

◆ GetDeclId() [5/7]

TInterpreter::DeclId_t TCling::GetDeclId ( FuncTempInfo_t * info) const
finalvirtual

Return a unique identifier of the declaration represented by the FuncTempInfo.

Implements TInterpreter.

Definition at line 8936 of file TCling.cxx.

◆ GetDeclId() [6/7]

TInterpreter::DeclId_t TCling::GetDeclId ( MethodInfo_t * info) const
finalvirtual

Return a unique identifier of the declaration represented by the MethodInfo.

Implements TInterpreter.

Definition at line 7950 of file TCling.cxx.

◆ GetDeclId() [7/7]

TInterpreter::DeclId_t TCling::GetDeclId ( TypedefInfo_t * info) const
finalvirtual

Return a unique identifier of the declaration represented by the TypedefInfo.

Implements TInterpreter.

Definition at line 7960 of file TCling.cxx.

◆ GetDrawOption()

Option_t * TObject::GetDrawOption ( ) const
virtualinherited

Get option used by the graphics system to draw this object.

Note that before calling object.GetDrawOption(), you must have called object.Draw(..) before in the current pad.

Reimplemented in TBrowser, TFitEditor, TGedFrame, TGFileBrowser, TRootBrowser, and TRootBrowserLite.

Definition at line 445 of file TObject.cxx.

◆ GetDtorOnly()

Longptr_t TObject::GetDtorOnly ( )
staticinherited

Return destructor only flag.

Definition at line 1196 of file TObject.cxx.

◆ GetEnum()

TInterpreter::DeclId_t TCling::GetEnum ( TClass * cl,
const char * name ) const
finalvirtual

Return pointer to cling Decl of global/static variable that is located at the address given by addr.

Implements TInterpreter.

Definition at line 4943 of file TCling.cxx.

◆ GetExecByteCode()

Long_t TCling::GetExecByteCode ( ) const
finalvirtual

This routines used to return the address of the internal wrapper function (of the interpreter) that was used to call all the interpreted functions that were bytecode compiled (no longer interpreted line by line).

In Cling, there is no such wrapper function. In practice this routines was use to decipher whether the pointer returns by InterfaceMethod could be used to uniquely represent the function. In Cling if the function is in a useable state (its compiled version is available), this is always the case. See TClass::GetMethod.

Reimplemented from TInterpreter.

Definition at line 7607 of file TCling.cxx.

◆ GetExitCode()

Int_t TCling::GetExitCode ( ) const
inlinefinalvirtual

Implements TInterpreter.

Definition at line 214 of file TCling.h.

◆ GetFunction()

TInterpreter::DeclId_t TCling::GetFunction ( ClassInfo_t * cl,
const char * funcname )
finalvirtual

Return pointer to cling interface function for a method of a class with a certain name.

Implements TInterpreter.

Definition at line 5140 of file TCling.cxx.

◆ GetFunctionName()

void TCling::GetFunctionName ( const clang::Decl * decl,
std::string & name ) const

Definition at line 8899 of file TCling.cxx.

◆ GetFunctionOverloads()

void TCling::GetFunctionOverloads ( ClassInfo_t * cl,
const char * funcname,
std::vector< DeclId_t > & res ) const
finalvirtual

Insert overloads of name in cl to res.

Implements TInterpreter.

Definition at line 5159 of file TCling.cxx.

◆ GetFunctionTemplate()

TInterpreter::DeclId_t TCling::GetFunctionTemplate ( ClassInfo_t * cl,
const char * funcname )
finalvirtual

Return pointer to cling interface function for a method of a class with a certain name.

Implements TInterpreter.

Definition at line 5288 of file TCling.cxx.

◆ GetFunctionWithPrototype()

TInterpreter::DeclId_t TCling::GetFunctionWithPrototype ( ClassInfo_t * opaque_cl,
const char * method,
const char * proto,
Bool_t objectIsConst = kFALSE,
ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch )
finalvirtual

Return pointer to cling interface function for a method of a class with a certain prototype, i.e.

"char*,int,float". If the class is 0 the global function list will be searched.

Implements TInterpreter.

Definition at line 5266 of file TCling.cxx.

◆ GetFunctionWithValues()

TInterpreter::DeclId_t TCling::GetFunctionWithValues ( ClassInfo_t * opaque_cl,
const char * method,
const char * params,
Bool_t objectIsConst = kFALSE )
finalvirtual

Return pointer to cling DeclId for a method of a class with a certain prototype, i.e.

"char*,int,float". If the class is 0 the global function list will be searched.

Implements TInterpreter.

Definition at line 5244 of file TCling.cxx.

◆ GetIconName()

const char * TObject::GetIconName ( ) const
virtualinherited

Returns mime type name of object.

Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TASImage, TBranch, TBranchElement, TGeoVolume, TGMainFrame, TKey, TMethodBrowsable, TSystemFile, and TVirtualBranchBrowsable.

Definition at line 472 of file TObject.cxx.

◆ GetIncludePath()

const char * TCling::GetIncludePath ( )
finalvirtual

Refresh the list of include paths known to the interpreter and return it with -I prepended.

Implements TInterpreter.

Definition at line 7498 of file TCling.cxx.

◆ GetInterfaceMethod()

void * TCling::GetInterfaceMethod ( TClass * cl,
const char * method,
const char * params,
Bool_t objectIsConst = kFALSE )
finalvirtual

Return pointer to cling interface function for a method of a class with parameters params (params is a string of actual arguments, not formal ones).

If the class is 0 the global function list will be searched.

Implements TInterpreter.

Definition at line 5118 of file TCling.cxx.

◆ GetInterfaceMethodWithPrototype()

void * TCling::GetInterfaceMethodWithPrototype ( TClass * cl,
const char * method,
const char * proto,
Bool_t objectIsConst = kFALSE,
ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch )
finalvirtual

Return pointer to cling interface function for a method of a class with a certain prototype, i.e.

"char*,int,float". If the class is 0 the global function list will be searched.

Implements TInterpreter.

Definition at line 5221 of file TCling.cxx.

◆ GetInterpreterImpl()

cling::Interpreter * TCling::GetInterpreterImpl ( ) const
inlineprivate

Definition at line 650 of file TCling.h.

◆ GetInterpreterStateMarker()

unsigned long long TCling::GetInterpreterStateMarker ( ) const
inlinefinalvirtual

Implements TInterpreter.

Definition at line 227 of file TCling.h.

◆ GetInterpreterTypeName()

void TCling::GetInterpreterTypeName ( const char * name,
std::string & output,
Bool_t full = kFALSE )
finalvirtual

The 'name' is known to the interpreter, this function returns the internal version of this name (usually just resolving typedefs) This is used in particular to synchronize between the name used by rootcling and by the run-time environment (TClass) Return 0 if the name is not known.

Implements TInterpreter.

Definition at line 5311 of file TCling.cxx.

◆ GetMangledName()

TString TCling::GetMangledName ( TClass * cl,
const char * method,
const char * params,
Bool_t objectIsConst = kFALSE )
finalvirtual

Return the cling mangled name for a method of a class with parameters params (params is a string of actual arguments, not formal ones).

If the class is 0 the global function list will be searched.

Implements TInterpreter.

Definition at line 5073 of file TCling.cxx.

◆ GetMangledNameWithPrototype()

TString TCling::GetMangledNameWithPrototype ( TClass * cl,
const char * method,
const char * proto,
Bool_t objectIsConst = kFALSE,
ROOT::EFunctionMatchMode mode = ROOT::kConversionMatch )
finalvirtual

Return the cling mangled name for a method of a class with a certain prototype, i.e.

"char*,int,float". If the class is 0 the global function list will be searched.

Implements TInterpreter.

Definition at line 5100 of file TCling.cxx.

◆ GetMapfile()

TEnv * TCling::GetMapfile ( ) const
inlinefinalvirtual

Reimplemented from TInterpreter.

Definition at line 215 of file TCling.h.

◆ GetMetaProcessorImpl()

cling::MetaProcessor * TCling::GetMetaProcessorImpl ( ) const
inlineprivate

Definition at line 651 of file TCling.h.

◆ GetModTClasses()

std::set< TClass * > & TCling::GetModTClasses ( )
inline

Definition at line 585 of file TCling.h.

◆ GetMore()

Int_t TCling::GetMore ( ) const
finalvirtual

Return whether we are waiting for more input either because the collected input contains unbalanced braces or last seen token was a \\endiskip (backslash-newline).

Implements TInterpreter.

Definition at line 4655 of file TCling.cxx.

◆ GetName()

const char * TNamed::GetName ( ) const
inlineoverridevirtualinherited

Returns name of object.

This default method returns the class name. Classes that give objects a name should override this method.

Reimplemented from TObject.

Definition at line 49 of file TNamed.h.

◆ GetNormalizedContext()

const ROOT::TMetaUtils::TNormalizedCtxt & TCling::GetNormalizedContext ( ) const
inline

Definition at line 372 of file TCling.h.

◆ GetObjectAddress()

TObject * TCling::GetObjectAddress ( const char * Name,
void *& LookupCtx )

If the interpreter encounters Name, check whether that is an object ROOT could retrieve.

To not re-read objects from disk, cache the name/object pair for a given LookupCtx.

Definition at line 7844 of file TCling.cxx.

◆ GetObjectInfo()

char * TObject::GetObjectInfo ( Int_t px,
Int_t py ) const
virtualinherited

Returns string containing info about the object at position (px,py).

This method is typically overridden by classes of which the objects can report peculiarities for different positions. Returned string will be re-used (lock in MT environment).

Reimplemented in TASImage, TAxis3D, TColorWheel, TF1, TF2, TFileDrawMap, TGeoNode, TGeoTrack, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph, TH1, THistPainter, TNode, TPaletteAxis, TParallelCoordVar, and TVirtualHistPainter.

Definition at line 491 of file TObject.cxx.

◆ GetObjectStat()

Bool_t TObject::GetObjectStat ( )
staticinherited

Get status of object stat flag.

Definition at line 1181 of file TObject.cxx.

◆ GetOption()

virtual Option_t * TObject::GetOption ( ) const
inlinevirtualinherited

◆ GetPrompt()

char * TCling::GetPrompt ( )
inlinefinalvirtual

Implements TInterpreter.

Definition at line 220 of file TCling.h.

◆ GetRootMapFiles()

TObjArray * TCling::GetRootMapFiles ( ) const
inlinefinalvirtual

Implements TInterpreter.

Definition at line 226 of file TCling.h.

◆ GetSecurityError()

int TCling::GetSecurityError ( ) const
finalvirtual

Interface to cling function.

Reimplemented from TInterpreter.

Definition at line 7615 of file TCling.cxx.

◆ GetSharedLibDeps()

const char * TCling::GetSharedLibDeps ( const char * lib,
bool useDyld = false )
finalvirtual

Get the list a libraries on which the specified lib depends.

The returned string contains as first element the lib itself. Returns 0 in case the lib does not exist or does not have any dependencies. If useDyld is true, we iterate through all available libraries and try to construct the dependency chain by resolving each symbol.

Implements TInterpreter.

Definition at line 7417 of file TCling.cxx.

◆ GetSharedLibs()

const char * TCling::GetSharedLibs ( )
finalvirtual

Return the list of shared libraries loaded into the process.

Implements TInterpreter.

Definition at line 7117 of file TCling.cxx.

◆ GetSTLIncludePath()

const char * TCling::GetSTLIncludePath ( ) const
finalvirtual

Return the directory containing CINT's stl cintdlls.

Reimplemented from TInterpreter.

Definition at line 7529 of file TCling.cxx.

◆ GetTitle()

const char * TNamed::GetTitle ( ) const
inlineoverridevirtualinherited

Returns title of object.

This default method returns the class title (i.e. description). Classes that give objects a title should override this method.

Reimplemented from TObject.

Definition at line 50 of file TNamed.h.

◆ GetTopLevelMacroName()

const char * TCling::GetTopLevelMacroName ( ) const
finalvirtual

Return the file name of the current un-included interpreted file.

See the documentation for GetCurrentMacroName().

Reimplemented from TInterpreter.

Definition at line 5527 of file TCling.cxx.

◆ GetUniqueID()

UInt_t TObject::GetUniqueID ( ) const
virtualinherited

Return the unique object id.

Definition at line 480 of file TObject.cxx.

◆ GetUsingNamespaces()

std::vector< std::string > TCling::GetUsingNamespaces ( ClassInfo_t * cl) const
finalvirtual

Get the scopes representing using declarations of namespace.

Implements TInterpreter.

Definition at line 4589 of file TCling.cxx.

◆ HandleNewDecl()

void TCling::HandleNewDecl ( const void * DV,
bool isDeserialized,
std::set< TClass * > & modifiedClasses )

Definition at line 513 of file TCling.cxx.

◆ HandleNewTransaction()

Bool_t TCling::HandleNewTransaction ( const cling::Transaction & T)
private

Helper function to increase the internal Cling count of transactions that change the AST.

Definition at line 3754 of file TCling.cxx.

◆ HandleTimer()

Bool_t TObject::HandleTimer ( TTimer * timer)
virtualinherited

Execute action in response of a timer timing out.

This method must be overridden if an object has to react to timers.

Reimplemented in TGCommandPlugin, TGDNDManager, TGFileContainer, TGHtml, TGLEventHandler, TGPopupMenu, TGraphTime, TGScrollBar, TGShutter, TGTextEdit, TGTextEditor, TGTextEntry, TGTextView, TGToolTip, TGuiBldDragManager, TGWindow, and TTreeViewer.

Definition at line 516 of file TObject.cxx.

◆ Hash()

ULong_t TNamed::Hash ( ) const
inlineoverridevirtualinherited

Return hash value for this object.

Note: If this routine is overloaded in a derived class, this derived class should also add

void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
Definition TROOT.h:406

Otherwise, when RecursiveRemove is called (by ~TObject or example) for this type of object, the transversal of THashList and THashTable containers will will have to be done without call Hash (and hence be linear rather than logarithmic complexity). You will also see warnings like

Error in <ROOT::Internal::TCheckHashRecursiveRemoveConsistency::CheckRecursiveRemove>: The class SomeName overrides
TObject::Hash but does not call TROOT::RecursiveRemove in its destructor.
ULong_t Hash() const override
Return hash value for this object.
Definition TNamed.h:51
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Definition TObject.cxx:1098
TObject()
TObject constructor.
Definition TObject.h:259
void RecursiveRemove(TObject *obj) override
Recursively remove this object from the list of Cleanups.
Definition TROOT.cxx:2651

Reimplemented from TObject.

Definition at line 51 of file TNamed.h.

◆ HasInconsistentHash()

Bool_t TObject::HasInconsistentHash ( ) const
inlineinherited

Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.

missing call to RecursiveRemove in destructor).

Note: Since the consistency is only tested for during inserts, this routine will return true for object that have never been inserted whether or not they have a consistent setup. This has no negative side-effect as searching for the object with the right or wrong Hash will always yield a not-found answer (Since anyway no hash can be guaranteed unique, there is always a check)

Definition at line 366 of file TObject.h.

◆ HasPCMForLibrary()

Bool_t TCling::HasPCMForLibrary ( const char * libname) const
finalvirtual

Return true if ROOT has cxxmodules pcm for a given library name.

Implements TInterpreter.

Definition at line 3228 of file TCling.cxx.

◆ Info()

void TObject::Info ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue info message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1072 of file TObject.cxx.

◆ InheritsFrom() [1/2]

Bool_t TObject::InheritsFrom ( const char * classname) const
virtualinherited

Returns kTRUE if object inherits from class "classname".

Reimplemented in TClass.

Definition at line 549 of file TObject.cxx.

◆ InheritsFrom() [2/2]

Bool_t TObject::InheritsFrom ( const TClass * cl) const
virtualinherited

Returns kTRUE if object inherits from TClass cl.

Reimplemented in TClass.

Definition at line 557 of file TObject.cxx.

◆ Initialize()

void TCling::Initialize ( )
finalvirtual

Initialize the interpreter, once TROOT::fInterpreter is set.

Implements TInterpreter.

Definition at line 1682 of file TCling.cxx.

◆ InitRootmapFile()

void TCling::InitRootmapFile ( const char * name)
private

Create a resource table and read the (possibly) three resource files, i.e.

$ROOTSYS/etc/system<name> (or ROOTETCDIR/system<name>), $HOME/<name> and $PWD/<name>. ROOT always reads ".rootrc" (in TROOT::InitSystem()). You can read additional user defined resource files by creating additional TEnv objects. By setting the shell variable ROOTENV_NO_HOME=1 the reading of the $HOME/<name> resource file will be skipped. This might be useful in case the home directory resides on an automounted remote file system and one wants to avoid the file system from being mounted.

Definition at line 5766 of file TCling.cxx.

◆ Inspect()

void TObject::Inspect ( ) const
virtualinherited

Dump contents of this object in a graphics canvas.

Same action as Dump but in a graphical form. In addition pointers to other objects can be followed.

The following picture is the Inspect of a histogram object:

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TGFrame, TInspectorObject, and TSystemFile.

Definition at line 570 of file TObject.cxx.

◆ InspectMembers()

void TCling::InspectMembers ( TMemberInspector & insp,
const void * obj,
const TClass * cl,
Bool_t isTransient )
finalvirtual

Visit all members over members, recursing over base classes.

Implements TInterpreter.

Definition at line 2763 of file TCling.cxx.

◆ Instance()

TInterpreter * TInterpreter::Instance ( )
staticinherited

returns gInterpreter global

Definition at line 57 of file TInterpreter.cxx.

◆ InvalidateCachedDecl()

void TCling::InvalidateCachedDecl ( const std::tuple< TListOfDataMembers *, TListOfFunctions *, TListOfFunctionTemplates *, TListOfEnums * > & Lists,
const clang::Decl * D )
private

Invalidate cached TCling information for the given declaration, and removed it from the appropriate object list.

Parameters
[in]Lists- std::tuple<TListOfDataMembers&, TListOfFunctions&, TListOfFunctionTemplates&, TListOfEnums&> of pointers to the (global/class) object lists.
[in]D- Decl to discard.

Definition at line 7020 of file TCling.cxx.

◆ InvalidateGlobal()

void TCling::InvalidateGlobal ( const clang::Decl * D)

Invalidate stored TCling state for declarations included in transaction `T'.

void TCling::UpdateListsOnUnloaded(const cling::Transaction &T) */ { HandleNewTransaction(T);

auto Lists = std::make_tuple((TListOfDataMembers *) (ROOT::GetROOT()) ->GetListOfGlobals(), (TListOfFunctions *) (ROOT::GetROOT()) ->GetListOfGlobalFunctions(), (TListOfFunctionTemplates *) (ROOT::GetROOT()) ->GetListOfFunctionTemplates(), (TListOfEnums *) (ROOT::GetROOT()) ->GetListOfEnums());

cling::Transaction::const_nested_iterator iNested = T.nested_begin(); for (cling::Transaction::const_iterator I = T.decls_begin(), E = T.decls_end(); I != E; ++I) { if (I->m_Call == cling::Transaction::kCCIHandleVTable) continue; if (I->m_Call == cling::Transaction::kCCINone) { UpdateListsOnUnloaded(*(*iNested)); ++iNested; continue; }

for (auto &D : I->m_DGR) InvalidateCachedDecl(Lists, D); } }

/** Invalidate cached TCling information for the given global declaration.

Definition at line 7005 of file TCling.cxx.

◆ InvertBit()

void TObject::InvertBit ( UInt_t f)
inlineinherited

Definition at line 206 of file TObject.h.

◆ IsA()

TClass * TInterpreter::IsA ( ) const
inlineoverridevirtualinherited
Returns
TClass describing current object

Reimplemented from TObject.

Definition at line 566 of file TInterpreter.h.

◆ IsAutoLoadNamespaceCandidate()

Bool_t TCling::IsAutoLoadNamespaceCandidate ( const clang::NamespaceDecl * nsDecl)

Definition at line 6744 of file TCling.cxx.

◆ IsAutoParsingSuspended()

Bool_t TCling::IsAutoParsingSuspended ( ) const
inlinefinalvirtual

Implements TInterpreter.

Definition at line 360 of file TCling.h.

◆ IsClassAutoLoadingEnabled()

bool TCling::IsClassAutoLoadingEnabled ( ) const
private

Returns if class AutoLoading is currently enabled.

Definition at line 7682 of file TCling.cxx.

◆ IsDestructed()

Bool_t TObject::IsDestructed ( ) const
inlineinherited

IsDestructed.

Note
This function must be non-virtual as it can be used on destructed (but not yet modified) memory. This is used for example in TClonesArray to record the element that have been destructed but not deleted and thus are ready for re-use (by operator new with placement).
Returns
true if this object's destructor has been run.

Definition at line 186 of file TObject.h.

◆ IsEqual()

Bool_t TObject::IsEqual ( const TObject * obj) const
virtualinherited

Default equal comparison (objects are equal if they have the same address in memory).

More complicated classes might want to override this function.

Reimplemented in TGObject, TObjString, TPair, and TQCommand.

Definition at line 589 of file TObject.cxx.

◆ IsErrorMessagesEnabled()

Bool_t TCling::IsErrorMessagesEnabled ( ) const
finalvirtual

If error messages are disabled, the interpreter should suppress its failures and warning messages from stdout.

Implements TInterpreter.

Definition at line 7470 of file TCling.cxx.

◆ IsFloatingType()

bool TCling::IsFloatingType ( const void * QualTypePtr) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9713 of file TCling.cxx.

◆ IsFolder()

◆ IsIntegerType()

bool TCling::IsIntegerType ( const void * QualTypePtr) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9689 of file TCling.cxx.

◆ IsLibraryLoaded()

Bool_t TCling::IsLibraryLoaded ( const char * libname) const
finalvirtual

Implements TInterpreter.

Definition at line 3219 of file TCling.cxx.

◆ IsLoaded()

Bool_t TCling::IsLoaded ( const char * filename) const
finalvirtual

Return true if the file has already been loaded by cint.

We will try in this order: actual filename filename as a path relative to the include path the shared library path

Implements TInterpreter.

Definition at line 3253 of file TCling.cxx.

◆ IsOnHeap()

Bool_t TObject::IsOnHeap ( ) const
inlineinherited

Definition at line 160 of file TObject.h.

◆ IsPointerType()

bool TCling::IsPointerType ( const void * QualTypePtr) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9721 of file TCling.cxx.

◆ IsProcessLineLocked()

Bool_t TCling::IsProcessLineLocked ( ) const
inlinefinalvirtual

Implements TInterpreter.

Definition at line 324 of file TCling.h.

◆ IsSameType()

bool TCling::IsSameType ( const void * QualTypePtr1,
const void * QualTypePtr2 ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9680 of file TCling.cxx.

◆ IsSignedIntegerType()

bool TCling::IsSignedIntegerType ( const void * QualTypePtr) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9697 of file TCling.cxx.

◆ IsSortable()

Bool_t TNamed::IsSortable ( ) const
inlineoverridevirtualinherited

Reimplemented from TObject.

Reimplemented in TStructNodeProperty.

Definition at line 52 of file TNamed.h.

◆ IsUnsignedIntegerType()

bool TCling::IsUnsignedIntegerType ( const void * QualTypePtr) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9705 of file TCling.cxx.

◆ IsValid()

bool TCling::IsValid ( ) const
finalvirtual

Check if constructor exited correctly, ie the instance is in a valid state.

Returns
true if there is a compiler instance available, false otherwise

Implements TInterpreter.

Definition at line 3149 of file TCling.cxx.

◆ IsVoidPointerType()

bool TCling::IsVoidPointerType ( const void * QualTypePtr) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9729 of file TCling.cxx.

◆ IsZombie()

Bool_t TObject::IsZombie ( ) const
inlineinherited

Definition at line 161 of file TObject.h.

◆ LazyFunctionCreatorAutoload()

void * TCling::LazyFunctionCreatorAutoload ( const std::string & mangled_name)

Autoload a library based on a missing symbol.

Definition at line 6708 of file TCling.cxx.

◆ LibraryLoaded()

void TCling::LibraryLoaded ( const void * dyLibHandle,
const char * canonicalName )

Definition at line 7102 of file TCling.cxx.

◆ LibraryLoadingFailed()

bool TCling::LibraryLoadingFailed ( const std::string & errmessage,
const std::string & libStem,
bool permanent,
bool resolved )

Definition at line 6685 of file TCling.cxx.

◆ LibraryUnloaded()

void TCling::LibraryUnloaded ( const void * dyLibHandle,
const char * canonicalName )

Definition at line 7109 of file TCling.cxx.

◆ Load()

Int_t TCling::Load ( const char * filename,
Bool_t system = kFALSE )
finalvirtual

Load a library file in cling's memory.

if 'system' is true, the library is never unloaded. Return 0 on success, -1 on failure.

Implements TInterpreter.

Definition at line 3604 of file TCling.cxx.

◆ LoadEnums()

void TCling::LoadEnums ( TListOfEnums & cl) const
finalvirtual

Create list of pointers to enums for TClass cl.

Implements TInterpreter.

Definition at line 4506 of file TCling.cxx.

◆ LoadFile()

int TCling::LoadFile ( const char * path) const
finalvirtual

Load a source file or library called path into the interpreter.

Reimplemented from TInterpreter.

Definition at line 7628 of file TCling.cxx.

◆ LoadFunctionTemplates()

void TCling::LoadFunctionTemplates ( TClass * cl) const
finalvirtual

Create list of pointers to function templates for TClass cl.

Implements TInterpreter.

Definition at line 4553 of file TCling.cxx.

◆ LoadLibraryMap()

Int_t TCling::LoadLibraryMap ( const char * rootmapfile = nullptr)
finalvirtual

Load map between class and library.

If rootmapfile is specified a specific rootmap file can be added (typically used by ACLiC). In case of error -1 is returned, 0 otherwise. The interpreter uses this information to automatically load the shared library for a class (autoload mechanism), see the AutoLoad() methods below.

Implements TInterpreter.

Definition at line 5852 of file TCling.cxx.

◆ LoadMacro()

void TCling::LoadMacro ( const char * filename,
EErrorCode * error = nullptr )
finalvirtual

Load a macro file in cling's memory.

Implements TInterpreter.

Definition at line 3641 of file TCling.cxx.

◆ LoadPCM()

void TCling::LoadPCM ( std::string pcmFileNameFullPath)
private

Tries to load a rdict PCM, issues diagnostics if it fails. The caller of this function should be holding the ROOT Write lock.

Definition at line 1861 of file TCling.cxx.

◆ LoadPCMImpl()

void TCling::LoadPCMImpl ( TFile & pcmFile)
private

Tries to load a PCM from TFile; returns true on success. The caller of this function should be holding the ROOT Write lock.

Definition at line 1745 of file TCling.cxx.

◆ LoadText()

Bool_t TCling::LoadText ( const char * text) const
finalvirtual

Load the declarations from text into the interpreter.

Note that this cannot be (top level) statements; text must contain top level declarations. Returns true on success, false on failure.

Reimplemented from TInterpreter.

Definition at line 7643 of file TCling.cxx.

◆ ls()

void TNamed::ls ( Option_t * option = "") const
overridevirtualinherited

List TNamed name and title.

Reimplemented from TObject.

Reimplemented in ROOT::Experimental::XRooFit::xRooBrowser, TNode, TROOT, TStreamerBase, TStreamerElement, TStreamerInfo, TStreamerSTL, TTask, TText, and TVirtualStreamerInfo.

Definition at line 112 of file TNamed.cxx.

◆ MakeInterpreterValue()

std::unique_ptr< TInterpreterValue > TCling::MakeInterpreterValue ( ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 7791 of file TCling.cxx.

◆ MakeZombie()

void TObject::MakeZombie ( )
inlineprotectedinherited

Definition at line 55 of file TObject.h.

◆ MapCppName()

const char * TCling::MapCppName ( const char * name) const
finalvirtual

Interface to cling function.

Reimplemented from TInterpreter.

Definition at line 7651 of file TCling.cxx.

◆ MayNotUse()

void TObject::MayNotUse ( const char * method) const
inherited

Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).

Definition at line 1160 of file TObject.cxx.

◆ MethodArgInfo_DefaultValue()

const char * TCling::MethodArgInfo_DefaultValue ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9438 of file TCling.cxx.

◆ MethodArgInfo_Delete()

void TCling::MethodArgInfo_Delete ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9383 of file TCling.cxx.

◆ MethodArgInfo_Factory() [1/2]

MethodArgInfo_t * TCling::MethodArgInfo_Factory ( ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9390 of file TCling.cxx.

◆ MethodArgInfo_Factory() [2/2]

MethodArgInfo_t * TCling::MethodArgInfo_Factory ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9398 of file TCling.cxx.

◆ MethodArgInfo_FactoryCopy()

MethodArgInfo_t * TCling::MethodArgInfo_FactoryCopy ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9406 of file TCling.cxx.

◆ MethodArgInfo_IsValid()

bool TCling::MethodArgInfo_IsValid ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9414 of file TCling.cxx.

◆ MethodArgInfo_Name()

const char * TCling::MethodArgInfo_Name ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9446 of file TCling.cxx.

◆ MethodArgInfo_Next()

int TCling::MethodArgInfo_Next ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9422 of file TCling.cxx.

◆ MethodArgInfo_Property()

Long_t TCling::MethodArgInfo_Property ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9430 of file TCling.cxx.

◆ MethodArgInfo_TypeInfo()

TypeInfo_t * TCling::MethodArgInfo_TypeInfo ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9470 of file TCling.cxx.

◆ MethodArgInfo_TypeName()

const char * TCling::MethodArgInfo_TypeName ( MethodArgInfo_t * marginfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9454 of file TCling.cxx.

◆ MethodArgInfo_TypeNormalizedName()

std::string TCling::MethodArgInfo_TypeNormalizedName ( MethodArgInfo_t * marginfo) const
finalvirtual

Implements TInterpreter.

Definition at line 9462 of file TCling.cxx.

◆ MethodCallReturnType()

auto TCling::MethodCallReturnType ( TFunction * func) const
finalvirtual

Implements TInterpreter.

Definition at line 9319 of file TCling.cxx.

◆ MethodInfo_CreateSignature()

void TCling::MethodInfo_CreateSignature ( MethodInfo_t * minfo,
TString & signature ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9151 of file TCling.cxx.

◆ MethodInfo_Delete()

void TCling::MethodInfo_Delete ( MethodInfo_t * minfo) const
finalvirtual

Interface to cling function.

Reimplemented from TInterpreter.

Definition at line 9144 of file TCling.cxx.

◆ MethodInfo_ExtraProperty()

Long_t TCling::MethodInfo_ExtraProperty ( MethodInfo_t * minfo) const
finalvirtual

Implements TInterpreter.

Definition at line 9242 of file TCling.cxx.

◆ MethodInfo_Factory() [1/3]

MethodInfo_t * TCling::MethodInfo_Factory ( ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9160 of file TCling.cxx.

◆ MethodInfo_Factory() [2/3]

MethodInfo_t * TCling::MethodInfo_Factory ( ClassInfo_t * clinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9168 of file TCling.cxx.

◆ MethodInfo_Factory() [3/3]

MethodInfo_t * TCling::MethodInfo_Factory ( DeclId_t declid) const
finalvirtual

Implements TInterpreter.

Definition at line 9176 of file TCling.cxx.

◆ MethodInfo_FactoryCopy()

MethodInfo_t * TCling::MethodInfo_FactoryCopy ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9185 of file TCling.cxx.

◆ MethodInfo_GetMangledName()

const char * TCling::MethodInfo_GetMangledName ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9260 of file TCling.cxx.

◆ MethodInfo_GetPrototype()

const char * TCling::MethodInfo_GetPrototype ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9271 of file TCling.cxx.

◆ MethodInfo_InterfaceMethod()

void * TCling::MethodInfo_InterfaceMethod ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9192 of file TCling.cxx.

◆ MethodInfo_IsValid()

bool TCling::MethodInfo_IsValid ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9201 of file TCling.cxx.

◆ MethodInfo_MethodCallReturnType()

auto TCling::MethodInfo_MethodCallReturnType ( MethodInfo_t * minfo) const
finalvirtual

Implements TInterpreter.

Definition at line 9330 of file TCling.cxx.

◆ MethodInfo_Name()

const char * TCling::MethodInfo_Name ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9280 of file TCling.cxx.

◆ MethodInfo_NArg()

int TCling::MethodInfo_NArg ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9209 of file TCling.cxx.

◆ MethodInfo_NDefaultArg()

int TCling::MethodInfo_NDefaultArg ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9217 of file TCling.cxx.

◆ MethodInfo_Next()

int TCling::MethodInfo_Next ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9225 of file TCling.cxx.

◆ MethodInfo_Property()

Long_t TCling::MethodInfo_Property ( MethodInfo_t * minfo) const
finalvirtual

Implements TInterpreter.

Definition at line 9233 of file TCling.cxx.

◆ MethodInfo_Title()

const char * TCling::MethodInfo_Title ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9310 of file TCling.cxx.

◆ MethodInfo_Type()

TypeInfo_t * TCling::MethodInfo_Type ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9251 of file TCling.cxx.

◆ MethodInfo_TypeName()

const char * TCling::MethodInfo_TypeName ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9289 of file TCling.cxx.

◆ MethodInfo_TypeNormalizedName()

std::string TCling::MethodInfo_TypeNormalizedName ( MethodInfo_t * minfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9298 of file TCling.cxx.

◆ Notify()

Bool_t TObject::Notify ( )
virtualinherited

This method must be overridden to handle object notification (the base implementation is no-op).

Different objects in ROOT use the Notify method for different purposes, in coordination with other objects that call this method at the appropriate time.

For example, TLeaf uses it to load class information; TBranchRef to load contents of referenced branches TBranchRef; most notably, based on Notify, TChain implements a callback mechanism to inform interested parties when it switches to a new sub-tree.

Reimplemented in h1analysis, h1analysisTreeReader, TARInterruptHandler, TASInputHandler, TASInterruptHandler, TASLogHandler, TASSigPipeHandler, TBlinkTimer, TBranchElement, TBranchRef, TBreakLineCom, TBrowserTimer, TCollection, TDelCharCom, TDelTextCom, TFileHandler, TGContainerKeyboardTimer, TGContainerScrollTimer, TGInputHandler, TGLRedrawTimer, TGTextEditHist, TGuiBldDragManagerRepeatTimer, TIdleTimer, TInsCharCom, TInsTextCom, TInterruptHandler, TLeafObject, TMessageHandler, TNotifyLink< Type >, TNotifyLink< RNoCleanupNotifierHelper >, TNotifyLink< ROOT::Detail::TBranchProxy >, TNotifyLink< TTreeReader >, TPopupDelayTimer, TProcessEventTimer, TRefTable, TRepeatTimer, TSBRepeatTimer, TSelector, TSelectorDraw, TSelectorEntries, TSignalHandler, TSingleShotCleaner, TSocketHandler, TStdExceptionHandler, TSysEvtHandler, TTermInputHandler, TThreadTimer, TTimeOutTimer, TTimer, TTipDelayTimer, TTree, TTreeFormula, TTreeFormulaManager, TTreeReader, TViewTimer, and TViewUpdateTimer.

Definition at line 618 of file TObject.cxx.

◆ Obsolete()

void TObject::Obsolete ( const char * method,
const char * asOfVers,
const char * removedFromVers ) const
inherited

Use this method to declare a method obsolete.

Specify as of which version the method is obsolete and as from which version it will be removed.

Definition at line 1169 of file TObject.cxx.

◆ operator delete() [1/3]

void TObject::operator delete ( void * ptr,
size_t size )
inherited

Operator delete for sized deallocation.

Definition at line 1234 of file TObject.cxx.

◆ operator delete() [2/3]

void TObject::operator delete ( void * ptr)
inherited

Operator delete.

Definition at line 1212 of file TObject.cxx.

◆ operator delete() [3/3]

void TObject::operator delete ( void * ptr,
void * vp )
inherited

Only called by placement new when throwing an exception.

Definition at line 1266 of file TObject.cxx.

◆ operator delete[]() [1/3]

void TObject::operator delete[] ( void * ptr,
size_t size )
inherited

Operator delete [] for sized deallocation.

Definition at line 1245 of file TObject.cxx.

◆ operator delete[]() [2/3]

void TObject::operator delete[] ( void * ptr)
inherited

Operator delete [].

Definition at line 1223 of file TObject.cxx.

◆ operator delete[]() [3/3]

void TObject::operator delete[] ( void * ptr,
void * vp )
inherited

Only called by placement new[] when throwing an exception.

Definition at line 1274 of file TObject.cxx.

◆ operator new() [1/2]

void * TObject::operator new ( size_t sz)
inlineinherited

Definition at line 189 of file TObject.h.

◆ operator new() [2/2]

void * TObject::operator new ( size_t sz,
void * vp )
inlineinherited

Definition at line 191 of file TObject.h.

◆ operator new[]() [1/2]

void * TObject::operator new[] ( size_t sz)
inlineinherited

Definition at line 190 of file TObject.h.

◆ operator new[]() [2/2]

void * TObject::operator new[] ( size_t sz,
void * vp )
inlineinherited

Definition at line 192 of file TObject.h.

◆ operator=()

TCling & TCling::operator= ( const TCling & )
privatedelete

◆ Paint()

void TObject::Paint ( Option_t * option = "")
virtualinherited

This method must be overridden if a class wants to paint itself.

The difference between Paint() and Draw() is that when a object draws itself it is added to the display list of the pad in which it is drawn (and automatically redrawn whenever the pad is redrawn). While paint just draws the object without adding it to the pad display list.

Reimplemented in ROOT::Experimental::RTreeMapPainter, ROOT::RGeoPainter, TAnnotation, TArrow, TASImage, TASPaletteEditor::LimitLine, TASPaletteEditor::PaintPalette, TAxis3D, TBits, TBox, TButton, TCanvas, TClassTree, TCollection, TColorWheel, TCrown, TDiamond, TDirectory, TEfficiency, TEllipse, TEveArrow, TEveCaloViz, TEveDigitSet, TEveGeoShape, TEveGeoTopNode, TEvePlot3D, TEvePointSet, TEveProjectionAxes, TEveScene, TEveShape, TEveStraightLineSet, TEveText, TEveTriangleSet, TExec, TF1, TF2, TF3, TFile, TFileDrawMap, TFrame, TGaxis, TGenerator, TGeoBoolNode, TGeoIntersection, TGeoNode, TGeoOverlap, TGeoPainter, TGeoPhysicalNode, TGeoShape, TGeoSubtraction, TGeoTrack, TGeoUnion, TGeoVGShape, TGeoVolume, TGL5DDataSet, TGLHistPainter, TGLParametricEquation, TGLTH3Composition, TGraph2D, TGraph2DPainter, TGraph, TGraphEdge, TGraphNode, TGraphPolargram, TGraphTime, TH1, THistPainter, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TNode, TNodeDiv, TPad, TPaletteAxis, TParallelCoord, TParallelCoordRange, TParallelCoordVar, TParticle, TPave, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TPrimary, TRatioPlot, TScatter2D, TScatter, TShape, TSpectrum2Painter, TSpider, TSpline, TSQLFile, TStyle, TText, TTreePerfStats, TVirtualGeoPainter, TVirtualGeoTrack, TVirtualHistPainter, TVirtualPad, TWbox, and TXMLFile.

Definition at line 631 of file TObject.cxx.

◆ Pop()

void TObject::Pop ( )
virtualinherited

Pop on object drawn in a pad to the top of the display list.

I.e. it will be drawn last and on top of all other primitives.

Reimplemented in TFrame, TPad, and TVirtualPad.

Definition at line 640 of file TObject.cxx.

◆ Print()

void TCling::Print ( Option_t * option = "") const
finalvirtual

Print information about the interpreter.

Parameters
[in]optionSelects the type of information to print.

List of currently support options:

  • autoparsed: Print the list of classes that triggered autoparsing.

Reimplemented from TObject.

Definition at line 2709 of file TCling.cxx.

◆ PrintIntro()

void TCling::PrintIntro ( )
finalvirtual

No-op; see TRint instead.

Implements TInterpreter.

Definition at line 2699 of file TCling.cxx.

◆ ProcessClassesToUpdate()

void TCling::ProcessClassesToUpdate ( )
private

Definition at line 2030 of file TCling.cxx.

◆ ProcessLine()

Longptr_t TCling::ProcessLine ( const char * line,
EErrorCode * error = nullptr )
finalvirtual

Implements TInterpreter.

Definition at line 2504 of file TCling.cxx.

◆ ProcessLineAsynch()

Longptr_t TCling::ProcessLineAsynch ( const char * line,
EErrorCode * error = nullptr )

Let cling process a command line asynch.

Definition at line 3649 of file TCling.cxx.

◆ ProcessLineSynch()

Longptr_t TCling::ProcessLineSynch ( const char * line,
EErrorCode * error = nullptr )
finalvirtual

Let cling process a command line synchronously, i.e we are waiting it will be finished.

Implements TInterpreter.

Definition at line 3658 of file TCling.cxx.

◆ Read()

Int_t TObject::Read ( const char * name)
virtualinherited

Read contents of object with specified name from the current directory.

First the key with the given name is searched in the current directory, next the key buffer is deserialized into the object. The object must have been created before via the default constructor. See TObject::Write().

Reimplemented in TBuffer, TKey, TKeySQL, and TKeyXML.

Definition at line 673 of file TObject.cxx.

◆ ReadRootmapFile()

int TCling::ReadRootmapFile ( const char * rootmapfile,
TUniqueString * uniqueString = nullptr )
private

Read and parse a rootmapfile in its new format, and return 0 in case of success, -1 if the file has already been read, and -3 in case its format is the old one (e.g.

containing "Library.ClassName"), -4 in case of syntax error.

Definition at line 5639 of file TCling.cxx.

◆ RecursiveRemove()

void TCling::RecursiveRemove ( TObject * obj)
finalvirtual

Delete object from cling symbol table so it can not be used anymore.

cling objects are always on the heap.

Reimplemented from TObject.

Definition at line 3772 of file TCling.cxx.

◆ RefreshClassInfo()

void TCling::RefreshClassInfo ( TClass * cl,
const clang::NamedDecl * def,
bool alias )

Internal function. Actually do the update of the ClassInfo when seeing.

Definition at line 6752 of file TCling.cxx.

◆ RegisterAutoLoadedLibrary()

void TCling::RegisterAutoLoadedLibrary ( const char * libname)
finalvirtual

Register that a library was autoloaded either to provide a 'missing' symbol or to provide a class (see TClass::GetClass and TROOT::LoadClass).

Implements TInterpreter.

Definition at line 3495 of file TCling.cxx.

◆ RegisterLoadedSharedLibrary()

void TCling::RegisterLoadedSharedLibrary ( const char * name)
private

Register a new shared library name with the interpreter; add it to fSharedLibs.

Definition at line 3504 of file TCling.cxx.

◆ RegisterModule()

void TCling::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 )
finalvirtual

Inject the module named "modulename" into cling; load all headers. headers is a 0-terminated array of header files to #include after loading the module. The module is searched for in all $LD_LIBRARY_PATH entries (or PATH% on Windows). This function gets called by the static initialization of dictionary libraries. The payload code is injected "as is" in the interpreter. The value of 'triggerFunc' is used to find the shared library location. The caller of this function should be holding the ROOT Write lock.

Implements TInterpreter.

Definition at line 2061 of file TCling.cxx.

◆ RegisterPrebuiltModulePath()

bool TCling::RegisterPrebuiltModulePath ( const std::string & FullPath,
const std::string & ModuleMapName = "module.modulemap" ) const
finalvirtual
Returns
true if the module map was loaded, false on error or if the map was already loaded.

Implements TInterpreter.

Definition at line 1956 of file TCling.cxx.

◆ RegisterRdictForLoadPCM()

void TCling::RegisterRdictForLoadPCM ( const std::string & pcmFileNameFullPath,
llvm::StringRef * pcmContent )
private

Register Rdict data for future loading by LoadPCM;.

Definition at line 1726 of file TCling.cxx.

◆ RegisterTClassUpdate()

void TCling::RegisterTClassUpdate ( TClass * oldcl,
DictFuncPtr_t dict )
finalvirtual

Register classes that already existed prior to their dictionary loading and that already had a ClassInfo (and thus would not be refresh via UpdateClassInfo.

Implements TInterpreter.

Definition at line 2435 of file TCling.cxx.

◆ RegisterTemporary() [1/2]

void TCling::RegisterTemporary ( const cling::Value & value)

Register value as a temporary, extending its lifetime to that of the interpreter.

This is needed for TCling's compatibility interfaces returning long - the address of the temporary objects. As such, "simple" types don't need to be stored; they are returned by value; only pointers / references / objects need to be stored.

Definition at line 7831 of file TCling.cxx.

◆ RegisterTemporary() [2/2]

void TCling::RegisterTemporary ( const TInterpreterValue & value)

Definition at line 7817 of file TCling.cxx.

◆ ReloadAllSharedLibraryMaps()

Int_t TCling::ReloadAllSharedLibraryMaps ( )
finalvirtual

Reload the library map entries coming from all the loaded shared libraries, after first unloading the current ones.

In case of error -1 is returned, 0 otherwise.

Implements TInterpreter.

Definition at line 6048 of file TCling.cxx.

◆ RemoveAndInvalidateObject()

template<typename List, typename Object>
void TCling::RemoveAndInvalidateObject ( List & L,
Object * O )
inlinestaticprivate

Definition at line 597 of file TCling.h.

◆ ReportDiagnosticsToErrorHandler()

void TCling::ReportDiagnosticsToErrorHandler ( bool = true)
finalvirtual

Report diagnostics to the ROOT error handler (see TError.h).

Reimplemented from TInterpreter.

Definition at line 7743 of file TCling.cxx.

◆ RescanLibraryMap()

Int_t TCling::RescanLibraryMap ( )
finalvirtual

Scan again along the dynamic path for library maps.

Entries for the loaded shared libraries are unloaded first. This can be useful after reseting the dynamic path through TSystem::SetDynamicPath() In case of error -1 is returned, 0 otherwise.

Implements TInterpreter.

Definition at line 6036 of file TCling.cxx.

◆ Reset()

void TCling::Reset ( )
finalvirtual

Pressing Ctrl+C should forward here.

In the case where we have had continuation requested we must reset it.

Implements TInterpreter.

Definition at line 3797 of file TCling.cxx.

◆ ResetAll()

void TCling::ResetAll ( )
finalvirtual

Reset the Cling state to its initial state.

Implements TInterpreter.

Definition at line 3813 of file TCling.cxx.

◆ ResetBit()

void TObject::ResetBit ( UInt_t f)
inlineinherited

Definition at line 203 of file TObject.h.

◆ ResetGlobals()

void TCling::ResetGlobals ( )
finalvirtual

Reset in Cling the list of global variables to the state saved by the last call to TCling::SaveGlobalsContext().

Note: Right now, all we do is run the global destructors.

Implements TInterpreter.

Definition at line 3829 of file TCling.cxx.

◆ ResetGlobalVar()

void TCling::ResetGlobalVar ( void * obj)
finalvirtual

Reset the Cling 'user' global objects/variables state to the state saved by the last call to TCling::SaveGlobalsContext().

Implements TInterpreter.

Definition at line 3843 of file TCling.cxx.

◆ RewindDictionary()

void TCling::RewindDictionary ( )
finalvirtual

Rewind Cling dictionary to the point where it was before executing the current macro.

This function is typically called after SEGV or ctlr-C after doing a longjmp back to the prompt.

Implements TInterpreter.

Definition at line 3858 of file TCling.cxx.

◆ RewindInterpreterMutex()

void * TCling::RewindInterpreterMutex ( )

Reset the interpreter lock to the state it had before interpreter-related calls happened.

Definition at line 9798 of file TCling.cxx.

◆ SaveAs()

void TObject::SaveAs ( const char * filename = "",
Option_t * option = "" ) const
virtualinherited

Save this object in the file specified by filename.

  • if "filename" contains ".root" the object is saved in filename as root binary file.
  • if "filename" contains ".xml" the object is saved in filename as a xml ascii file.
  • if "filename" contains ".cc" the object is saved in filename as C code independent from ROOT. The code is generated via SavePrimitive(). Specific code should be implemented in each object to handle this option. Like in TF1::SavePrimitive().
  • otherwise the object is written to filename as a CINT/C++ script. The C++ code to rebuild this object is generated via SavePrimitive(). The "option" parameter is passed to SavePrimitive. By default it is an empty string. It can be used to specify the Draw option in the code generated by SavePrimitive.

    The function is available via the object context menu.

Reimplemented in ROOT::Experimental::XRooFit::xRooNode, TClassTree, TFolder, TGeoVolume, TGObject, TGraph, TH1, TPad, TPaveClass, TSpline3, TSpline5, TSpline, TTreePerfStats, and TVirtualPad.

Definition at line 708 of file TObject.cxx.

◆ SaveContext()

void TCling::SaveContext ( )
finalvirtual

Save the current Cling state.

Implements TInterpreter.

Definition at line 3948 of file TCling.cxx.

◆ SaveGlobalsContext()

void TCling::SaveGlobalsContext ( )
finalvirtual

Save the current Cling state of global objects.

Implements TInterpreter.

Definition at line 3961 of file TCling.cxx.

◆ SavePrimitive()

void TObject::SavePrimitive ( std::ostream & out,
Option_t * option = "" )
virtualinherited

Save a primitive as a C++ statement(s) on output stream "out".

Reimplemented in TAnnotation, TArc, TArrow, TASImage, TAxis3D, TBox, TButton, TCanvas, TChain, TCrown, TCurlyArc, TCurlyLine, TCutG, TDiamond, TEfficiency, TEllipse, TExec, TF12, TF1, TF2, TF3, TFrame, TGaxis, TGButton, TGButtonGroup, TGCanvas, TGCheckButton, TGColorSelect, TGColumnLayout, TGComboBox, TGCompositeFrame, TGContainer, TGDockableFrame, TGDoubleHSlider, TGDoubleVSlider, TGedMarkerSelect, TGedPatternSelect, TGeoArb8, TGeoBBox, TGeoBoolNode, TGeoCombiTrans, TGeoCompositeShape, TGeoCone, TGeoConeSeg, TGeoCtub, TGeoDecayChannel, TGeoElementRN, TGeoEltu, TGeoGtra, TGeoHalfSpace, TGeoHMatrix, TGeoHype, TGeoIdentity, TGeoIntersection, TGeoMaterial, TGeoMedium, TGeoMixture, TGeoPara, TGeoParaboloid, TGeoPatternCylPhi, TGeoPatternCylR, TGeoPatternParaX, TGeoPatternParaY, TGeoPatternParaZ, TGeoPatternSphPhi, TGeoPatternSphR, TGeoPatternSphTheta, TGeoPatternTrapZ, TGeoPatternX, TGeoPatternY, TGeoPatternZ, TGeoPcon, TGeoPgon, TGeoRotation, TGeoScaledShape, TGeoShapeAssembly, TGeoSphere, TGeoSubtraction, TGeoTessellated, TGeoTorus, TGeoTranslation, TGeoTrap, TGeoTrd1, TGeoTrd2, TGeoTube, TGeoTubeSeg, TGeoUnion, TGeoVolume, TGeoXtru, TGFileContainer, TGFont, TGFrame, TGFSComboBox, TGGC, TGGroupFrame, TGHButtonGroup, TGHorizontal3DLine, TGHorizontalFrame, TGHorizontalLayout, TGHProgressBar, TGHScrollBar, TGHSlider, TGHSplitter, TGHtml, TGIcon, TGLabel, TGLayoutHints, TGLineStyleComboBox, TGLineWidthComboBox, TGListBox, TGListDetailsLayout, TGListLayout, TGListTree, TGListView, TGLVContainer, TGMainFrame, TGMatrixLayout, TGMdiFrame, TGMdiMainFrame, TGMdiMenuBar, TGMenuBar, TGMenuTitle, TGNumberEntry, TGNumberEntryField, TGPictureButton, TGPopupMenu, TGProgressBar, TGRadioButton, TGraph2D, TGraph2DAsymmErrors, TGraph2DErrors, TGraph, TGraphAsymmErrors, TGraphBentErrors, TGraphEdge, TGraphErrors, TGraphMultiErrors, TGraphNode, TGraphPolar, TGraphPolargram, TGraphStruct, TGroupButton, TGRowLayout, TGShapedFrame, TGShutter, TGShutterItem, TGSplitFrame, TGStatusBar, TGTab, TGTabLayout, TGTableLayout, TGTableLayoutHints, TGTextButton, TGTextEdit, TGTextEntry, TGTextLBEntry, TGTextView, TGTileLayout, TGToolBar, TGTransientFrame, TGTripleHSlider, TGTripleVSlider, TGVButtonGroup, TGVertical3DLine, TGVerticalFrame, TGVerticalLayout, TGVFileSplitter, TGVProgressBar, TGVScrollBar, TGVSlider, TGVSplitter, TGXYLayout, TGXYLayoutHints, TH1, TH2Poly, THelix, THStack, TLatex, TLegend, TLine, TMacro, TMarker3DBox, TMarker, TMathText, TMultiGraph, TPad, TPaletteAxis, TParallelCoord, TParallelCoordVar, TPave, TPaveClass, TPaveLabel, TPaveStats, TPavesText, TPaveText, TPie, TPieSlice, TPolyLine3D, TPolyLine, TPolyMarker3D, TPolyMarker, TProfile2D, TProfile3D, TProfile, TRootContainer, TRootEmbeddedCanvas, TScatter2D, TScatter, TSlider, TSliderBox, TSpline3, TSpline5, TStyle, TText, TTreePerfStats, and TWbox.

Definition at line 858 of file TObject.cxx.

◆ SavePrimitiveConstructor()

void TObject::SavePrimitiveConstructor ( std::ostream & out,
TClass * cl,
const char * variable_name,
const char * constructor_agrs = "",
Bool_t empty_line = kTRUE )
staticprotectedinherited

Save object constructor in the output stream "out".

Can be used as first statement when implementing SavePrimitive() method for the object

Definition at line 777 of file TObject.cxx.

◆ SavePrimitiveDraw()

void TObject::SavePrimitiveDraw ( std::ostream & out,
const char * variable_name,
Option_t * option = nullptr )
staticprotectedinherited

Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.

Definition at line 845 of file TObject.cxx.

◆ SavePrimitiveNameTitle()

void TNamed::SavePrimitiveNameTitle ( std::ostream & out,
const char * variable_name )
protectedinherited

Save object name and title into the output stream "out".

Definition at line 135 of file TNamed.cxx.

◆ SavePrimitiveVector()

TString TObject::SavePrimitiveVector ( std::ostream & out,
const char * prefix,
Int_t len,
Double_t * arr,
Int_t flag = 0 )
staticprotectedinherited

Save array in the output stream "out" as vector.

Create unique variable name based on prefix value Returns name of vector which can be used in constructor or in other places of C++ code If flag === kTRUE, just add empty line If flag === 111, check if array is empty and return nullptr or <vectorname>.data()

Definition at line 796 of file TObject.cxx.

◆ SetAlloclockfunc()

void TCling::SetAlloclockfunc ( void(*  )()) const
finalvirtual

[Place holder for Mutex Lock] Provide the interpreter with a way to acquire a lock used to protect critical section of its code (non-thread safe parts).

Reimplemented from TInterpreter.

Definition at line 7664 of file TCling.cxx.

◆ SetAllocunlockfunc()

void TCling::SetAllocunlockfunc ( void(*  )()) const
finalvirtual

[Place holder for Mutex Unlock] Provide the interpreter with a way to release a lock used to protect critical section of its code (non-thread safe parts).

Reimplemented from TInterpreter.

Definition at line 7674 of file TCling.cxx.

◆ SetAutoLoadCallBack()

void * TCling::SetAutoLoadCallBack ( void * cb)
inlinefinalvirtual

Reimplemented from TInterpreter.

Definition at line 201 of file TCling.h.

◆ SetBit() [1/2]

void TObject::SetBit ( UInt_t f)
inlineinherited

Definition at line 202 of file TObject.h.

◆ SetBit() [2/2]

void TObject::SetBit ( UInt_t f,
Bool_t set )
inherited

Set or unset the user status bits as specified in f.

Definition at line 888 of file TObject.cxx.

◆ SetClassAutoLoading()

int TCling::SetClassAutoLoading ( int autoload) const
finalvirtual

Enable/Disable the AutoLoading of libraries.

Returns the old value, i.e whether it was enabled or not.

Reimplemented from TInterpreter.

Definition at line 7695 of file TCling.cxx.

◆ SetClassAutoloading()

int TInterpreter::SetClassAutoloading ( int a) const
inlineinherited

Definition at line 267 of file TInterpreter.h.

◆ SetClassAutoparsing()

int TCling::SetClassAutoparsing ( int autoparse)
finalvirtual

Enable/Disable the Autoparsing of headers.

Returns the old value, i.e whether it was enabled or not.

Reimplemented from TInterpreter.

Definition at line 7713 of file TCling.cxx.

◆ SetClassInfo()

void TCling::SetClassInfo ( TClass * cl,
Bool_t reload = kFALSE,
Bool_t silent = kFALSE )
finalvirtual

Set pointer to the TClingClassInfo in TClass.

If 'reload' is true, (attempt to) generate a new ClassInfo even if we already have one.

Implements TInterpreter.

Definition at line 4147 of file TCling.cxx.

◆ SetClassSharedLibs()

Int_t TCling::SetClassSharedLibs ( const char * cls,
const char * libs )
finalvirtual

Register the AutoLoading information for a class.

libs is a space separated list of libraries.

Implements TInterpreter.

Definition at line 6189 of file TCling.cxx.

◆ SetDeclAttr()

void TCling::SetDeclAttr ( DeclId_t declId,
const char * attribute )
finalvirtual

Implements TInterpreter.

Definition at line 8863 of file TCling.cxx.

◆ SetDrawOption()

void TObject::SetDrawOption ( Option_t * option = "")
virtualinherited

Set drawing option for object.

This option only affects the drawing style and is stored in the option field of the TObjOptLink supporting a TPad's primitive list (TList). Note that it does not make sense to call object.SetDrawOption(option) before having called object.Draw().

Reimplemented in RooPlot, TAxis, TBrowser, TGedFrame, TGFrame, TPad, TPaveStats, TRootBrowserLite, TSystemDirectory, and TSystemFile.

Definition at line 871 of file TObject.cxx.

◆ SetDtorOnly()

void TObject::SetDtorOnly ( void * obj)
staticinherited

Set destructor only flag.

Definition at line 1204 of file TObject.cxx.

◆ SetErrmsgcallback()

void TCling::SetErrmsgcallback ( void * p) const
finalvirtual

Set a callback to receive error messages.

Reimplemented from TInterpreter.

Definition at line 7734 of file TCling.cxx.

◆ SetErrorMessages()

Bool_t TCling::SetErrorMessages ( Bool_t enable = kTRUE)
finalvirtual

If error messages are disabled, the interpreter should suppress its failures and warning messages from stdout.

Return the previous state.

Implements TInterpreter.

Definition at line 7484 of file TCling.cxx.

◆ SetGetline()

void TCling::SetGetline ( const char *(* getlineFunc )(const char *prompt),
void(* histaddFunc )(const char *line) )
finalvirtual

Set a getline function to call when input is needed.

Implements TInterpreter.

Definition at line 3737 of file TCling.cxx.

◆ SetName()

void TNamed::SetName ( const char * name)
virtualinherited

Set the name of the TNamed.

WARNING: if the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, ROOT::Experimental::XRooFit::xRooNode, TChain, TColor, TDirectory, TEfficiency, TEventList, TEveScene, TFormula, TGraph2D, TGraph, TH1, TNode, TRotMatrix, TShape, TSystemDirectory, TSystemFile, and TTree.

Definition at line 149 of file TNamed.cxx.

◆ SetNameTitle()

void TNamed::SetNameTitle ( const char * name,
const char * title )
virtualinherited

Set all the TNamed parameters (name and title).

WARNING: if the name is changed and the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented in RooAbsArg, RooAbsData, RooDataHist, RooDataSet, RooFitResult, RooPlot, TContextMenu, TGraph2D, TGraph, TH1, and TNode.

Definition at line 163 of file TNamed.cxx.

◆ SetObjectStat()

void TObject::SetObjectStat ( Bool_t stat)
staticinherited

Turn on/off tracking of objects in the TObjectTable.

Definition at line 1188 of file TObject.cxx.

◆ SetProcessLineLock()

void TCling::SetProcessLineLock ( Bool_t lock = kTRUE)
inlinefinalvirtual

Implements TInterpreter.

Definition at line 327 of file TCling.h.

◆ SetSuspendAutoParsing()

Bool_t TCling::SetSuspendAutoParsing ( Bool_t value)
finalprotectedvirtual

Suspend the Autoparsing of headers.

Returns the old value, i.e whether it was suspended or not.

Implements TInterpreter.

Definition at line 7724 of file TCling.cxx.

◆ SetTempLevel()

void TCling::SetTempLevel ( int val) const
finalvirtual

Create / close a scope for temporaries.

No-op for cling; use cling::Value instead.

Reimplemented from TInterpreter.

Definition at line 7770 of file TCling.cxx.

◆ SetTitle()

void TNamed::SetTitle ( const char * title = "")
virtualinherited

◆ SetUniqueID()

void TObject::SetUniqueID ( UInt_t uid)
virtualinherited

Set the unique object id.

Definition at line 899 of file TObject.cxx.

◆ ShallowAutoLoadImpl()

Int_t TCling::ShallowAutoLoadImpl ( const char * cls)
staticprivate

Definition at line 6267 of file TCling.cxx.

◆ ShutDown()

void TCling::ShutDown ( )
finalvirtual

Implements TInterpreter.

Definition at line 1703 of file TCling.cxx.

◆ Sizeof()

Int_t TNamed::Sizeof ( ) const
virtualinherited

Return size of the TNamed part of the TObject.

Reimplemented in TDirectory, TDirectoryFile, TFile, TKey, TSQLFile, and TXMLFile.

Definition at line 182 of file TNamed.cxx.

◆ SnapshotMutexState()

void TCling::SnapshotMutexState ( ROOT::TVirtualRWMutex * mtx)
finalvirtual

Implements TInterpreter.

Definition at line 9737 of file TCling.cxx.

◆ Streamer()

void TInterpreter::Streamer ( TBuffer & R__b)
overridevirtualinherited

Stream an object of class TObject.

Reimplemented from TObject.

◆ StreamerNVirtual()

void TInterpreter::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inlineinherited

Definition at line 566 of file TInterpreter.h.

◆ SysError()

void TObject::SysError ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue system error message.

Use "location" to specify the method where the system error occurred. Accepts standard printf formatting arguments.

Definition at line 1112 of file TObject.cxx.

◆ TestBit()

Bool_t TObject::TestBit ( UInt_t f) const
inlineinherited

Definition at line 204 of file TObject.h.

◆ TestBits()

Int_t TObject::TestBits ( UInt_t f) const
inlineinherited

Definition at line 205 of file TObject.h.

◆ ToString()

std::string TCling::ToString ( const char * type,
void * obj )
finalvirtual

Implements TInterpreter.

Definition at line 1058 of file TCling.cxx.

◆ TransactionRollback()

void TCling::TransactionRollback ( const cling::Transaction & T)

Definition at line 7079 of file TCling.cxx.

◆ TypedefInfo_Delete()

void TCling::TypedefInfo_Delete ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9584 of file TCling.cxx.

◆ TypedefInfo_Factory() [1/2]

TypedefInfo_t * TCling::TypedefInfo_Factory ( ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9591 of file TCling.cxx.

◆ TypedefInfo_Factory() [2/2]

TypedefInfo_t * TCling::TypedefInfo_Factory ( const char * name) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9599 of file TCling.cxx.

◆ TypedefInfo_FactoryCopy()

TypedefInfo_t * TCling::TypedefInfo_FactoryCopy ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9607 of file TCling.cxx.

◆ TypedefInfo_Init()

void TCling::TypedefInfo_Init ( TypedefInfo_t * tinfo,
const char * name ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9614 of file TCling.cxx.

◆ TypedefInfo_IsValid()

bool TCling::TypedefInfo_IsValid ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9624 of file TCling.cxx.

◆ TypedefInfo_Name()

const char * TCling::TypedefInfo_Name ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9664 of file TCling.cxx.

◆ TypedefInfo_Next()

Int_t TCling::TypedefInfo_Next ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9632 of file TCling.cxx.

◆ TypedefInfo_Property()

Long_t TCling::TypedefInfo_Property ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9640 of file TCling.cxx.

◆ TypedefInfo_Size()

int TCling::TypedefInfo_Size ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9648 of file TCling.cxx.

◆ TypedefInfo_Title()

const char * TCling::TypedefInfo_Title ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9672 of file TCling.cxx.

◆ TypedefInfo_TrueName()

const char * TCling::TypedefInfo_TrueName ( TypedefInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9656 of file TCling.cxx.

◆ TypeInfo_Delete()

void TCling::TypeInfo_Delete ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9483 of file TCling.cxx.

◆ TypeInfo_Factory() [1/2]

TypeInfo_t * TCling::TypeInfo_Factory ( ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9490 of file TCling.cxx.

◆ TypeInfo_Factory() [2/2]

TypeInfo_t * TCling::TypeInfo_Factory ( const char * name) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9498 of file TCling.cxx.

◆ TypeInfo_FactoryCopy()

TypeInfo_t * TCling::TypeInfo_FactoryCopy ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9506 of file TCling.cxx.

◆ TypeInfo_Init()

void TCling::TypeInfo_Init ( TypeInfo_t * tinfo,
const char * funcname ) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9513 of file TCling.cxx.

◆ TypeInfo_IsValid()

bool TCling::TypeInfo_IsValid ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9522 of file TCling.cxx.

◆ TypeInfo_Name()

const char * TCling::TypeInfo_Name ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9530 of file TCling.cxx.

◆ TypeInfo_Property()

Long_t TCling::TypeInfo_Property ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9538 of file TCling.cxx.

◆ TypeInfo_QualTypePtr()

void * TCling::TypeInfo_QualTypePtr ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9570 of file TCling.cxx.

◆ TypeInfo_RefType()

int TCling::TypeInfo_RefType ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9546 of file TCling.cxx.

◆ TypeInfo_Size()

int TCling::TypeInfo_Size ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9554 of file TCling.cxx.

◆ TypeInfo_TrueName()

const char * TCling::TypeInfo_TrueName ( TypeInfo_t * tinfo) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 9562 of file TCling.cxx.

◆ TypeName()

const char * TCling::TypeName ( const char * typeDesc)
finalvirtual

Return the absolute type of typeDesc.

E.g.: typeDesc = "class TNamed**", returns "TNamed". You need to use the result immediately before it is being overwritten.

Implements TInterpreter.

Definition at line 5589 of file TCling.cxx.

◆ UnloadAllSharedLibraryMaps()

Int_t TCling::UnloadAllSharedLibraryMaps ( )
finalvirtual

Unload the library map entries coming from all the loaded shared libraries.

Returns 0 if succesful

Implements TInterpreter.

Definition at line 6109 of file TCling.cxx.

◆ UnloadFile()

int TCling::UnloadFile ( const char * path) const
finalvirtual

Reimplemented from TInterpreter.

Definition at line 7776 of file TCling.cxx.

◆ UnloadLibraryMap()

Int_t TCling::UnloadLibraryMap ( const char * library)
finalvirtual

Unload library map entries coming from the specified library.

Returns -1 in case no entries for the specified library were found, 0 otherwise.

Implements TInterpreter.

Definition at line 6127 of file TCling.cxx.

◆ UnRegisterTClassUpdate()

void TCling::UnRegisterTClassUpdate ( const TClass * oldcl)
finalvirtual

If the dictionary is loaded, we can remove the class from the list (otherwise the class might be loaded twice).

Implements TInterpreter.

Definition at line 2444 of file TCling.cxx.

◆ UpdateAllCanvases()

void TCling::UpdateAllCanvases ( )
static

Update all canvases at end the terminal input command.

Definition at line 6883 of file TCling.cxx.

◆ UpdateClassInfo()

void TCling::UpdateClassInfo ( char * name,
Long_t tagnum )
static

No op: see TClingCallbacks.

Definition at line 6868 of file TCling.cxx.

◆ UpdateClassInfoWithDecl()

void TCling::UpdateClassInfoWithDecl ( const clang::NamedDecl * ND)

Internal function. Inform a TClass about its new TagDecl or NamespaceDecl.

Definition at line 6810 of file TCling.cxx.

◆ UpdateClassInfoWork()

void TCling::UpdateClassInfoWork ( const char * name)
static

Definition at line 6874 of file TCling.cxx.

◆ UpdateEnumConstants()

void TCling::UpdateEnumConstants ( TEnum * enumObj,
TClass * cl ) const
finalvirtual

Implements TInterpreter.

Definition at line 438 of file TCling.cxx.

◆ UpdateListOfDataMembers()

void TCling::UpdateListOfDataMembers ( TClass * cl) const

Update the list of pointers to data members for TClass cl This is now a nop.

The creation and updating is handled in TListOfDataMembers.

Definition at line 4627 of file TCling.cxx.

◆ UpdateListOfGlobalFunctions()

void TCling::UpdateListOfGlobalFunctions ( )
finalvirtual

No op: see TClingCallbacks (used to update the list of global functions).

Implements TInterpreter.

Definition at line 3981 of file TCling.cxx.

◆ UpdateListOfGlobals()

void TCling::UpdateListOfGlobals ( )
finalvirtual

No op: see TClingCallbacks (used to update the list of globals).

Implements TInterpreter.

Definition at line 3974 of file TCling.cxx.

◆ UpdateListOfLoadedSharedLibraries()

void TCling::UpdateListOfLoadedSharedLibraries ( )
private

Definition at line 3429 of file TCling.cxx.

◆ UpdateListOfMethods()

void TCling::UpdateListOfMethods ( TClass * cl) const
finalvirtual

Update the list of pointers to method for TClass cl This is now a nop.

The creation and updating is handled in TListOfFunctions.

Implements TInterpreter.

Definition at line 4618 of file TCling.cxx.

◆ UpdateListOfTypes()

void TCling::UpdateListOfTypes ( )
finalvirtual

No op: see TClingCallbacks (used to update the list of types).

Implements TInterpreter.

Definition at line 3988 of file TCling.cxx.

◆ UpdateListsOnCommitted()

void TCling::UpdateListsOnCommitted ( const cling::Transaction & T)

Definition at line 6894 of file TCling.cxx.

◆ UpdateListsOnUnloaded()

void TCling::UpdateListsOnUnloaded ( const cling::Transaction & T)

◆ UseCurrentStyle()

void TObject::UseCurrentStyle ( )
virtualinherited

Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.

Reimplemented in TAxis3D, TCanvas, TFrame, TGraph, TH1, TPad, TPaveStats, TPaveText, and TTree.

Definition at line 909 of file TObject.cxx.

◆ Warning()

void TObject::Warning ( const char * location,
const char * fmt,
... ) const
virtualinherited

Issue warning message.

Use "location" to specify the method where the warning occurred. Accepts standard printf formatting arguments.

Definition at line 1084 of file TObject.cxx.

◆ Write() [1/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 )
virtualinherited

Write this object to the current directory.

For more see the const version of this method.

Reimplemented in ROOT::TBufferMergerFile, TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 989 of file TObject.cxx.

◆ Write() [2/2]

Int_t TObject::Write ( const char * name = nullptr,
Int_t option = 0,
Int_t bufsize = 0 ) const
virtualinherited

Write this object to the current directory.

The data structure corresponding to this object is serialized. The corresponding buffer is written to the current directory with an associated key with name "name".

Writing an object to a file involves the following steps:

  • Creation of a support TKey object in the current directory. The TKey object creates a TBuffer object.
  • The TBuffer object is filled via the class::Streamer function.
  • If the file is compressed (default) a second buffer is created to hold the compressed buffer.
  • Reservation of the corresponding space in the file by looking in the TFree list of free blocks of the file.
  • The buffer is written to the file.

Bufsize can be given to force a given buffer size to write this object. By default, the buffersize will be taken from the average buffer size of all objects written to the current file so far.

If a name is specified, it will be the name of the key. If name is not given, the name of the key will be the name as returned by GetName().

The option can be a combination of: kSingleKey, kOverwrite or kWriteDelete Using the kOverwrite option a previous key with the same name is overwritten. The previous key is deleted before writing the new object. Using the kWriteDelete option a previous key with the same name is deleted only after the new object has been written. This option is safer than kOverwrite but it is slower. NOTE: Neither kOverwrite nor kWriteDelete reduces the size of a TFile– the space is simply freed up to be overwritten; in the case of a TTree, it is more complicated. If one opens a TTree, appends some entries, then writes it out, the behaviour is effectively the same. If, however, one creates a new TTree and writes it out in this way, only the metadata is replaced, effectively making the old data invisible without deleting it. TTree::Delete() can be used to mark all disk space occupied by a TTree as free before overwriting its metadata this way. The kSingleKey option is only used by TCollection::Write() to write a container with a single key instead of each object in the container with its own key.

An object is read from the file into memory via TKey::Read() or via TObject::Read().

The function returns the total number of bytes written to the file. It returns 0 if the object cannot be written.

Reimplemented in TBuffer, TCollection, TDirectory, TDirectoryFile, TFile, TMap, TParallelMergingFile, TSQLFile, TTree, and TXMLFile.

Definition at line 964 of file TObject.cxx.

◆ TCling__GetInterpreter

cling::Interpreter * TCling__GetInterpreter ( )
friend

Definition at line 50 of file rootclingTCling.cxx.

◆ TCling__RegisterRdictForLoadPCM

void TCling__RegisterRdictForLoadPCM ( const std::string & pcmFileNameFullPath,
llvm::StringRef * pcmContent )
friend

Definition at line 605 of file TCling.cxx.

Member Data Documentation

◆ fAutoLoadCallBack

void* TCling::fAutoLoadCallBack
private

Definition at line 149 of file TCling.h.

◆ fAutoLoadedLibraries

std::set<std::string> TCling::fAutoLoadedLibraries
private

Definition at line 125 of file TCling.h.

◆ fAutoLoadLibStorage

std::vector<std::string> TCling::fAutoLoadLibStorage
private

Definition at line 118 of file TCling.h.

◆ fAutoParseClasses

std::set<std::string> TCling::fAutoParseClasses
private

Definition at line 124 of file TCling.h.

◆ fBits

UInt_t TObject::fBits
privateinherited

bit field status word

Definition at line 47 of file TObject.h.

◆ fClassesHeadersMap

std::map<size_t,std::vector<const char*> > TCling::fClassesHeadersMap
private

Definition at line 119 of file TCling.h.

◆ fClassesToUpdate

std::vector<std::pair<TClass*,DictFuncPtr_t> > TCling::fClassesToUpdate
private

Definition at line 148 of file TCling.h.

◆ fClingCallbacks

TClingCallbacks* TCling::fClingCallbacks
private

Definition at line 141 of file TCling.h.

◆ fCurExecutingMacros

std::vector<const char*> TCling::fCurExecutingMacros
private

Definition at line 151 of file TCling.h.

◆ fCxxModulesEnabled

Bool_t TCling::fCxxModulesEnabled
private

Definition at line 130 of file TCling.h.

◆ fExitCode

Int_t TCling::fExitCode
private

Definition at line 109 of file TCling.h.

◆ fgDtorOnly

Longptr_t TObject::fgDtorOnly = 0
staticprivateinherited

object for which to call dtor only (i.e. no delete)

Definition at line 49 of file TObject.h.

◆ fGlobalsListSerial

Int_t TCling::fGlobalsListSerial
private

Definition at line 114 of file TCling.h.

◆ fgObjectStat

Bool_t TObject::fgObjectStat = kTRUE
staticprivateinherited

if true keep track of objects in TObjectTable

Definition at line 50 of file TObject.h.

◆ fgSetOfSpecials

void * TCling::fgSetOfSpecials = nullptr
staticprivate

Definition at line 105 of file TCling.h.

◆ fHeaderParsingOnDemand

Bool_t TCling::fHeaderParsingOnDemand
private

Definition at line 183 of file TCling.h.

◆ fIncludePath

TString TCling::fIncludePath
private

Definition at line 115 of file TCling.h.

◆ fInitialMutex

MutexStateAndRecurseCount TCling::fInitialMutex
private

Definition at line 176 of file TCling.h.

◆ fInterpreter

std::unique_ptr<cling::Interpreter> TCling::fInterpreter
private

Definition at line 132 of file TCling.h.

◆ fIsAutoParsingSuspended

Bool_t TCling::fIsAutoParsingSuspended
private

Definition at line 184 of file TCling.h.

◆ fIsShuttingDown

bool TCling::fIsShuttingDown = false
private

Definition at line 189 of file TCling.h.

◆ fLockProcessLine

Bool_t TCling::fLockProcessLine
private

Definition at line 129 of file TCling.h.

◆ fLookedUpClasses

std::set<size_t> TCling::fLookedUpClasses
private

Definition at line 121 of file TCling.h.

◆ fLookupHelper

ROOT::TMetaUtils::TClingLookupHelper* TCling::fLookupHelper
private

Definition at line 137 of file TCling.h.

◆ fMapfile

TEnv* TCling::fMapfile
private

Definition at line 117 of file TCling.h.

◆ fMetaProcessor

std::unique_ptr<cling::MetaProcessor> TCling::fMetaProcessor
private

Definition at line 133 of file TCling.h.

◆ fModTClasses

std::set<TClass*> TCling::fModTClasses
private

Definition at line 147 of file TCling.h.

◆ fName

TString TNamed::fName
protectedinherited

Definition at line 32 of file TNamed.h.

◆ fNormalizedCtxt

ROOT::TMetaUtils::TNormalizedCtxt* TCling::fNormalizedCtxt
private

Definition at line 136 of file TCling.h.

◆ fNSFromRootmaps

std::unordered_set<const clang::NamespaceDecl*> TCling::fNSFromRootmaps
private

Definition at line 127 of file TCling.h.

◆ fParsedPayloadsAddresses

std::set<const char*> TCling::fParsedPayloadsAddresses
private

Definition at line 123 of file TCling.h.

◆ fPayloads

std::set<size_t> TCling::fPayloads
private

Definition at line 122 of file TCling.h.

◆ fPendingRdicts

std::map<std::string, llvm::StringRef> TCling::fPendingRdicts
private

Definition at line 640 of file TCling.h.

◆ fPrevLoadedDynLibInfo

void* TCling::fPrevLoadedDynLibInfo
private

Definition at line 139 of file TCling.h.

◆ fPrompt

char TCling::fPrompt[64]
private

Definition at line 110 of file TCling.h.

◆ fRegisterModuleDyLibs

std::vector<void*> TCling::fRegisterModuleDyLibs
private

Definition at line 140 of file TCling.h.

◆ fRootmapFiles

TObjArray* TCling::fRootmapFiles
private

Definition at line 128 of file TCling.h.

◆ fRootmapLoadPath

TString TCling::fRootmapLoadPath
private

Definition at line 116 of file TCling.h.

◆ fSharedLibs

TString TCling::fSharedLibs
private

Definition at line 113 of file TCling.h.

◆ fSpecialObjectMaps

std::map<SpecialObjectLookupCtx_t, SpecialObjectMap_t> TCling::fSpecialObjectMaps
private

Definition at line 155 of file TCling.h.

◆ fStringHashFunction

std::hash<std::string> TCling::fStringHashFunction
private

Definition at line 126 of file TCling.h.

◆ fTemporaries

std::vector<cling::Value>* TCling::fTemporaries
private

Definition at line 135 of file TCling.h.

◆ fTitle

TString TNamed::fTitle
protectedinherited

Definition at line 33 of file TNamed.h.

◆ fTransactionCount

ULong64_t TCling::fTransactionCount
private

Definition at line 150 of file TCling.h.

◆ fTransactionHeadersMap

std::map<const cling::Transaction*,size_t> TCling::fTransactionHeadersMap
private

Definition at line 120 of file TCling.h.

◆ fUniqueID

UInt_t TObject::fUniqueID
privateinherited

object unique identifier

Definition at line 46 of file TObject.h.

◆ kNullArgv

const char* TCling::kNullArgv[] = {nullptr}
staticconstexprprivate

Definition at line 187 of file TCling.h.


The documentation for this class was generated from the following files: