ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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 ) {}

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

TScopeAdapter ToType TBaseAdapter::ATLAS_NOT_THREAD_SAFE ( ) const

◆ Name()

std::string TBaseAdapter::Name ( ) const

Definition at line 356 of file RootType.cxx.

357 {
358 // get the name of the base class that is being adapted
359  return fBase->GetName();
360 }

◆ 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:
base
std::string base
Definition: hcg.cxx:78
TBaseAdapter::fBase
TBaseClass * fBase
Definition: RootType.h:115