ROOT
6.07/01
Reference Guide
|
Definitions for TRefCnt, base class for reference counted objects.
Public Types | |
enum | EReferenceFlag { kStaticInit } |
Public Member Functions | |
TRefCnt (Int_t initRef=0) | |
TRefCnt (EReferenceFlag) | |
Leave fRefs alone. More... | |
virtual | ~TRefCnt () |
UInt_t | References () const |
void | SetRefCount (UInt_t r) |
void | AddReference () |
UInt_t | RemoveReference () |
Protected Attributes | |
UInt_t | fRefs |
#include <TRefCnt.h>
TRefCnt::TRefCnt | ( | EReferenceFlag | ) |
Leave fRefs alone.
Definition at line 27 of file TRefCnt.cxx.
|
inline |
Definition at line 42 of file TRefCnt.h.
Referenced by TGFileContainer::AddFile(), TGFileBrowser::AddRemoteFile(), TGFileContainer::AddRemoteFile(), TGFontPool::GetFont(), TGGCPool::GetGC(), TGPicturePool::GetPicture(), TGListTreeItemStd::SetCheckBoxPictures(), TGPictureButton::SetDisabledPicture(), TGListTreeItemStd::SetPictures(), TGLineLBEntry::Update(), and TGuiBldHintsEditor::UpdateState().
|
inline |
Definition at line 40 of file TRefCnt.h.
Referenced by TGCompositeFrame::Cleanup(), TRootBrowser::CloseTabs(), TGGCPool::ForceFreeGC(), TGPicture::Print(), TGGC::Print(), TGFont::Print(), TRootBrowser::RemoveTab(), and TGuiBldHintsEditor::UpdateState().
|
inline |
Definition at line 43 of file TRefCnt.h.
Referenced by TGCompositeFrame::Cleanup(), TRootBrowser::CloseTabs(), TGFontPool::FreeFont(), TGGCPool::FreeGC(), TGPicturePool::FreePicture(), TGCompositeFrame::RemoveAll(), TGCompositeFrame::RemoveFrame(), TRootBrowser::RemoveTab(), and TGuiBldHintsEditor::UpdateState().
Definition at line 41 of file TRefCnt.h.
Referenced by TGFontPool::GetFont(), TGFont::TGFont(), TGGC::TGGC(), TGLayoutHints::TGLayoutHints(), and TGPicture::TGPicture().
|
protected |
Definition at line 32 of file TRefCnt.h.
Referenced by AddReference(), References(), RemoveReference(), and SetRefCount().