#include <SkGroupShape.h>
Public Member Functions | |
SkTRefCnt () | |
~SkTRefCnt () | |
int32_t | getRefCnt () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static void | SafeRef (const SkTRefCnt *obj) |
static void | SafeUnref (const SkTRefCnt *obj) |
Definition at line 9 of file SkGroupShape.h.
Definition at line 11 of file SkGroupShape.h.
Definition at line 12 of file SkGroupShape.h.
int32_t SkTRefCnt< T >::getRefCnt | ( | ) | const [inline] |
Definition at line 14 of file SkGroupShape.h.
void SkTRefCnt< T >::ref | ( | ) | const [inline] |
Increment the reference count. Must be balanced by a call to unref().
Definition at line 18 of file SkGroupShape.h.
static void SkTRefCnt< T >::SafeRef | ( | const SkTRefCnt< T > * | obj | ) | [inline, static] |
Definition at line 36 of file SkGroupShape.h.
static void SkTRefCnt< T >::SafeUnref | ( | const SkTRefCnt< T > * | obj | ) | [inline, static] |
Definition at line 42 of file SkGroupShape.h.
void SkTRefCnt< T >::unref | ( | ) | const [inline] |
Decrement the reference count. If the reference count is 1 before the decrement, then call delete on the object. Note that if this is the case, then the object needs to have been allocated via new, and not on the stack.
Definition at line 28 of file SkGroupShape.h.