#include <Adapters.h>
Public Member Functions | |
TScopeAdapter (TClass *klass) | |
TScopeAdapter (const std::string &name) | |
TScopeAdapter (const TMemberAdapter &) | |
operator TClass * () const | |
operator bool () const | |
std::string | Name (unsigned int mod=0) const |
TBaseAdapter | BaseAt (size_t nth) const |
size_t | BaseSize () const |
TMemberAdapter | FunctionMemberAt (size_t nth) const |
size_t | FunctionMemberSize () const |
TMemberAdapter | DataMemberAt (size_t nth) const |
size_t | DataMemberSize () const |
Bool_t | IsComplete () const |
Bool_t | IsClass () const |
Bool_t | IsStruct () const |
Bool_t | IsNamespace () const |
Bool_t | IsAbstract () const |
void * | Id () const |
Static Public Member Functions | |
static TScopeAdapter | ByName (const std::string &name) |
Private Attributes | |
TClassRef | fClass |
std::string | fName |
Definition at line 104 of file Adapters.h.
PyROOT::TScopeAdapter::TScopeAdapter | ( | TClass * | klass | ) |
PyROOT::TScopeAdapter::TScopeAdapter | ( | const std::string & | name | ) |
Definition at line 224 of file Adapters.cxx.
PyROOT::TScopeAdapter::TScopeAdapter | ( | const TMemberAdapter & | ) |
Definition at line 230 of file Adapters.cxx.
PyROOT::TScopeAdapter::operator TClass * | ( | ) | const [inline] |
PyROOT::TScopeAdapter::operator bool | ( | ) | const |
Definition at line 340 of file Adapters.cxx.
References b, fName, gErrorIgnoreLevel, Name(), ROOT::Reflex::Q, and ROOT::Reflex::S.
PyROOT::TScopeAdapter PyROOT::TScopeAdapter::ByName | ( | const std::string & | name | ) | [static] |
Definition at line 238 of file Adapters.cxx.
References TClass::GetClass().
Referenced by PyROOT::Utility::AddBinaryOperator(), and PyROOT::pt_getattro().
std::string PyROOT::TScopeAdapter::Name | ( | unsigned int | mod = 0 |
) | const |
Definition at line 245 of file Adapters.cxx.
References TClassEdit::CleanType(), ROOT::Reflex::F, fClass, ROOT::Reflex::FINAL, fName, Cint::G__ClassInfo::Fullname(), TClassRef::GetClass(), Cint::G__ClassInfo::IsValid(), name, Cint::G__ClassInfo::Name(), ROOT::Reflex::Q, ROOT::Reflex::QUALIFIED, TClassEdit::ResolveTypedef(), ROOT::Reflex::S, ROOT::Reflex::SCOPED, and true.
Referenced by IsClass(), IsComplete(), IsStruct(), and operator bool().
PyROOT::TBaseAdapter PyROOT::TScopeAdapter::BaseAt | ( | size_t | nth | ) | const |
size_t PyROOT::TScopeAdapter::BaseSize | ( | ) | const |
PyROOT::TMemberAdapter PyROOT::TScopeAdapter::FunctionMemberAt | ( | size_t | nth | ) | const |
Definition at line 316 of file Adapters.cxx.
References fClass.
Referenced by PyROOT::pt_getattro().
size_t PyROOT::TScopeAdapter::FunctionMemberSize | ( | ) | const |
Definition at line 306 of file Adapters.cxx.
References fClass, and TClassRef::GetClass().
Referenced by PyROOT::pt_getattro().
PyROOT::TMemberAdapter PyROOT::TScopeAdapter::DataMemberAt | ( | size_t | nth | ) | const |
size_t PyROOT::TScopeAdapter::DataMemberSize | ( | ) | const |
Bool_t PyROOT::TScopeAdapter::IsComplete | ( | ) | const |
Bool_t PyROOT::TScopeAdapter::IsClass | ( | ) | const |
Definition at line 361 of file Adapters.cxx.
References ROOT::Reflex::F, fClass, TClassRef::GetClass(), kOther_t, Name(), and ROOT::Reflex::S.
Bool_t PyROOT::TScopeAdapter::IsStruct | ( | ) | const |
Definition at line 377 of file Adapters.cxx.
References ROOT::Reflex::F, fClass, TClassRef::GetClass(), kOther_t, Name(), and ROOT::Reflex::S.
Bool_t PyROOT::TScopeAdapter::IsNamespace | ( | ) | const |
Definition at line 390 of file Adapters.cxx.
References fClass, G__BIT_ISNAMESPACE, TClassRef::GetClass(), and kFALSE.
Referenced by PyROOT::pt_getattro().
Bool_t PyROOT::TScopeAdapter::IsAbstract | ( | ) | const |
void* PyROOT::TScopeAdapter::Id | ( | ) | const [inline] |
TClassRef PyROOT::TScopeAdapter::fClass [private] |
Definition at line 140 of file Adapters.h.
Referenced by BaseAt(), BaseSize(), DataMemberAt(), DataMemberSize(), FunctionMemberAt(), FunctionMemberSize(), Id(), IsAbstract(), IsClass(), IsNamespace(), IsStruct(), Name(), operator TClass *(), and TScopeAdapter().
std::string PyROOT::TScopeAdapter::fName [private] |
Definition at line 141 of file Adapters.h.
Referenced by Name(), operator bool(), and TScopeAdapter().