Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ArrayOfTuplesView< EnumType, TupleT, kStartOffset >::Iterator Class Reference

#include <object.h>

Public Member Functions

 Iterator (const Array &array, intptr_t index)
 
bool operator== (const Iterator &other)
 
bool operator!= (const Iterator &other)
 
const TupleViewoperator* () const
 
Iteratoroperator++ ()
 

Detailed Description

template<typename EnumType, typename TupleT, int kStartOffset = 0>
class dart::ArrayOfTuplesView< EnumType, TupleT, kStartOffset >::Iterator

Definition at line 13497 of file object.h.

Constructor & Destructor Documentation

◆ Iterator()

template<typename EnumType , typename TupleT , int kStartOffset = 0>
dart::ArrayOfTuplesView< EnumType, TupleT, kStartOffset >::Iterator::Iterator ( const Array array,
intptr_t  index 
)
inline

Definition at line 13499 of file object.h.

13499: entry_(array, index) {}

Member Function Documentation

◆ operator!=()

template<typename EnumType , typename TupleT , int kStartOffset = 0>
bool dart::ArrayOfTuplesView< EnumType, TupleT, kStartOffset >::Iterator::operator!= ( const Iterator other)
inline

Definition at line 13504 of file object.h.

13504 {
13505 return entry_.index_ != other.entry_.index_;
13506 }

◆ operator*()

template<typename EnumType , typename TupleT , int kStartOffset = 0>
const TupleView & dart::ArrayOfTuplesView< EnumType, TupleT, kStartOffset >::Iterator::operator* ( ) const
inline

Definition at line 13508 of file object.h.

13508{ return entry_; }

◆ operator++()

template<typename EnumType , typename TupleT , int kStartOffset = 0>
Iterator & dart::ArrayOfTuplesView< EnumType, TupleT, kStartOffset >::Iterator::operator++ ( )
inline

Definition at line 13510 of file object.h.

13510 {
13511 entry_.index_ += EntrySize;
13512 return *this;
13513 }
static constexpr intptr_t EntrySize
Definition: object.h:13464

◆ operator==()

template<typename EnumType , typename TupleT , int kStartOffset = 0>
bool dart::ArrayOfTuplesView< EnumType, TupleT, kStartOffset >::Iterator::operator== ( const Iterator other)
inline

Definition at line 13501 of file object.h.

13501 {
13502 return entry_.index_ == other.entry_.index_;
13503 }

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