Logo ROOT   6.07/09
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
TClingMethodInfo Class Reference

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 52 of file TClingMethodInfo.h.

Public Member Functions

 TClingMethodInfo (cling::Interpreter *interp)
 
 TClingMethodInfo (const TClingMethodInfo &)
 
 TClingMethodInfo (cling::Interpreter *, const clang::FunctionDecl *)
 
 TClingMethodInfo (cling::Interpreter *, TClingClassInfo *)
 
 ~TClingMethodInfo ()
 
void CreateSignature (TString &signature) const
 
long ExtraProperty () const
 
TDictionary::DeclId_t GetDeclId () const
 
cling::Interpreter * GetInterpreter () const
 
std::string GetMangledName () const
 
const clang::FunctionDecl * GetMethodDecl () const
 
const char * GetPrototype (const ROOT::TMetaUtils::TNormalizedCtxt &normCtxt) const
 
void Init (const clang::FunctionDecl *)
 
voidInterfaceMethod (const ROOT::TMetaUtils::TNormalizedCtxt &normCtxt) const
 
int InternalNext ()
 
bool IsValid () const
 
const char * Name (const ROOT::TMetaUtils::TNormalizedCtxt &normCtxt) const
 
int NArg () const
 
int NDefaultArg () const
 
int Next ()
 
long Property () const
 
const char * Title ()
 
TClingTypeInfoType () const
 
const char * TypeName () const
 

Private Attributes

unsigned int fContextIdx
 
llvm::SmallVector< clang::DeclContext *, 2 > fContexts
 
bool fFirstTime
 
cling::Interpreter * fInterp
 
clang::DeclContext::decl_iterator fIter
 
const clang::FunctionDecl * fSingleDecl
 
SpecIterator * fTemplateSpecIter
 
std::string fTitle
 

#include </mnt/vdb/lsf/workspace/root-makedoc-v608/rootspi/rdoc/src/v6-08-00-patches/core/meta/src/TClingMethodInfo.h>

Constructor & Destructor Documentation

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

Definition at line 66 of file TClingMethodInfo.h.

TClingMethodInfo::TClingMethodInfo ( const TClingMethodInfo rhs)

Definition at line 84 of file TClingMethodInfo.cxx.

TClingMethodInfo::TClingMethodInfo ( cling::Interpreter *  interp,
const clang::FunctionDecl *  FD 
)

Definition at line 131 of file TClingMethodInfo.cxx.

TClingMethodInfo::TClingMethodInfo ( cling::Interpreter *  interp,
TClingClassInfo ci 
)

Definition at line 102 of file TClingMethodInfo.cxx.

TClingMethodInfo::~TClingMethodInfo ( )

Definition at line 139 of file TClingMethodInfo.cxx.

Member Function Documentation

void TClingMethodInfo::CreateSignature ( TString signature) const

Definition at line 167 of file TClingMethodInfo.cxx.

long TClingMethodInfo::ExtraProperty ( ) const

Definition at line 521 of file TClingMethodInfo.cxx.

TDictionary::DeclId_t TClingMethodInfo::GetDeclId ( ) const

Definition at line 144 of file TClingMethodInfo.cxx.

cling::Interpreter* TClingMethodInfo::GetInterpreter ( ) const
inline

Definition at line 80 of file TClingMethodInfo.h.

std::string TClingMethodInfo::GetMangledName ( ) const

Definition at line 567 of file TClingMethodInfo.cxx.

const clang::FunctionDecl * TClingMethodInfo::GetMethodDecl ( ) const

Definition at line 152 of file TClingMethodInfo.cxx.

const char * TClingMethodInfo::GetPrototype ( const ROOT::TMetaUtils::TNormalizedCtxt normCtxt) const

Definition at line 589 of file TClingMethodInfo.cxx.

void TClingMethodInfo::Init ( const clang::FunctionDecl *  decl)

Definition at line 197 of file TClingMethodInfo.cxx.

void * TClingMethodInfo::InterfaceMethod ( const ROOT::TMetaUtils::TNormalizedCtxt normCtxt) const

Definition at line 208 of file TClingMethodInfo.cxx.

int TClingMethodInfo::InternalNext ( )

Definition at line 342 of file TClingMethodInfo.cxx.

bool TClingMethodInfo::IsValid ( ) const

Definition at line 219 of file TClingMethodInfo.cxx.

const char * TClingMethodInfo::Name ( const ROOT::TMetaUtils::TNormalizedCtxt normCtxt) const

Definition at line 642 of file TClingMethodInfo.cxx.

int TClingMethodInfo::NArg ( ) const

Definition at line 231 of file TClingMethodInfo.cxx.

int TClingMethodInfo::NDefaultArg ( ) const

Definition at line 242 of file TClingMethodInfo.cxx.

int TClingMethodInfo::Next ( )

Definition at line 429 of file TClingMethodInfo.cxx.

long TClingMethodInfo::Property ( ) const

Definition at line 434 of file TClingMethodInfo.cxx.

const char * TClingMethodInfo::Title ( )

Definition at line 661 of file TClingMethodInfo.cxx.

TClingTypeInfo * TClingMethodInfo::Type ( ) const

Definition at line 543 of file TClingMethodInfo.cxx.

const char * TClingMethodInfo::TypeName ( ) const

Definition at line 652 of file TClingMethodInfo.cxx.

Member Data Documentation

unsigned int TClingMethodInfo::fContextIdx
private

Definition at line 59 of file TClingMethodInfo.h.

llvm::SmallVector<clang::DeclContext *, 2> TClingMethodInfo::fContexts
private

Definition at line 57 of file TClingMethodInfo.h.

bool TClingMethodInfo::fFirstTime
private

Definition at line 58 of file TClingMethodInfo.h.

cling::Interpreter* TClingMethodInfo::fInterp
private

Definition at line 54 of file TClingMethodInfo.h.

clang::DeclContext::decl_iterator TClingMethodInfo::fIter
private

Definition at line 60 of file TClingMethodInfo.h.

const clang::FunctionDecl* TClingMethodInfo::fSingleDecl
private

Definition at line 63 of file TClingMethodInfo.h.

SpecIterator* TClingMethodInfo::fTemplateSpecIter
private

Definition at line 62 of file TClingMethodInfo.h.

std::string TClingMethodInfo::fTitle
private

Definition at line 61 of file TClingMethodInfo.h.


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