TRefCnt Class Reference

#include <TRefCnt.h>

Inheritance diagram for TRefCnt:

TGFont TGFont TGGC TGGC TGLayoutHints TGLayoutHints TGPicture TGPicture TGRegionData TNamedFont TQSlot TStringRef TStringRef List of all members.

Public Types

enum  EReferenceFlag
enum  EReferenceFlag

Public Member Functions

 TRefCnt (Int_t initRef=0)
 TRefCnt (EReferenceFlag)
virtual ~TRefCnt ()
UInt_t References () const
void SetRefCount (UInt_t r)
void AddReference ()
UInt_t RemoveReference ()
 TRefCnt (Int_t initRef=0)
 TRefCnt (EReferenceFlag)
virtual ~TRefCnt ()
UInt_t References () const
void SetRefCount (UInt_t r)
void AddReference ()
UInt_t RemoveReference ()

Protected Attributes

UInt_t fRefs

Detailed Description

Definition at line 29 of file TRefCnt.h.


Member Enumeration Documentation

enum TRefCnt::EReferenceFlag

Definition at line 35 of file TRefCnt.h.

enum TRefCnt::EReferenceFlag

Definition at line 35 of file TRefCnt.h.


Constructor & Destructor Documentation

TRefCnt::TRefCnt ( Int_t  initRef = 0  )  [inline]

Definition at line 37 of file TRefCnt.h.

TRefCnt::TRefCnt ( EReferenceFlag   ) 

Definition at line 29 of file TRefCnt.cxx.

virtual TRefCnt::~TRefCnt (  )  [inline, virtual]

Definition at line 39 of file TRefCnt.h.

TRefCnt::TRefCnt ( Int_t  initRef = 0  )  [inline]

Definition at line 37 of file TRefCnt.h.

TRefCnt::TRefCnt ( EReferenceFlag   ) 

virtual TRefCnt::~TRefCnt (  )  [inline, virtual]

Definition at line 39 of file TRefCnt.h.


Member Function Documentation

UInt_t TRefCnt::References (  )  const [inline]

Definition at line 40 of file TRefCnt.h.

References fRefs.

Referenced by TGCompositeFrame::Cleanup(), TRootBrowser::CloseWindow(), TString::Cow(), TGGCPool::ForceFreeGC(), TQSlotPool::Free(), TGPicture::Print(), TGFont::Print(), TGGC::Print(), TQSlot::Print(), TRootBrowser::RemoveTab(), and TGuiBldHintsEditor::UpdateState().

void TRefCnt::SetRefCount ( UInt_t  r  )  [inline]

Definition at line 41 of file TRefCnt.h.

References fRefs.

Referenced by TStringRef::GetRep(), TGFont::TGFont(), TGGC::TGGC(), TGLayoutHints::TGLayoutHints(), and TGPicture::TGPicture().

void TRefCnt::AddReference (  )  [inline]

Definition at line 42 of file TRefCnt.h.

References fRefs.

Referenced by TGFileContainer::AddFile(), TGFileContainer::AddRemoteFile(), TGFileBrowser::AddRemoteFile(), TGListTree::GetCheckedPic(), TGListTree::GetClosedPic(), TGGCPool::GetGC(), TGListTree::GetOpenPic(), TGPicturePool::GetPicture(), TGListTree::GetUncheckedPic(), TQSlotPool::New(), TGListTreeItemStd::SetCheckBoxPictures(), TGPictureButton::SetDisabledPicture(), TGListTreeItemStd::SetPictures(), TGRegion::TGRegion(), TQConnection::TQConnection(), TString::TString(), and TGLineLBEntry::Update().

UInt_t TRefCnt::RemoveReference (  )  [inline]

Definition at line 43 of file TRefCnt.h.

References fRefs.

Referenced by TGCompositeFrame::Cleanup(), TRootBrowser::CloseWindow(), TQSlotPool::Free(), TGGCPool::FreeGC(), TGPicturePool::FreePicture(), TGRegion::operator=(), TGCompositeFrame::RemoveAll(), TRootBrowser::RemoveTab(), TStringRef::UnLink(), TGuiBldHintsEditor::UpdateState(), and TGRegion::~TGRegion().

UInt_t TRefCnt::References (  )  const [inline]

Definition at line 40 of file TRefCnt.h.

References fRefs.

void TRefCnt::SetRefCount ( UInt_t  r  )  [inline]

Definition at line 41 of file TRefCnt.h.

References fRefs.

void TRefCnt::AddReference (  )  [inline]

Definition at line 42 of file TRefCnt.h.

References fRefs.

UInt_t TRefCnt::RemoveReference (  )  [inline]

Definition at line 43 of file TRefCnt.h.

References fRefs.


Member Data Documentation

UInt_t TRefCnt::fRefs [protected]

Definition at line 32 of file TRefCnt.h.

Referenced by AddReference(), TGRegionData::operator=(), References(), RemoveReference(), and SetRefCount().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:46:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1