This class defines an interface to the cling C++ interpreter.
Cling is a full ANSI compliant C++-11 interpreter based on clang/LLVM technology.
Classes | |
struct | CharPtrCmp_t |
struct | MutexStateAndRecurseCount |
struct | MutexStateAndRecurseCountDelta |
class | SuspendAutoLoadingRAII |
class | TUniqueString |
Public Member Functions | |
TCling (const char *name, const char *title, const char *const argv[], void *interpLibHandle) | |
Initialize the cling interpreter interface. | |
virtual | ~TCling () |
Destroy the interpreter interface. | |
virtual 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. | |
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 |
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_SetArgArray (CallFunc_t *func, Longptr_t *paramArr, Int_t nparam) const final |
void | CallFunc_SetArgs (CallFunc_t *func, const char *param) const final |
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 ... | |
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 |
void | ClearFileBusy () final |
Reset the interpreter internal state in case a previous action was not correctly terminated. | |
void | ClearStack () final |
Delete existing temporary values. | |
void | CodeComplete (const std::string &, size_t &, std::vector< std::string > &) final |
The call to Cling's tab complition. | |
TEnum * | CreateEnum (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. | |
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. | |
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. | |
void | EndOfLineAction () final |
It calls a "fantom" method to synchronize user keyboard input and ROOT prompt line. | |
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). | |
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 |
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). | |
TClass * | GenerateTClass (ClassInfo_t *classinfo, Bool_t silent=kFALSE) final |
Generate a TClass for the given class. | |
TClass * | GenerateTClass (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 |
TClass * | GetClass (const std::type_info &typeinfo, Bool_t load) const final |
Demangle the name (from the typeinfo) and then request the class via the usual name based interface (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. | |
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. | |
virtual 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. | |
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. | |
TEnv * | GetMapfile () 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 \ (backslash-newline) | |
const ROOT::TMetaUtils::TNormalizedCtxt & | GetNormalizedContext () const |
TObject * | GetObjectAddress (const char *Name, void *&LookupCtx) |
If the interpreter encounters Name, check whether that is an object ROOT could retrieve. | |
char * | GetPrompt () final |
TObjArray * | GetRootMapFiles () 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. | |
virtual const char * | GetSTLIncludePath () const final |
Return the directory containing CINT's stl cintdlls. | |
const char * | GetTopLevelMacroName () const final |
Return the file name of the current un-included interpreted file. | |
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) |
Bool_t | HasPCMForLibrary (const char *libname) const final |
Return true if ROOT has cxxmodules pcm for a given library name. | |
virtual void | Initialize () final |
Initialize the interpreter, once TROOT::fInterpreter is set. | |
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 cached TCling information for the given global declaration. | |
Bool_t | IsAutoLoadNamespaceCandidate (const clang::NamespaceDecl *nsDecl) |
Bool_t | IsAutoParsingSuspended () const final |
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 |
bool | IsIntegerType (const void *QualTypePtr) const |
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 | IsPointerType (const void *QualTypePtr) const |
Bool_t | IsProcessLineLocked () const final |
bool | IsSameType (const void *QualTypePtr1, const void *QualTypePtr2) const |
bool | IsSignedIntegerType (const void *QualTypePtr) const |
bool | IsUnsignedIntegerType (const void *QualTypePtr) const |
bool | IsValid () const final |
Check if constructor exited correctly, ie the instance is in a valid state. | |
bool | IsVoidPointerType (const void *QualTypePtr) 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. | |
virtual 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. | |
std::unique_ptr< TInterpreterValue > | MakeInterpreterValue () const final |
const char * | MapCppName (const char *) const final |
Interface to cling function. | |
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 |
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 |
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. | |
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 | 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. | |
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 | 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. | |
void | SaveContext () final |
Save the current Cling state. | |
void | SaveGlobalsContext () final |
Save the current Cling state of global objects. | |
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 |
int | SetClassAutoLoading (int) const final |
Enable/Disable the AutoLoading of libraries. | |
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 |
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. | |
void | SetProcessLineLock (Bool_t lock=kTRUE) final |
void | SetTempLevel (int val) const final |
Create / close a scope for temporaries. | |
virtual void | ShutDown () final |
void | SnapshotMutexState (ROOT::TVirtualRWMutex *mtx) final |
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 |
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) |
Invalidate stored TCling state for declarations included in transaction ‘T’. | |
![]() | |
TInterpreter () | |
TInterpreter (const char *name, const char *title="Generic Interpreter") | |
TInterpreter ctor only called by derived classes. | |
virtual | ~TInterpreter () |
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_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 ¶m) const |
template<typename... T> | |
void | CallFunc_SetArguments (CallFunc_t *func, const T &... args) |
TInterpreterValue * | CreateTemporary () const |
The created temporary must be deleted by the caller. | |
TClass * | IsA () const override |
int | SetClassAutoloading (int a) const |
void | Streamer (TBuffer &) override |
Stream an object of class TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
![]() | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed copy ctor. | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
TNamed destructor. | |
void | Clear (Option_t *option="") override |
Set name and title to empty strings (""). | |
TObject * | Clone (const char *newname="") const override |
Make a clone of an object using the Streamer facility. | |
Int_t | Compare (const TObject *obj) const override |
Compare two TNamed objects. | |
void | Copy (TObject &named) const override |
Copy this to obj. | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. | |
const char * | GetName () const override |
Returns name of object. | |
const char * | GetTitle () const override |
Returns title of object. | |
ULong_t | Hash () const override |
Return hash value for this object. | |
TClass * | IsA () const override |
Bool_t | IsSortable () const override |
void | ls (Option_t *option="") const override |
List TNamed name and title. | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. | |
void | Print (Option_t *option="") const override |
Print TNamed name and title. | |
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). | |
virtual void | SetTitle (const char *title="") |
Set the title of the TNamed. | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. | |
void | Streamer (TBuffer &) override |
Stream an object of class TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
![]() | |
TObject () | |
TObject constructor. | |
TObject (const TObject &object) | |
TObject copy ctor. | |
virtual | ~TObject () |
TObject destructor. | |
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. | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. | |
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. | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. | |
virtual void | Delete (Option_t *option="") |
Delete this object. | |
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 TObject * | DrawClone (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. | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. | |
virtual const char * | GetIconName () const |
Returns mime type name of object. | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). | |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. | |
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. | |
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. | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. | |
void | InvertBit (UInt_t f) |
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). | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
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). | |
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 *ptr) |
Operator delete. | |
void | operator delete (void *ptr, void *vp) |
Only called by placement new when throwing an exception. | |
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) |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. | |
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. | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". | |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. | |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
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 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) |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static TInterpreter * | Instance () |
returns gInterpreter global | |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
static TClass * | Class () |
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 void | SetDtorOnly (void *obj) |
Set destructor only flag. | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. | |
Protected Member Functions | |
Bool_t | SetSuspendAutoParsing (Bool_t value) final |
Suspend the Autoparsing of headers. | |
![]() | |
void | SavePrimitiveNameTitle (std::ostream &out, const char *variable_name) |
Save object name and title into the output stream "out". | |
![]() | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). | |
void | MakeZombie () |
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. | |
void | LoadPCMImpl (TFile &pcmFile) |
Tries to load a PCM from TFile; returns true on success. | |
TCling & | operator= (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 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) |
Static Private Attributes | |
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) |
Additional Inherited Members | |
![]() | |
typedef int(* | AutoLoadCallBack_t) (const char *) |
typedef TDictionary::DeclId_t | DeclId_t |
enum | ECheckClassInfo { kUnknown = 0 , kKnown = 1 , kWithClassDefInline = 2 } |
enum | EErrorCode { kNoError = 0 , kRecoverable = 1 , kDangerous = 2 , kFatal = 3 , kProcessing = 99 } |
enum class | EReturnType { kLong , kDouble , kString , kOther , kNoReturnType } |
typedef std::vector< std::pair< std::string, int > > | FwdDeclArgsToKeepCollection_t |
typedef class std::map< std::string, std::string > | MembersMap_t |
![]() | |
enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
enum | { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) } |
enum | EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) } |
enum | EStatusBits { kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) , kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 )) } |
![]() | |
enum | { kOnlyPrepStep = (1ULL << ( 3 )) } |
![]() | |
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, Bool_t empty_line=kFALSE) |
Save array in the output stream "out" as vector. | |
![]() | |
TString | fName |
TString | fTitle |
#include </github/home/ROOT-CI/src/core/metacling/src/TCling.h>
|
private |
|
private |
|
virtual |
Destroy the interpreter interface.
Definition at line 1629 of file TCling.cxx.
TCling::TCling | ( | const char * | name, |
const char * | title, | ||
const char *const | argv[], | ||
void * | interpLibHandle ) |
Initialize the cling interpreter interface.
name | name for TInterpreter |
title | title 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 . |
interpLibHandle | handle to interpreter library |
Definition at line 1340 of file TCling.cxx.
|
private |
|
finalvirtual |
Implements TInterpreter.
Definition at line 2371 of file TCling.cxx.
|
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 7802 of file TCling.cxx.
|
finalvirtual |
Add a directory to the list of directories in which the interpreter looks for include files.
[in] | path | The path to the directory. |
-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 2675 of file TCling.cxx.
void TCling::ApplyToInterpreterMutex | ( | void * | delta | ) |
Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused.
Definition at line 9661 of file TCling.cxx.
Load library containing the specified class.
Returns 0 in case of error and 1 in case if success.
Implements TInterpreter.
Definition at line 6289 of file TCling.cxx.
|
finalvirtual |
Load library containing the specified class.
Returns 0 in case of error and 1 in case if success.
Implements TInterpreter.
Definition at line 6148 of file TCling.cxx.
Parse the headers relative to the class Returns 1 in case of success, 0 in case of failure.
Implements TInterpreter.
Definition at line 6547 of file TCling.cxx.
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 6405 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8572 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8500 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8516 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8507 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8588 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8598 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8527 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8535 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8543 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8564 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8580 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8606 of file TCling.cxx.
|
finalvirtual |
Directly execute an executable statement (e.g.
"func()", "3+5", etc. however not declarations, like "Int_t x;").
Implements TInterpreter.
Definition at line 3609 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7878 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7885 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7893 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7936 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7920 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7928 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7909 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7901 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7944 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7952 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7959 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8147 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7993 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7967 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7975 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7984 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8001 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8033 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8025 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8041 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8009 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8049 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8017 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8057 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8065 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8082 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8073 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8090 of file TCling.cxx.
|
finalvirtual |
Interface to cling function.
Reimplemented from TInterpreter.
Definition at line 8110 of file TCling.cxx.
|
finalvirtual |
Interface to cling function.
Reimplemented from TInterpreter.
Definition at line 8100 of file TCling.cxx.
|
finalvirtual |
|
finalvirtual |
|
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 4201 of file TCling.cxx.
Return true if there is a class template by the given name ...
Implements TInterpreter.
Definition at line 4373 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8211 of file TCling.cxx.
|
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 8166 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8219 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8226 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8234 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8242 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8250 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8258 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8265 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8271 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8451 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8459 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8551 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8280 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8346 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8288 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8296 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8304 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8313 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8322 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 8330 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8355 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8337 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8363 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8379 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8371 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8469 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8395 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8403 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8411 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8419 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8387 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8427 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8435 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8443 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8477 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8485 of file TCling.cxx.
|
finalvirtual |
Reset the interpreter internal state in case a previous action was not correctly terminated.
Implements TInterpreter.
Definition at line 3101 of file TCling.cxx.
|
finalvirtual |
Delete existing temporary values.
Implements TInterpreter.
Definition at line 3109 of file TCling.cxx.
|
finalvirtual |
The call to Cling's tab complition.
Reimplemented from TInterpreter.
Definition at line 7705 of file TCling.cxx.
Implements TInterpreter.
Definition at line 471 of file TCling.cxx.
|
finalvirtual |
Create list of pointers to base class(es) for TClass cl.
Implements TInterpreter.
Definition at line 4395 of file TCling.cxx.
|
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 4513 of file TCling.cxx.
|
finalvirtual |
Create list of pointers to method arguments for TMethod m.
Implements TInterpreter.
Definition at line 4547 of file TCling.cxx.
|
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 4522 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8619 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8627 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8634 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 8643 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8653 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8661 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8669 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8733 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8677 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8685 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8693 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8741 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8717 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8701 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8709 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8725 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 8749 of file TCling.cxx.
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 3122 of file TCling.cxx.
|
staticprivate |
Definition at line 6228 of file TCling.cxx.
|
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 3807 of file TCling.cxx.
Undeclare obj called name.
Returns 1 in case of success, 0 for failure.
Implements TInterpreter.
Definition at line 3822 of file TCling.cxx.
Implements TInterpreter.
Definition at line 2455 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 7445 of file TCling.cxx.
Interface to cling function.
Reimplemented from TInterpreter.
Definition at line 7454 of file TCling.cxx.
|
finalvirtual |
It calls a "fantom" method to synchronize user keyboard input and ROOT prompt line.
Implements TInterpreter.
Definition at line 3145 of file TCling.cxx.
|
finalvirtual |
Get the interpreter value corresponding to the statement.
Reimplemented from TInterpreter.
Definition at line 7713 of file TCling.cxx.
|
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 5257 of file TCling.cxx.
|
inlinefinalprivatevirtual |
Execute method on this object with parameters stored in the TObjArray.
The TObjArray should contain an argv vector like:
Implements TInterpreter.
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 5281 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 5301 of file TCling.cxx.
|
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 5315 of file TCling.cxx.
|
finalvirtual |
|
finalvirtual |
Implements TInterpreter.
Definition at line 5409 of file TCling.cxx.
|
finalvirtual |
Interface to cling function.
Reimplemented from TInterpreter.
Definition at line 7483 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 9645 of file TCling.cxx.
|
finalvirtual |
|
finalvirtual |
Return the property not already defined in Property See TDictionary's EFunctionProperty.
Implements TInterpreter.
Definition at line 8966 of file TCling.cxx.
|
finalvirtual |
|
finalvirtual |
|
finalvirtual |
Check validity of a FuncTempInfo_t.
Implements TInterpreter.
Definition at line 8872 of file TCling.cxx.
|
finalvirtual |
Return the name of this function template.
Implements TInterpreter.
Definition at line 8992 of file TCling.cxx.
|
finalvirtual |
Return the property of the function template.
Implements TInterpreter.
Definition at line 8905 of file TCling.cxx.
|
finalvirtual |
Return the number of required template arguments of the function template described by ft_info.
Implements TInterpreter.
Definition at line 8895 of file TCling.cxx.
|
finalvirtual |
Return the maximum number of template arguments of the function template described by ft_info.
Implements TInterpreter.
Definition at line 8884 of file TCling.cxx.
|
finalvirtual |
Return the comments associates with this function template.
Implements TInterpreter.
Definition at line 9005 of file TCling.cxx.
|
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:
or
Implements TInterpreter.
Definition at line 4747 of file TCling.cxx.
|
finalvirtual |
Generate a TClass for the given class.
Implements TInterpreter.
Definition at line 4690 of file TCling.cxx.
|
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 4578 of file TCling.cxx.
|
finalvirtual |
Let the interpreter issue a generic error, and set its error state.
Reimplemented from TInterpreter.
Definition at line 7492 of file TCling.cxx.
|
inlinefinalvirtual |
Reimplemented from TInterpreter.
Demangle the name (from the typeinfo) and then request the class via the usual name based interface (TClass::GetClass).
Implements TInterpreter.
Definition at line 6134 of file TCling.cxx.
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.
cls | the name of the class |
skipCore | if true (default), remove "Core" from the returned list |
Implements TInterpreter.
Definition at line 7130 of file TCling.cxx.
|
finalvirtual |
Return the file name of the currently interpreted file, included or not.
Example to illustrate the difference between GetCurrentMacroName() and GetTopLevelMacroName():
Running mymacro.C will print:
In mymacro.C
Now calling inclfile... In inclfile.h
Reimplemented from TInterpreter.
Definition at line 5487 of file TCling.cxx.
|
finalvirtual |
Return pointer to cling Decl of global/static variable that is located at the address given by addr.
Implements TInterpreter.
Definition at line 4795 of file TCling.cxx.
|
finalvirtual |
Return pointer to cling DeclId for a data member with a given name.
Implements TInterpreter.
Definition at line 4974 of file TCling.cxx.
|
finalvirtual |
|
finalvirtual |
Return a unique identifier of the declaration represented by the CallFunc.
Implements TInterpreter.
Definition at line 7823 of file TCling.cxx.
|
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 7835 of file TCling.cxx.
|
private |
Return pointer to cling DeclId for a global value.
Definition at line 4896 of file TCling.cxx.
|
finalvirtual |
Return a unique identifier of the declaration represented by the MethodInfo.
Implements TInterpreter.
Definition at line 7845 of file TCling.cxx.
|
finalvirtual |
Return a unique identifier of the declaration represented by the FuncTempInfo.
Implements TInterpreter.
Definition at line 8833 of file TCling.cxx.
|
finalvirtual |
Return a unique identifier of the declaration represented by the MethodInfo.
Implements TInterpreter.
Definition at line 7855 of file TCling.cxx.
|
finalvirtual |
Return a unique identifier of the declaration represented by the TypedefInfo.
Implements TInterpreter.
Definition at line 7865 of file TCling.cxx.
|
finalvirtual |
Return pointer to cling Decl of global/static variable that is located at the address given by addr.
Implements TInterpreter.
Definition at line 4856 of file TCling.cxx.
|
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 7514 of file TCling.cxx.
|
inlinefinalvirtual |
Implements TInterpreter.
|
finalvirtual |
Return pointer to cling interface function for a method of a class with a certain name.
Implements TInterpreter.
Definition at line 5053 of file TCling.cxx.
|
virtual |
Definition at line 8796 of file TCling.cxx.
|
finalvirtual |
Insert overloads of name in cl to res.
Implements TInterpreter.
Definition at line 5072 of file TCling.cxx.
|
finalvirtual |
Return pointer to cling interface function for a method of a class with a certain name.
Implements TInterpreter.
Definition at line 5201 of file TCling.cxx.
|
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 5179 of file TCling.cxx.
|
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 5157 of file TCling.cxx.
|
finalvirtual |
Refresh the list of include paths known to the interpreter and return it with -I prepended.
Implements TInterpreter.
Definition at line 7405 of file TCling.cxx.
|
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 5031 of file TCling.cxx.
|
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 5134 of file TCling.cxx.
|
inlineprivate |
|
inlinefinalvirtual |
Implements TInterpreter.
|
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 5224 of file TCling.cxx.
|
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 4986 of file TCling.cxx.
|
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 5013 of file TCling.cxx.
|
inlinefinalvirtual |
Reimplemented from TInterpreter.
|
inlineprivate |
|
finalvirtual |
Return whether we are waiting for more input either because the collected input contains unbalanced braces or last seen token was a \
(backslash-newline)
Implements TInterpreter.
Definition at line 4568 of file TCling.cxx.
|
inline |
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 7749 of file TCling.cxx.
|
inlinefinalvirtual |
Implements TInterpreter.
|
inlinefinalvirtual |
Implements TInterpreter.
|
finalvirtual |
Interface to cling function.
Reimplemented from TInterpreter.
Definition at line 7522 of file TCling.cxx.
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 7324 of file TCling.cxx.
|
finalvirtual |
Return the list of shared libraries loaded into the process.
Implements TInterpreter.
Definition at line 7024 of file TCling.cxx.
|
finalvirtual |
Return the directory containing CINT's stl cintdlls.
Reimplemented from TInterpreter.
Definition at line 7436 of file TCling.cxx.
|
finalvirtual |
Return the file name of the current un-included interpreted file.
See the documentation for GetCurrentMacroName().
Reimplemented from TInterpreter.
Definition at line 5440 of file TCling.cxx.
|
finalvirtual |
Get the scopes representing using declarations of namespace.
Implements TInterpreter.
Definition at line 4502 of file TCling.cxx.
void TCling::HandleNewDecl | ( | const void * | DV, |
bool | isDeserialized, | ||
std::set< TClass * > & | modifiedClasses ) |
Definition at line 498 of file TCling.cxx.
Helper function to increase the internal Cling count of transactions that change the AST.
Definition at line 3689 of file TCling.cxx.
Return true if ROOT has cxxmodules pcm for a given library name.
Implements TInterpreter.
Definition at line 3171 of file TCling.cxx.
|
finalvirtual |
Initialize the interpreter, once TROOT::fInterpreter is set.
Implements TInterpreter.
Definition at line 1647 of file TCling.cxx.
|
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 5679 of file TCling.cxx.
|
finalvirtual |
Visit all members over members, recursing over base classes.
Implements TInterpreter.
Definition at line 2697 of file TCling.cxx.
|
private |
Invalidate cached TCling information for the given declaration, and removed it from the appropriate object list.
[in] | Lists | - std::tuple<TListOfDataMembers&, TListOfFunctions&, TListOfFunctionTemplates&, TListOfEnums&> of pointers to the (global/class) object lists. |
[in] | D | - Decl to discard. |
Definition at line 6926 of file TCling.cxx.
void TCling::InvalidateGlobal | ( | const clang::Decl * | D | ) |
Invalidate cached TCling information for the given global declaration.
Definition at line 6911 of file TCling.cxx.
Definition at line 6650 of file TCling.cxx.
|
inlinefinalvirtual |
Implements TInterpreter.
|
private |
Returns if class AutoLoading is currently enabled.
Definition at line 7589 of file TCling.cxx.
|
finalvirtual |
If error messages are disabled, the interpreter should suppress its failures and warning messages from stdout.
Implements TInterpreter.
Definition at line 7377 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 9606 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 9582 of file TCling.cxx.
Implements TInterpreter.
Definition at line 3162 of file TCling.cxx.
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 3196 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 9614 of file TCling.cxx.
|
inlinefinalvirtual |
Implements TInterpreter.
Reimplemented from TInterpreter.
Definition at line 9573 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 9590 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 9598 of file TCling.cxx.
|
finalvirtual |
Check if constructor exited correctly, ie the instance is in a valid state.
Implements TInterpreter.
Definition at line 3092 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 9622 of file TCling.cxx.
void * TCling::LazyFunctionCreatorAutoload | ( | const std::string & | mangled_name | ) |
Autoload a library based on a missing symbol.
Definition at line 6615 of file TCling.cxx.
Definition at line 7009 of file TCling.cxx.
bool TCling::LibraryLoadingFailed | ( | const std::string & | errmessage, |
const std::string & | libStem, | ||
bool | permanent, | ||
bool | resolved ) |
Definition at line 6592 of file TCling.cxx.
Definition at line 7016 of file TCling.cxx.
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 3539 of file TCling.cxx.
|
finalvirtual |
Create list of pointers to enums for TClass cl.
Implements TInterpreter.
Definition at line 4419 of file TCling.cxx.
Load a source file or library called path into the interpreter.
Reimplemented from TInterpreter.
Definition at line 7535 of file TCling.cxx.
|
finalvirtual |
Create list of pointers to function templates for TClass cl.
Implements TInterpreter.
Definition at line 4466 of file TCling.cxx.
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 5765 of file TCling.cxx.
|
finalvirtual |
Load a macro file in cling's memory.
Implements TInterpreter.
Definition at line 3576 of file TCling.cxx.
|
private |
Tries to load a rdict PCM, issues diagnostics if it fails.
Definition at line 1824 of file TCling.cxx.
|
private |
Tries to load a PCM from TFile; returns true on success.
Definition at line 1709 of file TCling.cxx.
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 7550 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 7698 of file TCling.cxx.
Interface to cling function.
Reimplemented from TInterpreter.
Definition at line 7558 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9331 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9276 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9283 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9291 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9299 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9307 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9339 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9315 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9323 of file TCling.cxx.
|
virtual |
Reimplemented from TInterpreter.
Definition at line 9363 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9347 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 9355 of file TCling.cxx.
Implements TInterpreter.
Definition at line 9212 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9044 of file TCling.cxx.
|
finalvirtual |
Interface to cling function.
Reimplemented from TInterpreter.
Definition at line 9037 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 9135 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9053 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9061 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 9069 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9078 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9153 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9164 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9085 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9094 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 9223 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9173 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9102 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9110 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9118 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 9126 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9203 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9144 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9182 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9191 of file TCling.cxx.
|
finalvirtual |
|
private |
Definition at line 1993 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 2466 of file TCling.cxx.
Longptr_t TCling::ProcessLineAsynch | ( | const char * | line, |
EErrorCode * | error = nullptr ) |
Let cling process a command line asynch.
Definition at line 3584 of file TCling.cxx.
|
finalvirtual |
Let cling process a command line synchronously, i.e we are waiting it will be finished.
Implements TInterpreter.
Definition at line 3593 of file TCling.cxx.
|
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 5552 of file TCling.cxx.
|
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 3707 of file TCling.cxx.
Internal function. Actually do the update of the ClassInfo when seeing.
Definition at line 6658 of file TCling.cxx.
|
private |
Register a new shared library name with the interpreter; add it to fSharedLibs.
Definition at line 3439 of file TCling.cxx.
|
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.
Implements TInterpreter.
Definition at line 2023 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 1919 of file TCling.cxx.
|
private |
Register Rdict data for future loading by LoadPCM;.
Definition at line 1691 of file TCling.cxx.
|
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 2397 of file TCling.cxx.
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 7736 of file TCling.cxx.
void TCling::RegisterTemporary | ( | const TInterpreterValue & | value | ) |
Definition at line 7722 of file TCling.cxx.
|
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 5961 of file TCling.cxx.
Report diagnostics to the ROOT error handler (see TError.h).
Reimplemented from TInterpreter.
Definition at line 7650 of file TCling.cxx.
|
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 5949 of file TCling.cxx.
|
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 3732 of file TCling.cxx.
|
finalvirtual |
Reset the Cling state to its initial state.
Implements TInterpreter.
Definition at line 3748 of file TCling.cxx.
|
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 3764 of file TCling.cxx.
|
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 3778 of file TCling.cxx.
|
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 3793 of file TCling.cxx.
void * TCling::RewindInterpreterMutex | ( | ) |
Reset the interpreter lock to the state it had before interpreter-related calls happened.
Definition at line 9691 of file TCling.cxx.
|
finalvirtual |
|
finalvirtual |
Save the current Cling state of global objects.
Implements TInterpreter.
Definition at line 3896 of file TCling.cxx.
|
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 7571 of file TCling.cxx.
|
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 7581 of file TCling.cxx.
|
inlinefinalvirtual |
Reimplemented from TInterpreter.
Enable/Disable the AutoLoading of libraries.
Returns the old value, i.e whether it was enabled or not.
Reimplemented from TInterpreter.
Definition at line 7602 of file TCling.cxx.
Enable/Disable the Autoparsing of headers.
Returns the old value, i.e whether it was enabled or not.
Reimplemented from TInterpreter.
Definition at line 7620 of file TCling.cxx.
|
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 4065 of file TCling.cxx.
Register the AutoLoading information for a class.
libs is a space separated list of libraries.
Implements TInterpreter.
Definition at line 6102 of file TCling.cxx.
Implements TInterpreter.
Definition at line 8760 of file TCling.cxx.
|
finalvirtual |
Set a callback to receive error messages.
Reimplemented from TInterpreter.
Definition at line 7641 of file TCling.cxx.
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 7391 of file TCling.cxx.
|
finalvirtual |
Set a getline function to call when input is needed.
Implements TInterpreter.
Definition at line 3672 of file TCling.cxx.
Implements TInterpreter.
Suspend the Autoparsing of headers.
Returns the old value, i.e whether it was suspended or not.
Implements TInterpreter.
Definition at line 7631 of file TCling.cxx.
|
finalvirtual |
Create / close a scope for temporaries.
No-op for cling; use cling::Value instead.
Reimplemented from TInterpreter.
Definition at line 7677 of file TCling.cxx.
Definition at line 6180 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 1668 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 9630 of file TCling.cxx.
|
finalvirtual |
Implements TInterpreter.
Definition at line 1025 of file TCling.cxx.
void TCling::TransactionRollback | ( | const cling::Transaction & | T | ) |
Definition at line 6986 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9477 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9484 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9492 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9500 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9507 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9517 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9557 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9525 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9533 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9541 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9565 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9549 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9376 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9383 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9391 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9399 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9406 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9415 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9423 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9431 of file TCling.cxx.
|
virtual |
Reimplemented from TInterpreter.
Definition at line 9463 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9439 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9447 of file TCling.cxx.
|
finalvirtual |
Reimplemented from TInterpreter.
Definition at line 9455 of file TCling.cxx.
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 5502 of file TCling.cxx.
|
finalvirtual |
Unload the library map entries coming from all the loaded shared libraries.
Returns 0 if succesful
Implements TInterpreter.
Definition at line 6022 of file TCling.cxx.
Reimplemented from TInterpreter.
Definition at line 7683 of file TCling.cxx.
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 6040 of file TCling.cxx.
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 2406 of file TCling.cxx.
|
static |
Update all canvases at end the terminal input command.
Definition at line 6789 of file TCling.cxx.
|
static |
No op: see TClingCallbacks.
Definition at line 6774 of file TCling.cxx.
void TCling::UpdateClassInfoWithDecl | ( | const clang::NamedDecl * | ND | ) |
Internal function. Inform a TClass about its new TagDecl or NamespaceDecl.
Definition at line 6716 of file TCling.cxx.
|
static |
Definition at line 6780 of file TCling.cxx.
Implements TInterpreter.
Definition at line 423 of file TCling.cxx.
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 4540 of file TCling.cxx.
|
finalvirtual |
No op: see TClingCallbacks (used to update the list of global functions)
Implements TInterpreter.
Definition at line 3916 of file TCling.cxx.
|
finalvirtual |
No op: see TClingCallbacks (used to update the list of globals)
Implements TInterpreter.
Definition at line 3909 of file TCling.cxx.
|
private |
Definition at line 3372 of file TCling.cxx.
|
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 4531 of file TCling.cxx.
|
finalvirtual |
No op: see TClingCallbacks (used to update the list of types)
Implements TInterpreter.
Definition at line 3923 of file TCling.cxx.
void TCling::UpdateListsOnCommitted | ( | const cling::Transaction & | T | ) |
Definition at line 6800 of file TCling.cxx.
void TCling::UpdateListsOnUnloaded | ( | const cling::Transaction & | T | ) |
Invalidate stored TCling state for declarations included in transaction ‘T’.
Definition at line 6884 of file TCling.cxx.
|
friend |
Definition at line 50 of file rootclingTCling.cxx.
|
friend |
Definition at line 590 of file TCling.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |