library: libCore
#include "TRefCnt.h"

TRefCnt


class description - header file
viewCVS header

class TRefCnt

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TRefCnt(Int_t initRef = 0)
TRefCnt(TRefCnt::EReferenceFlag)
TRefCnt(const TRefCnt&)
virtual~TRefCnt()
voidAddReference()
TRefCnt&operator=(const TRefCnt&)
UInt_tReferences() const
UInt_tRemoveReference()
voidSetRefCount(UInt_t r)

Data Members

public:
enum EReferenceFlag { kStaticInit
};
protected:
UInt_tfRefs(1 less than) number of references

Class Description

TRefCnt(Int_t initRef = 0)
{ }
TRefCnt(EReferenceFlag)
virtual ~TRefCnt()
{ }
UInt_t References()
{ return fRefs+1; }
void SetRefCount(UInt_t r)
{ fRefs = r-1; }
void AddReference()
{ fRefs++; }
UInt_t RemoveReference()
{ return fRefs--; }

Last update: Tue Nov 21 09:35:29 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.