Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
sk_tools::Registry< T >::Range::Iterator Struct Reference

#include <Registry.h>

Public Member Functions

const Toperator* ()
 
void operator++ ()
 
bool operator!= (const Iterator &other) const
 

Public Attributes

const RegistryfPtr
 

Detailed Description

template<typename T>
struct sk_tools::Registry< T >::Range::Iterator

Definition at line 36 of file Registry.h.

Member Function Documentation

◆ operator!=()

template<typename T >
bool sk_tools::Registry< T >::Range::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 40 of file Registry.h.

40{ return fPtr != other.fPtr; }

◆ operator*()

template<typename T >
const T & sk_tools::Registry< T >::Range::Iterator::operator* ( )
inline

Definition at line 38 of file Registry.h.

38{ return SkASSERT(fPtr), fPtr->get(); }
#define SkASSERT(cond)
Definition SkAssert.h:116
const T & get() const
Definition Registry.h:32

◆ operator++()

template<typename T >
void sk_tools::Registry< T >::Range::Iterator::operator++ ( )
inline

Definition at line 39 of file Registry.h.

39{ if (fPtr) { fPtr = fPtr->next(); } }
const Registry * next() const
Definition Registry.h:31

Member Data Documentation

◆ fPtr

template<typename T >
const Registry* sk_tools::Registry< T >::Range::Iterator::fPtr

Definition at line 37 of file Registry.h.


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