Flutter Engine
The Flutter Engine
Classes | Public Member Functions | List of all members
SkBlockAllocator::BlockIter< Forward, Const > Class Template Reference

#include <SkBlockAllocator.h>

Classes

class  Item
 

Public Member Functions

 BlockIter (AllocatorT *allocator)
 
Item begin () const
 
Item end () const
 

Detailed Description

template<bool Forward, bool Const>
class SkBlockAllocator::BlockIter< Forward, Const >

Definition at line 693 of file SkBlockAllocator.h.

Constructor & Destructor Documentation

◆ BlockIter()

template<bool Forward, bool Const>
SkBlockAllocator::BlockIter< Forward, Const >::BlockIter ( AllocatorT *  allocator)
inline

Definition at line 700 of file SkBlockAllocator.h.

700: fAllocator(allocator) {}

Member Function Documentation

◆ begin()

template<bool Forward, bool Const>
Item SkBlockAllocator::BlockIter< Forward, Const >::begin ( ) const
inline

Definition at line 734 of file SkBlockAllocator.h.

734{ return Item(Forward ? &fAllocator->fHead : fAllocator->fTail); }

◆ end()

template<bool Forward, bool Const>
Item SkBlockAllocator::BlockIter< Forward, Const >::end ( ) const
inline

Definition at line 735 of file SkBlockAllocator.h.

735{ return Item(nullptr); }

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