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

#include <SubRunContainer.h>

Classes

class  Iterator
 

Public Member Functions

void append (SubRunOwner subRun)
 
bool isEmpty () const
 
Iterator begin ()
 
Iterator end ()
 
Iterator begin () const
 
Iterator end () const
 
SubRunfront () const
 

Detailed Description

Definition at line 165 of file SubRunContainer.h.

Member Function Documentation

◆ append()

void sktext::gpu::SubRunList::append ( SubRunOwner  subRun)
inline

Definition at line 185 of file SubRunContainer.h.

185 {
186 SubRunOwner* newTail = &subRun->fNext;
187 *fTail = std::move(subRun);
188 fTail = newTail;
189 }
std::unique_ptr< SubRun, SubRunAllocator::Destroyer > SubRunOwner

◆ begin() [1/2]

Iterator sktext::gpu::SubRunList::begin ( )
inline

Definition at line 191 of file SubRunContainer.h.

191{ return Iterator{ fHead.get()}; }

◆ begin() [2/2]

Iterator sktext::gpu::SubRunList::begin ( ) const
inline

Definition at line 193 of file SubRunContainer.h.

193{ return Iterator{ fHead.get()}; }

◆ end() [1/2]

Iterator sktext::gpu::SubRunList::end ( )
inline

Definition at line 192 of file SubRunContainer.h.

192{ return Iterator{nullptr}; }

◆ end() [2/2]

Iterator sktext::gpu::SubRunList::end ( ) const
inline

Definition at line 194 of file SubRunContainer.h.

194{ return Iterator{nullptr}; }

◆ front()

SubRun & sktext::gpu::SubRunList::front ( ) const
inline

Definition at line 195 of file SubRunContainer.h.

195{return *fHead; }

◆ isEmpty()

bool sktext::gpu::SubRunList::isEmpty ( ) const
inline

Definition at line 190 of file SubRunContainer.h.

190{ return fHead == nullptr; }

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