Emulation of the CINT BaseClassInfo class.
The CINT C++ interpreter provides an interface to metadata about the base classes of a class through the BaseClassInfo class. This class provides the same functionality, using an interface as close as possible to BaseClassInfo but the base class metadata comes from the Clang C++ compiler, not CINT.
Definition at line 43 of file TClingBaseClassInfo.h.
Public Member Functions | |
TClingBaseClassInfo (cling::Interpreter *, TClingClassInfo *) | |
TClingBaseClassInfo (cling::Interpreter *, TClingClassInfo *derived, TClingClassInfo *base) | |
TClingBaseClassInfo (const TClingBaseClassInfo &) | |
~TClingBaseClassInfo () | |
void | FullName (std::string &output, const ROOT::TMetaUtils::TNormalizedCtxt &normCtxt) const |
TClingClassInfo * | GetBase () const |
int | InternalNext (int onlyDirect) |
bool | IsValid () const |
const char * | Name () const |
int | Next () |
int | Next (int onlyDirect) |
ptrdiff_t | Offset (void *address=0, bool isDerivedObject=true) const |
TClingBaseClassInfo & | operator= (const TClingBaseClassInfo &) |
long | Property () const |
long | Tagnum () const |
const char * | TmpltName () const |
Private Member Functions | |
OffsetPtrFunc_t | GenerateBaseOffsetFunction (TClingClassInfo *derivedClass, TClingClassInfo *targetClass, void *address, bool isDerivedObject) const |
Private Attributes | |
TClingClassInfo * | fBaseInfo |
TClingClassInfo * | fClassInfo |
bool | fClassInfoOwnership |
const clang::Decl * | fDecl |
bool | fDescend |
bool | fFirstTime |
cling::Interpreter * | fInterp |
clang::CXXRecordDecl::base_class_const_iterator | fIter |
std::vector< std::pair< std::pair< const clang::Decl *, clang::CXXRecordDecl::base_class_const_iterator >, ptrdiff_t > > | fIterStack |
ptrdiff_t | fOffset |
|
inline |
Definition at line 60 of file TClingBaseClassInfo.h.
TClingBaseClassInfo::TClingBaseClassInfo | ( | cling::Interpreter * | interp, |
TClingClassInfo * | ci | ||
) |
Definition at line 56 of file TClingBaseClassInfo.cxx.
TClingBaseClassInfo::TClingBaseClassInfo | ( | cling::Interpreter * | interp, |
TClingClassInfo * | derived, | ||
TClingClassInfo * | base | ||
) |
Definition at line 86 of file TClingBaseClassInfo.cxx.
TClingBaseClassInfo::TClingBaseClassInfo | ( | const TClingBaseClassInfo & | rhs | ) |
Definition at line 125 of file TClingBaseClassInfo.cxx.
void TClingBaseClassInfo::FullName | ( | std::string & | output, |
const ROOT::TMetaUtils::TNormalizedCtxt & | normCtxt | ||
) | const |
Definition at line 561 of file TClingBaseClassInfo.cxx.
|
private |
Definition at line 165 of file TClingBaseClassInfo.cxx.
TClingClassInfo * TClingBaseClassInfo::GetBase | ( | ) | const |
Definition at line 156 of file TClingBaseClassInfo.cxx.
Definition at line 257 of file TClingBaseClassInfo.cxx.
bool TClingBaseClassInfo::IsValid | ( | ) | const |
Definition at line 244 of file TClingBaseClassInfo.cxx.
const char * TClingBaseClassInfo::Name | ( | ) | const |
Definition at line 570 of file TClingBaseClassInfo.cxx.
int TClingBaseClassInfo::Next | ( | ) |
Definition at line 353 of file TClingBaseClassInfo.cxx.
Definition at line 348 of file TClingBaseClassInfo.cxx.
ptrdiff_t TClingBaseClassInfo::Offset | ( | void * | address = 0 , |
bool | isDerivedObject = true |
||
) | const |
Definition at line 411 of file TClingBaseClassInfo.cxx.
TClingBaseClassInfo & TClingBaseClassInfo::operator= | ( | const TClingBaseClassInfo & | rhs | ) |
Definition at line 135 of file TClingBaseClassInfo.cxx.
long TClingBaseClassInfo::Property | ( | ) | const |
Definition at line 488 of file TClingBaseClassInfo.cxx.
long TClingBaseClassInfo::Tagnum | ( | ) | const |
Definition at line 553 of file TClingBaseClassInfo.cxx.
const char * TClingBaseClassInfo::TmpltName | ( | ) | const |
Definition at line 578 of file TClingBaseClassInfo.cxx.
|
private |
Definition at line 53 of file TClingBaseClassInfo.h.
|
private |
Definition at line 48 of file TClingBaseClassInfo.h.
|
private |
Definition at line 56 of file TClingBaseClassInfo.h.
|
private |
Definition at line 51 of file TClingBaseClassInfo.h.
|
private |
Definition at line 50 of file TClingBaseClassInfo.h.
|
private |
Definition at line 49 of file TClingBaseClassInfo.h.
|
private |
Definition at line 47 of file TClingBaseClassInfo.h.
|
private |
Definition at line 52 of file TClingBaseClassInfo.h.
|
private |
Definition at line 54 of file TClingBaseClassInfo.h.
|
private |
Definition at line 55 of file TClingBaseClassInfo.h.