Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
sktext::gpu::SubRunList::Iterator Class Reference

#include <SubRunContainer.h>

Public Types

using value_type = SubRun
 
using difference_type = ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 Iterator (SubRun *subRun)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &rhs) const
 
bool operator!= (const Iterator &rhs) const
 
reference operator* ()
 

Detailed Description

Definition at line 167 of file SubRunContainer.h.

Member Typedef Documentation

◆ difference_type

Definition at line 170 of file SubRunContainer.h.

◆ iterator_category

Definition at line 173 of file SubRunContainer.h.

◆ pointer

Definition at line 171 of file SubRunContainer.h.

◆ reference

Definition at line 172 of file SubRunContainer.h.

◆ value_type

Definition at line 169 of file SubRunContainer.h.

Constructor & Destructor Documentation

◆ Iterator()

sktext::gpu::SubRunList::Iterator::Iterator ( SubRun subRun)
inline

Definition at line 174 of file SubRunContainer.h.

174: fPtr{subRun} { }

Member Function Documentation

◆ operator!=()

bool sktext::gpu::SubRunList::Iterator::operator!= ( const Iterator rhs) const
inline

Definition at line 178 of file SubRunContainer.h.

178{ return fPtr != rhs.fPtr; }

◆ operator*()

reference sktext::gpu::SubRunList::Iterator::operator* ( )
inline

Definition at line 179 of file SubRunContainer.h.

179{ return *fPtr; }

◆ operator++() [1/2]

Iterator & sktext::gpu::SubRunList::Iterator::operator++ ( )
inline

Definition at line 175 of file SubRunContainer.h.

175{ fPtr = fPtr->fNext.get(); return *this; }

◆ operator++() [2/2]

Iterator sktext::gpu::SubRunList::Iterator::operator++ ( int  )
inline

Definition at line 176 of file SubRunContainer.h.

176{ Iterator tmp(*this); operator++(); return tmp; }

◆ operator==()

bool sktext::gpu::SubRunList::Iterator::operator== ( const Iterator rhs) const
inline

Definition at line 177 of file SubRunContainer.h.

177{ return fPtr == rhs.fPtr; }

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