Logo ROOT   6.21/01
Reference Guide
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 (const clang::Decl *D)
 
virtual ~TClingDeclInfo ()
 
clang::Decl * GetDecl ()
 
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
 

#include </mnt/build/workspace/root-makedoc/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 109 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 163 of file TClingMethodArgInfo.cxx.

◆ TypeName()

const char * TClingMethodArgInfo::TypeName ( ) const

Definition at line 175 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.


The documentation for this class was generated from the following files: