WTF
WTF::RefCounted< T > Class Template Reference
#include <RefCounted.h>
Inheritance diagram for WTF::RefCounted< T >:

Detailed Description
template<class T>
class WTF::RefCounted< T >
Definition at line 29 of file RefCounted.h.
Public Member Functions | |
void | deref () |
bool | hasOneRef () |
void | ref () |
int | refCount () const |
RefCounted (int initialRefCount=1) |
Constructor & Destructor Documentation
template<class T>
WTF::RefCounted< T >::RefCounted | ( | int | initialRefCount = 1 |
) | [inline] |
Definition at line 31 of file RefCounted.h.
Member Function Documentation
template<class T>
void WTF::RefCounted< T >::deref | ( | ) | [inline] |
Definition at line 45 of file RefCounted.h.
template<class T>
bool WTF::RefCounted< T >::hasOneRef | ( | ) | [inline] |
Definition at line 58 of file RefCounted.h.
template<class T>
void WTF::RefCounted< T >::ref | ( | ) | [inline] |
Definition at line 39 of file RefCounted.h.
template<class T>
int WTF::RefCounted< T >::refCount | ( | ) | const [inline] |
Definition at line 64 of file RefCounted.h.
The documentation for this class was generated from the following file: