ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | List of all members
TRefCnt Class Reference

Definitions for TRefCnt, base class for reference counted objects.

Definition at line 29 of file TRefCnt.h.

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>

Inheritance diagram for TRefCnt:
[legend]

Member Enumeration Documentation

Enumerator
kStaticInit 

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  )

Leave fRefs alone.

Definition at line 27 of file TRefCnt.cxx.

virtual TRefCnt::~TRefCnt ( )
inlinevirtual

Definition at line 39 of file TRefCnt.h.

Member Function Documentation

void TRefCnt::AddReference ( )
inline
UInt_t TRefCnt::References ( ) const
inline
UInt_t TRefCnt::RemoveReference ( )
inline
void TRefCnt::SetRefCount ( UInt_t  r)
inline

Member Data Documentation

UInt_t TRefCnt::fRefs
protected

Definition at line 32 of file TRefCnt.h.

Referenced by AddReference(), References(), RemoveReference(), and SetRefCount().


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