Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SkPtrSet::Iter Class Reference

#include <SkPtrRecorder.h>

Public Member Functions

 Iter (const SkPtrSet &set)
 
void * next ()
 

Detailed Description

Set iterator.

Definition at line 65 of file SkPtrRecorder.h.

Constructor & Destructor Documentation

◆ Iter()

SkPtrSet::Iter::Iter ( const SkPtrSet set)
inline

Definition at line 67 of file SkPtrRecorder.h.

68 : fSet(set)
69 , fIndex(0) {}

Member Function Documentation

◆ next()

void * SkPtrSet::Iter::next ( )
inline

Return the next ptr in the set or null if the end was reached.

Definition at line 74 of file SkPtrRecorder.h.

74 {
75 return fIndex < fSet.fList.size() ? fSet.fList[fIndex++].fPtr : nullptr;
76 }
int size() const
Definition SkTDArray.h:138

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