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 ()=default | |
TClingDeclInfo (const clang::Decl *D) | |
virtual | ~TClingDeclInfo () |
clang::Decl * | GetDecl () |
virtual const char * | Name () const |
Private Attributes | |
int | fIdx |
cling::Interpreter * | fInterp |
Additional Inherited Members | |
Protected Member Functions inherited from TClingDeclInfo | |
long | Property (long property, clang::QualType &qt) const |
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 80 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 134 of file TClingMethodArgInfo.cxx.
const char * TClingMethodArgInfo::TypeName | ( | ) | const |
Definition at line 146 of file TClingMethodArgInfo.cxx.
|
private |
Definition at line 49 of file TClingMethodArgInfo.h.
|
private |
Definition at line 48 of file TClingMethodArgInfo.h.