ATLAS Offline Software
Loading...
Searching...
No Matches
TBaseAdapter Class Reference

#include <RootType.h>

Collaboration diagram for TBaseAdapter:

Public Member Functions

 TBaseAdapter (TBaseClass *base)
 operator Bool_t () const
std::string Name () const
TScopeAdapter ToType ATLAS_NOT_THREAD_SAFE () const

Private Attributes

TBaseClass * fBase

Detailed Description

Definition at line 104 of file RootType.h.

Constructor & Destructor Documentation

◆ TBaseAdapter()

TBaseAdapter::TBaseAdapter ( TBaseClass * base)
inline

Definition at line 106 of file RootType.h.

106: fBase( base ) {}
TBaseClass * fBase
Definition RootType.h:115
std::string base
Definition hcg.cxx:81

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

TScopeAdapter ToType TBaseAdapter::ATLAS_NOT_THREAD_SAFE ( ) const

◆ Name()

std::string TBaseAdapter::Name ( ) const

Definition at line 361 of file RootType.cxx.

362{
363// get the name of the base class that is being adapted
364 return fBase->GetName();
365}

◆ operator Bool_t()

TBaseAdapter::operator Bool_t ( ) const
inline

Definition at line 107 of file RootType.h.

107{ return fBase != 0; }

Member Data Documentation

◆ fBase

TBaseClass* TBaseAdapter::fBase
private

Definition at line 115 of file RootType.h.


The documentation for this class was generated from the following files: