Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkTPtrSet< T > Class Template Reference

#include <SkPtrRecorder.h>

Inheritance diagram for SkTPtrSet< T >:
SkPtrSet SkRefCnt SkRefCntBase

Public Member Functions

uint32_t find (T ptr)
 
uint32_t add (T ptr)
 
void copyToArray (T *array) const
 
- Public Member Functions inherited from SkPtrSet
uint32_t find (void *) const
 
uint32_t add (void *)
 
int count () const
 
void copyToArray (void *array[]) const
 
void reset ()
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Additional Inherited Members

- Protected Member Functions inherited from SkPtrSet
virtual void incPtr (void *)
 
virtual void decPtr (void *)
 

Detailed Description

template<typename T>
class SkTPtrSet< T >

Templated wrapper for SkPtrSet, just meant to automate typecasting parameters to and from void* (which the base class expects).

Definition at line 108 of file SkPtrRecorder.h.

Member Function Documentation

◆ add()

template<typename T >
uint32_t SkTPtrSet< T >::add ( T  ptr)
inline

Definition at line 113 of file SkPtrRecorder.h.

113 {
114 return this->INHERITED::add((void*)ptr);
115 }
uint32_t add(void *)

◆ copyToArray()

template<typename T >
void SkTPtrSet< T >::copyToArray ( T array) const
inline

Definition at line 117 of file SkPtrRecorder.h.

117 {
118 this->INHERITED::copyToArray((void**)array);
119 }
void copyToArray(void *array[]) const

◆ find()

template<typename T >
uint32_t SkTPtrSet< T >::find ( T  ptr)
inline

Definition at line 110 of file SkPtrRecorder.h.

110 {
111 return this->INHERITED::find((void*)ptr);
112 }
uint32_t find(void *) const

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