ROOT
6.06/09
Reference Guide
|
Emulation of the CINT TypeInfo class.
The CINT C++ interpreter provides an interface to metadata about a type through the TypeInfo class. This class provides the same functionality, using an interface as close as possible to TypeInfo but the type metadata comes from the Clang C++ compiler, not CINT.
Definition at line 40 of file TClingTypeInfo.h.
Public Member Functions | |
TClingTypeInfo (cling::Interpreter *interp) | |
TClingTypeInfo (cling::Interpreter *interp, clang::QualType ty) | |
TClingTypeInfo (cling::Interpreter *interp, const char *name) | |
cling::Interpreter * | GetInterpreter () const |
clang::QualType | GetQualType () const |
void | Init (const char *name) |
void | Init (clang::QualType ty) |
bool | IsValid () const |
const char * | Name () const |
long | Property () const |
int | RefType () const |
int | Size () const |
const char * | StemName () const |
const char * | TrueName (const ROOT::TMetaUtils::TNormalizedCtxt &normCtxt) const |
Return the normalized name of the type (i.e. More... | |
std::string | NormalizedName (const ROOT::TMetaUtils::TNormalizedCtxt &normCtxt) const |
Return the normalized name of the type (i.e. More... | |
Private Attributes | |
cling::Interpreter * | fInterp |
clang::QualType | fQualType |
|
inlineexplicit |
Definition at line 48 of file TClingTypeInfo.h.
|
inline |
Definition at line 51 of file TClingTypeInfo.h.
TClingTypeInfo::TClingTypeInfo | ( | cling::Interpreter * | interp, |
const char * | name | ||
) |
Definition at line 47 of file TClingTypeInfo.cxx.
|
inline |
Definition at line 56 of file TClingTypeInfo.h.
|
inline |
Definition at line 58 of file TClingTypeInfo.h.
Referenced by TCling::MethodInfo_MethodCallReturnType().
void TClingTypeInfo::Init | ( | const char * | name | ) |
Definition at line 55 of file TClingTypeInfo.cxx.
Referenced by TClingTypeInfo(), and TCling::TypeInfo_Init().
|
inline |
Definition at line 61 of file TClingTypeInfo.h.
|
inline |
Definition at line 62 of file TClingTypeInfo.h.
Referenced by Name(), NormalizedName(), Property(), RefType(), Size(), StemName(), TrueName(), and TCling::TypeInfo_IsValid().
const char * TClingTypeInfo::Name | ( | ) | const |
Definition at line 102 of file TClingTypeInfo.cxx.
Referenced by TClingMethodInfo::CreateSignature(), TClingMethodInfo::GetPrototype(), TCling::TypeInfo_Name(), TClingMethodArgInfo::TypeName(), and TClingMethodInfo::TypeName().
std::string TClingTypeInfo::NormalizedName | ( | const ROOT::TMetaUtils::TNormalizedCtxt & | normCtxt | ) | const |
Return the normalized name of the type (i.e.
fully qualified and without the non-opaque typedefs.
Definition at line 316 of file TClingTypeInfo.cxx.
Referenced by TCling::MethodArgInfo_TypeNormalizedName(), and TCling::MethodInfo_TypeNormalizedName().
long TClingTypeInfo::Property | ( | ) | const |
Definition at line 118 of file TClingTypeInfo.cxx.
Referenced by TCling::TypeInfo_Property(), and TClingDataMemberInfo::TypeProperty().
int TClingTypeInfo::RefType | ( | ) | const |
Definition at line 190 of file TClingTypeInfo.cxx.
Referenced by TCling::TypeInfo_RefType().
int TClingTypeInfo::Size | ( | ) | const |
Definition at line 236 of file TClingTypeInfo.cxx.
Referenced by TCling::MethodInfo_MethodCallReturnType(), and TCling::TypeInfo_Size().
const char * TClingTypeInfo::StemName | ( | ) | const |
Definition at line 260 of file TClingTypeInfo.cxx.
const char * TClingTypeInfo::TrueName | ( | const ROOT::TMetaUtils::TNormalizedCtxt & | normCtxt | ) | const |
Return the normalized name of the type (i.e.
fully qualified and without the non-opaque typedefs.
Definition at line 298 of file TClingTypeInfo.cxx.
Referenced by TCling::TypeInfo_TrueName().
|
private |
Definition at line 43 of file TClingTypeInfo.h.
Referenced by GetInterpreter(), Init(), Name(), NormalizedName(), Size(), StemName(), and TrueName().
|
private |
Definition at line 44 of file TClingTypeInfo.h.
Referenced by GetQualType(), Init(), Name(), NormalizedName(), Property(), RefType(), Size(), StemName(), and TrueName().