#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 545 of file RootType.cxx.
546 :
fClass (TClassRef( TClass::GetClass(typeinfo) ) )
552 if (!
fClass.GetClass()->HasDictionary()) {
553 fClass = TClassRef( TClass::GetClass(typeinfo) );
558 size_t len =
sizeof(
buff);
560 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 773 of file RootType.cxx.
776 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 807 of file RootType.cxx.
810 return (TDataMember*)
fClass->GetListOfDataMembers()->At( nth );
◆ DataMemberSize()
size_t TScopeAdapter::DataMemberSize |
( |
| ) |
const |
◆ DeclaringScope()
Definition at line 650 of file RootType.cxx.
653 std::string::size_type
pos =
name.rfind(
"::" );
654 if (
pos == std::string::npos )
656 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 514 of file RootType.cxx.
516 const string anonnmsp(
"(anonymous)");
528 fClass = TClassRef( scoped_name.c_str() );
535 if( gROOT->GetType(
name.c_str()) ) {
537 }
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 890 of file RootType.cxx.
895 TClass*
klass = TClass::GetClass( scname.c_str(),
true,
true );
898 b =
klass->HasDictionary();
901 ClassInfo_t* ci = gInterpreter->ClassInfo_Factory( scname.c_str() );
903 b = gInterpreter->ClassInfo_IsLoaded( ci );
904 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 720 of file RootType.cxx.
723 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 607 of file RootType.cxx.
630 for ( std::string::size_type
pos =
name.size() - 1; 0 <
pos; --
pos ) {
631 std::string::value_type
c =
name[
pos ];
638 else if ( tpl_open == 0 &&
c ==
':' && 0 <
pos &&
name[
pos-1 ] ==
':' ) {
◆ operator Bool_t()
TScopeAdapter::operator Bool_t |
( |
| ) |
const |
Definition at line 874 of file RootType.cxx.
877 if(
fName.empty() )
return false;
882 if( !
klass )
return false;
883 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 760 of file RootType.cxx.
763 return fClass.GetClass()->Size();
765 const TDataType* fundType = gROOT->GetType(
fName.c_str());
767 return fundType->Size();
◆ TemplateArgumentAt()
TScopeAdapter TScopeAdapter::TemplateArgumentAt |
( |
size_t |
nth | ) |
const |
Definition at line 814 of file RootType.cxx.
819 size_t tpl_open = 0, argcount = 0;
820 std::string::size_type last = 0;
821 for ( std::string::size_type
pos = 0;
pos <
name.size(); ++
pos ) {
822 std::string::value_type
c =
name[
pos];
827 if (tpl_open == 1) last =
pos+1;
829 }
else if (
c ==
'>') {
832 if ((
c ==
',' && tpl_open == 1) || (
c ==
'>' && tpl_open == 0)) {
833 if ( argcount++ == nth ) {
837 R__WRITE_LOCKGUARD(ROOT::gCoreMutex);
839 TClassEdit::CleanType(
name.substr(last,
pos-last).c_str(), 1 );
847 assert( !
"miscount between TemplateArgumentSize() and TemplateArgumentAt()" );
◆ TemplateArgumentSize()
size_t TScopeAdapter::TemplateArgumentSize |
( |
| ) |
const |
Definition at line 852 of file RootType.cxx.
856 size_t tpl_open = 0, argcount = 0;
857 for ( std::string::size_type
pos = 0;
pos <
name.size(); ++
pos ) {
858 std::string::value_type
c =
name[
pos];
864 }
else if (
c ==
'>' )
867 if ((
c ==
',' && tpl_open == 1) || (
c ==
'>' && tpl_open == 0))
◆ ToType()
◆ TypeAt()
Definition at line 588 of file RootType.cxx.
590 R__READ_LOCKGUARD (ROOT::gCoreMutex);
591 const char *
class_name = gClassTable->At( nth );
◆ TypeInfo()
const type_info & TScopeAdapter::TypeInfo |
( |
| ) |
const |
◆ TypeOf()
◆ TypeSize()
size_t TScopeAdapter::TypeSize |
( |
| ) |
|
|
static |
Definition at line 597 of file RootType.cxx.
601 R__READ_LOCKGUARD (ROOT::gCoreMutex);
603 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: