Emulation of the CINT MethodInfo class.
The CINT C++ interpreter provides an interface to metadata about a function through the MethodInfo class. This class provides the same functionality, using an interface as close as possible to MethodInfo but the typedef metadata comes from the Clang C++ compiler, not CINT.
Definition at line 124 of file TClingMethodInfo.h.
Public Member Functions | |
| TClingMethodInfo (cling::Interpreter *, const clang::Decl *) | |
| TClingMethodInfo (cling::Interpreter *, TClingClassInfo *) | |
| TClingMethodInfo (cling::Interpreter *interp) | |
| void | CreateSignature (TString &signature) const | 
| long | ExtraProperty () const | 
| const clang::FunctionDecl * | GetAsFunctionDecl () const | 
| const clang::UsingShadowDecl * | GetAsUsingShadowDecl () const | 
| const clang::Decl * | GetDecl () const override | 
| TDictionary::DeclId_t | GetDeclId () const | 
| cling::Interpreter * | GetInterpreter () const | 
| std::string | GetMangledName () const | 
| const char * | GetPrototype () | 
| const clang::FunctionDecl * | GetTargetFunctionDecl () const | 
| Get the FunctionDecl, or if this represents a UsingShadowDecl, the underlying target FunctionDecl.   | |
| void | Init (const clang::FunctionDecl *) | 
| void * | InterfaceMethod () const | 
| const char * | Name () const override | 
| int | NArg () const | 
| int | NDefaultArg () const | 
| int | Next () | 
| long | Property () const | 
| const char * | Title () | 
| 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 bool | IsValid () const | 
Private Member Functions | |
| const clang::Decl * | GetDeclSlow () const | 
Private Attributes | |
| bool | fFirstTime | 
| cling::Interpreter * | fInterp | 
| TClingCXXRecMethIter | fIter | 
| std::string | fTitle | 
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 134 of file TClingMethodInfo.h.
| TClingMethodInfo::TClingMethodInfo | ( | cling::Interpreter * | interp, | 
| const clang::Decl * | D | ||
| ) | 
Definition at line 275 of file TClingMethodInfo.cxx.
| TClingMethodInfo::TClingMethodInfo | ( | cling::Interpreter * | interp, | 
| TClingClassInfo * | ci | ||
| ) | 
Definition at line 235 of file TClingMethodInfo.cxx.
| void TClingMethodInfo::CreateSignature | ( | TString & | signature | ) | const | 
Definition at line 313 of file TClingMethodInfo.cxx.
| long TClingMethodInfo::ExtraProperty | ( | ) | const | 
Definition at line 523 of file TClingMethodInfo.cxx.
| const clang::FunctionDecl * TClingMethodInfo::GetAsFunctionDecl | ( | ) | const | 
Definition at line 293 of file TClingMethodInfo.cxx.
| const clang::UsingShadowDecl * TClingMethodInfo::GetAsUsingShadowDecl | ( | ) | const | 
Definition at line 298 of file TClingMethodInfo.cxx.
      
  | 
  inlineoverridevirtual | 
Reimplemented from TClingDeclInfo.
Definition at line 153 of file TClingMethodInfo.h.
| TDictionary::DeclId_t TClingMethodInfo::GetDeclId | ( | ) | const | 
Definition at line 283 of file TClingMethodInfo.cxx.
      
  | 
  private | 
Definition at line 365 of file TClingMethodInfo.cxx.
      
  | 
  inline | 
Definition at line 148 of file TClingMethodInfo.h.
| std::string TClingMethodInfo::GetMangledName | ( | ) | const | 
Definition at line 572 of file TClingMethodInfo.cxx.
| const char * TClingMethodInfo::GetPrototype | ( | ) | 
Definition at line 595 of file TClingMethodInfo.cxx.
| const clang::FunctionDecl * TClingMethodInfo::GetTargetFunctionDecl | ( | ) | const | 
Get the FunctionDecl, or if this represents a UsingShadowDecl, the underlying target FunctionDecl.
Definition at line 303 of file TClingMethodInfo.cxx.
| void TClingMethodInfo::Init | ( | const clang::FunctionDecl * | decl | ) | 
Definition at line 347 of file TClingMethodInfo.cxx.
| void * TClingMethodInfo::InterfaceMethod | ( | ) | const | 
Definition at line 354 of file TClingMethodInfo.cxx.
      
  | 
  overridevirtual | 
Reimplemented from TClingDeclInfo.
Definition at line 638 of file TClingMethodInfo.cxx.
| int TClingMethodInfo::NArg | ( | ) | const | 
Definition at line 370 of file TClingMethodInfo.cxx.
| int TClingMethodInfo::NDefaultArg | ( | ) | const | 
Definition at line 381 of file TClingMethodInfo.cxx.
| int TClingMethodInfo::Next | ( | ) | 
Definition at line 407 of file TClingMethodInfo.cxx.
| long TClingMethodInfo::Property | ( | ) | const | 
Definition at line 428 of file TClingMethodInfo.cxx.
| const char * TClingMethodInfo::Title | ( | ) | 
Definition at line 659 of file TClingMethodInfo.cxx.
| TClingTypeInfo * TClingMethodInfo::Type | ( | ) | const | 
Definition at line 547 of file TClingMethodInfo.cxx.
| const char * TClingMethodInfo::TypeName | ( | ) | const | 
Definition at line 650 of file TClingMethodInfo.cxx.
      
  | 
  private | 
Definition at line 127 of file TClingMethodInfo.h.
      
  | 
  private | 
Definition at line 126 of file TClingMethodInfo.h.
      
  | 
  private | 
Definition at line 128 of file TClingMethodInfo.h.
      
  | 
  private | 
Definition at line 129 of file TClingMethodInfo.h.