ROOT 6.18/05 Reference Guide |
Emulation of the CINT MethodInfo class.
The CINT C++ interpreter provides an interface to metadata about the arguments to a function through the MethodArgInfo class. This class provides the same functionality, using an interface as close as possible to MethodArgInfo but the typedef metadata comes from the Clang C++ compiler, not CINT.
Definition at line 44 of file TClingMethodArgInfo.h.
Public Member Functions | |
TClingMethodArgInfo (cling::Interpreter *interp) | |
TClingMethodArgInfo (cling::Interpreter *interp, const TClingMethodInfo *mi) | |
const char * | DefaultValue () const |
const clang::ParmVarDecl * | GetDecl () const override |
bool | IsValid () const override |
int | Next () |
long | Property () const |
const TClingTypeInfo * | Type () const |
const char * | TypeName () const |
Public Member Functions inherited from TClingDeclInfo | |
TClingDeclInfo (const clang::Decl *D) | |
virtual | ~TClingDeclInfo () |
clang::Decl * | GetDecl () |
virtual const clang::Decl * | GetDecl () const |
virtual bool | IsValid () const |
virtual const char * | Name () |
Private Attributes | |
int | fIdx |
cling::Interpreter * | fInterp |
Additional Inherited Members | |
Protected Attributes inherited from TClingDeclInfo | |
const clang::Decl * | fDecl = nullptr |
std::string | fNameCache |
|
inlineexplicit |
Definition at line 53 of file TClingMethodArgInfo.h.
TClingMethodArgInfo::TClingMethodArgInfo | ( | cling::Interpreter * | interp, |
const TClingMethodInfo * | mi | ||
) |
Definition at line 43 of file TClingMethodArgInfo.cxx.
const char * TClingMethodArgInfo::DefaultValue | ( | ) | const |
Definition at line 109 of file TClingMethodArgInfo.cxx.
|
inlineoverridevirtual |
Reimplemented from TClingDeclInfo.
Definition at line 57 of file TClingMethodArgInfo.h.
|
overridevirtual |
Reimplemented from TClingDeclInfo.
Definition at line 45 of file TClingMethodArgInfo.cxx.
int TClingMethodArgInfo::Next | ( | ) |
Definition at line 58 of file TClingMethodArgInfo.cxx.
long TClingMethodArgInfo::Property | ( | ) | const |
Definition at line 65 of file TClingMethodArgInfo.cxx.
const TClingTypeInfo * TClingMethodArgInfo::Type | ( | ) | const |
Definition at line 163 of file TClingMethodArgInfo.cxx.
const char * TClingMethodArgInfo::TypeName | ( | ) | const |
Definition at line 175 of file TClingMethodArgInfo.cxx.
|
private |
Definition at line 49 of file TClingMethodArgInfo.h.
|
private |
Definition at line 48 of file TClingMethodArgInfo.h.