#include <RootType.h>
Definition at line 119 of file RootType.h.
◆ TScopeAdapter() [1/6]
TScopeAdapter::TScopeAdapter |
( |
| ) |
|
◆ TScopeAdapter() [2/6]
TScopeAdapter::TScopeAdapter |
( |
TClass * |
klass | ) |
|
◆ TScopeAdapter() [3/6]
TScopeAdapter::TScopeAdapter |
( |
const std::string & |
name, |
|
|
Bool_t |
load = kTRUE |
|
) |
| |
◆ TScopeAdapter() [4/6]
TScopeAdapter::TScopeAdapter |
( |
const std::string & |
name, |
|
|
Bool_t |
load, |
|
|
Bool_t |
quiet |
|
) |
| |
◆ TScopeAdapter() [5/6]
◆ TScopeAdapter() [6/6]
TScopeAdapter::TScopeAdapter |
( |
const std::type_info & |
typeinfo | ) |
|
Definition at line 550 of file RootType.cxx.
551 :
fClass (TClassRef( TClass::GetClass(typeinfo) ) )
557 if (!
fClass.GetClass()->HasDictionary()) {
558 fClass = TClassRef( TClass::GetClass(typeinfo) );
563 size_t len =
sizeof(
buff);
565 fName = __cxxabiv1::__cxa_demangle(typeinfo.name(),
buff, &len, &
status);
◆ ATLAS_NOT_THREAD_SAFE()
static TScopeAdapter ByName TScopeAdapter::ATLAS_NOT_THREAD_SAFE |
( |
const std::string & |
name, |
|
|
Bool_t |
load = kTRUE , |
|
|
Bool_t |
quiet = kTRUE |
|
) |
| |
|
static |
◆ BaseAt()
Definition at line 778 of file RootType.cxx.
781 return (TBaseClass*)
fClass->GetListOfBases()->At( nth );
◆ BaseSize()
size_t TScopeAdapter::BaseSize |
( |
| ) |
const |
◆ ByNameNoQuiet()
TScopeAdapter TScopeAdapter::ByNameNoQuiet |
( |
const std::string & |
name, |
|
|
Bool_t |
load = kTRUE |
|
) |
| |
|
static |
◆ Class()
TClass* TScopeAdapter::Class |
( |
| ) |
const |
|
inline |
◆ Construct() [1/2]
void * TScopeAdapter::Construct |
( |
| ) |
const |
◆ Construct() [2/2]
void * RootType::Construct |
( |
void * |
place | ) |
const |
◆ DataMemberAt()
Definition at line 812 of file RootType.cxx.
815 return (TDataMember*)
fClass->GetListOfDataMembers()->At( nth );
◆ DataMemberSize()
size_t TScopeAdapter::DataMemberSize |
( |
| ) |
const |
◆ DeclaringScope()
Definition at line 655 of file RootType.cxx.
658 std::string::size_type
pos =
name.rfind(
"::" );
659 if (
pos == std::string::npos )
661 TClass::GetClass( gInterpreter->ClassInfo_Factory(
"" ) ) );
◆ Destruct()
void TScopeAdapter::Destruct |
( |
void * |
place | ) |
const |
◆ EnableCintex()
static void TScopeAdapter::EnableCintex |
( |
| ) |
|
|
inlinestatic |
◆ FunctionMemberAt()
◆ FunctionMemberSize()
size_t TScopeAdapter::FunctionMemberSize |
( |
| ) |
const |
◆ Id()
void* TScopeAdapter::Id |
( |
| ) |
const |
|
inline |
◆ Init()
void TScopeAdapter::Init |
( |
const std::string & |
name, |
|
|
Bool_t |
load, |
|
|
Bool_t |
quiet |
|
) |
| |
|
private |
Definition at line 519 of file RootType.cxx.
521 const string anonnmsp(
"(anonymous)");
533 fClass = TClassRef( scoped_name.c_str() );
540 if( gROOT->GetType(
name.c_str()) ) {
542 }
else if( TEnum::GetEnum(
name.c_str(),
load ? TEnum::kALoadAndInterpLookup : TEnum::kNone) ) {
◆ IsAbstract()
Bool_t TScopeAdapter::IsAbstract |
( |
| ) |
const |
◆ IsArray()
Bool_t TScopeAdapter::IsArray |
( |
| ) |
const |
◆ IsClass()
Bool_t TScopeAdapter::IsClass |
( |
| ) |
const |
◆ IsComplete()
Bool_t TScopeAdapter::IsComplete |
( |
| ) |
const |
Definition at line 895 of file RootType.cxx.
900 TClass*
klass = TClass::GetClass( scname.c_str(),
true,
true );
903 b =
klass->HasDictionary();
906 ClassInfo_t* ci = gInterpreter->ClassInfo_Factory( scname.c_str() );
908 b = gInterpreter->ClassInfo_IsLoaded( ci );
909 gInterpreter->ClassInfo_Delete( ci );
◆ IsEnum()
Bool_t TScopeAdapter::IsEnum |
( |
| ) |
const |
◆ IsFundamental()
Bool_t TScopeAdapter::IsFundamental |
( |
| ) |
const |
◆ IsNamespace()
Bool_t TScopeAdapter::IsNamespace |
( |
| ) |
const |
◆ IsPointer()
Bool_t TScopeAdapter::IsPointer |
( |
| ) |
const |
◆ IsStruct()
Bool_t TScopeAdapter::IsStruct |
( |
| ) |
const |
◆ IsTemplateInstance()
Bool_t TScopeAdapter::IsTemplateInstance |
( |
| ) |
const |
◆ IsTopScope()
Bool_t TScopeAdapter::IsTopScope |
( |
| ) |
const |
Definition at line 725 of file RootType.cxx.
728 return fClass->GetClassInfo() == gInterpreter->ClassInfo_Factory(
"" );
◆ IsTypedef()
Bool_t TScopeAdapter::IsTypedef |
( |
| ) |
const |
◆ Name()
std::string TScopeAdapter::Name |
( |
unsigned int |
mod = Reflex::SCOPED | ) |
const |
Definition at line 612 of file RootType.cxx.
635 for ( std::string::size_type
pos =
name.size() - 1; 0 <
pos; --
pos ) {
636 std::string::value_type
c =
name[
pos ];
643 else if ( tpl_open == 0 &&
c ==
':' && 0 <
pos &&
name[
pos-1 ] ==
':' ) {
◆ operator Bool_t()
TScopeAdapter::operator Bool_t |
( |
| ) |
const |
Definition at line 879 of file RootType.cxx.
882 if(
fName.empty() )
return false;
887 if( !
klass )
return false;
888 if(
klass->HasDictionary() )
return true;
◆ operator TClass *()
TScopeAdapter::operator TClass * |
( |
| ) |
const |
|
inline |
◆ operator!=()
Definition at line 190 of file RootType.h.
191 return ! (*
this == rh);
◆ operator<()
◆ operator==()
◆ Properties()
◆ SizeOf()
size_t TScopeAdapter::SizeOf |
( |
| ) |
const |
Definition at line 765 of file RootType.cxx.
768 return fClass.GetClass()->Size();
770 const TDataType* fundType = gROOT->GetType(
fName.c_str());
772 return fundType->Size();
◆ TemplateArgumentAt()
TScopeAdapter TScopeAdapter::TemplateArgumentAt |
( |
size_t |
nth | ) |
const |
Definition at line 819 of file RootType.cxx.
824 size_t tpl_open = 0, argcount = 0;
825 std::string::size_type last = 0;
826 for ( std::string::size_type
pos = 0;
pos <
name.size(); ++
pos ) {
827 std::string::value_type
c =
name[
pos];
832 if (tpl_open == 1) last =
pos+1;
834 }
else if (
c ==
'>' && tpl_open > 0) {
837 if ((
c ==
',' && tpl_open == 1) || (
c ==
'>' && tpl_open == 0)) {
838 if ( argcount++ == nth ) {
842 R__WRITE_LOCKGUARD(ROOT::gCoreMutex);
844 TClassEdit::CleanType(
name.substr(last,
pos-last).c_str(), 1 );
852 assert( !
"miscount between TemplateArgumentSize() and TemplateArgumentAt()" );
◆ TemplateArgumentSize()
size_t TScopeAdapter::TemplateArgumentSize |
( |
| ) |
const |
Definition at line 857 of file RootType.cxx.
861 size_t tpl_open = 0, argcount = 0;
862 for ( std::string::size_type
pos = 0;
pos <
name.size(); ++
pos ) {
863 std::string::value_type
c =
name[
pos];
869 }
else if (
c ==
'>' && tpl_open > 0 )
872 if ((
c ==
',' && tpl_open == 1) || (
c ==
'>' && tpl_open == 0))
◆ ToType()
◆ TypeAt()
Definition at line 593 of file RootType.cxx.
595 R__READ_LOCKGUARD (ROOT::gCoreMutex);
596 const char *
class_name = gClassTable->At( nth );
◆ TypeInfo()
const type_info & TScopeAdapter::TypeInfo |
( |
| ) |
const |
◆ TypeOf()
◆ TypeSize()
size_t TScopeAdapter::TypeSize |
( |
| ) |
|
|
static |
Definition at line 602 of file RootType.cxx.
606 R__READ_LOCKGUARD (ROOT::gCoreMutex);
608 return tab ? tab->Classes() : 0;
◆ fClass
TClassRef TScopeAdapter::fClass |
|
private |
◆ fIsFundamental
bool TScopeAdapter::fIsFundamental = false |
|
private |
◆ fName
std::string TScopeAdapter::fName |
|
private |
The documentation for this class was generated from the following files: