v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator Class Referencefinal

#include <threaded-list.h>

Collaboration diagram for v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator:

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = T*
 
using reference = value_type
 
using pointer = value_type*
 

Public Member Functions

Iteratoroperator++ ()
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
T *& operator* ()
 
Toperator-> ()
 
Iteratoroperator= (T *entry)
 
bool is_null ()
 
void InsertBefore (T *value)
 
 Iterator ()
 

Private Member Functions

 Iterator (T **entry)
 

Private Attributes

T ** entry_
 

Friends

class ThreadedListBase
 

Detailed Description

template<typename T, typename BaseClass, typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
class v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator

Definition at line 183 of file threaded-list.h.

Member Typedef Documentation

◆ difference_type

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::difference_type = std::ptrdiff_t

Definition at line 186 of file threaded-list.h.

◆ iterator_category

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::iterator_category = std::forward_iterator_tag

Definition at line 185 of file threaded-list.h.

◆ pointer

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::pointer = value_type*

Definition at line 189 of file threaded-list.h.

◆ reference

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::reference = value_type

Definition at line 188 of file threaded-list.h.

◆ value_type

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::value_type = T*

Definition at line 187 of file threaded-list.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::Iterator ( )
inline

Definition at line 220 of file threaded-list.h.

◆ Iterator() [2/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::Iterator ( T ** entry)
inlineexplicitprivate

Definition at line 223 of file threaded-list.h.

Member Function Documentation

◆ InsertBefore()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
void v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::InsertBefore ( T * value)
inline

Definition at line 213 of file threaded-list.h.

◆ is_null()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::is_null ( )
inline

Definition at line 211 of file threaded-list.h.

◆ operator!=()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::operator!= ( const Iterator & other) const
inline

Definition at line 199 of file threaded-list.h.

◆ operator*()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T *& v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::operator* ( )
inline

Definition at line 202 of file threaded-list.h.

◆ operator++()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
Iterator & v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::operator++ ( )
inline

Definition at line 192 of file threaded-list.h.

◆ operator->()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T * v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::operator-> ( )
inline

Definition at line 203 of file threaded-list.h.

◆ operator=()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
Iterator & v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::operator= ( T * entry)
inline

Definition at line 204 of file threaded-list.h.

◆ operator==()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::operator== ( const Iterator & other) const
inline

Definition at line 196 of file threaded-list.h.

Friends And Related Symbol Documentation

◆ ThreadedListBase

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
friend class ThreadedListBase
friend

Definition at line 227 of file threaded-list.h.

Member Data Documentation

◆ entry_

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T** v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::Iterator::entry_
private

Definition at line 225 of file threaded-list.h.


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