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

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 TClingTypeInfoType () 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
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/core/metacling/src/TClingMethodArgInfo.h>

Inheritance diagram for TClingMethodArgInfo:
[legend]

Constructor & Destructor Documentation

◆ TClingMethodArgInfo() [1/2]

TClingMethodArgInfo::TClingMethodArgInfo ( cling::Interpreter *  interp)
inlineexplicit

Definition at line 53 of file TClingMethodArgInfo.h.

◆ TClingMethodArgInfo() [2/2]

TClingMethodArgInfo::TClingMethodArgInfo ( cling::Interpreter *  interp,
const TClingMethodInfo mi 
)

Definition at line 43 of file TClingMethodArgInfo.cxx.

Member Function Documentation

◆ DefaultValue()

const char * TClingMethodArgInfo::DefaultValue ( ) const

Definition at line 80 of file TClingMethodArgInfo.cxx.

◆ GetDecl()

const clang::ParmVarDecl * TClingMethodArgInfo::GetDecl ( ) const
inlineoverridevirtual

Reimplemented from TClingDeclInfo.

Definition at line 57 of file TClingMethodArgInfo.h.

◆ IsValid()

bool TClingMethodArgInfo::IsValid ( ) const
overridevirtual

Reimplemented from TClingDeclInfo.

Definition at line 45 of file TClingMethodArgInfo.cxx.

◆ Next()

int TClingMethodArgInfo::Next ( )

Definition at line 58 of file TClingMethodArgInfo.cxx.

◆ Property()

long TClingMethodArgInfo::Property ( ) const

Definition at line 65 of file TClingMethodArgInfo.cxx.

◆ Type()

const TClingTypeInfo * TClingMethodArgInfo::Type ( ) const

Definition at line 134 of file TClingMethodArgInfo.cxx.

◆ TypeName()

const char * TClingMethodArgInfo::TypeName ( ) const

Definition at line 146 of file TClingMethodArgInfo.cxx.

Member Data Documentation

◆ fIdx

int TClingMethodArgInfo::fIdx
private

Definition at line 49 of file TClingMethodArgInfo.h.

◆ fInterp

cling::Interpreter* TClingMethodArgInfo::fInterp
private

Definition at line 48 of file TClingMethodArgInfo.h.

  • core/metacling/src/TClingMethodArgInfo.h
  • core/metacling/src/TClingMethodArgInfo.cxx