v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::DoublyThreadedList< T, DTLTraits > Class Template Reference

#include <doubly-threaded-list.h>

Collaboration diagram for v8::base::DoublyThreadedList< T, DTLTraits >:

Classes

class  end_iterator
 
class  iterator
 

Public Member Functions

 DoublyThreadedList ()=default
 
 DoublyThreadedList (DoublyThreadedList &&other) V8_NOEXCEPT
 
void PushFront (T x)
 
T Front () const
 
void PopFront ()
 
bool empty () const
 
iterator begin () const
 
end_iterator end () const
 
iterator RemoveAt (iterator &it)
 
bool Contains (T needle) const
 
bool ContainsSlow (T needle) const
 

Static Public Member Functions

static void Remove (T x)
 

Static Private Member Functions

static bool empty (T x)
 

Private Attributes

T head_ {}
 

Detailed Description

template<class T, class DTLTraits = DoublyThreadedListTraits<T>>
class v8::base::DoublyThreadedList< T, DTLTraits >

Definition at line 30 of file doubly-threaded-list.h.

Constructor & Destructor Documentation

◆ DoublyThreadedList() [1/2]

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
v8::base::DoublyThreadedList< T, DTLTraits >::DoublyThreadedList ( )
default

◆ DoublyThreadedList() [2/2]

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
v8::base::DoublyThreadedList< T, DTLTraits >::DoublyThreadedList ( DoublyThreadedList< T, DTLTraits > && other)
inline

Definition at line 84 of file doubly-threaded-list.h.

Member Function Documentation

◆ begin()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
iterator v8::base::DoublyThreadedList< T, DTLTraits >::begin ( ) const
inline

Definition at line 117 of file doubly-threaded-list.h.

Here is the caller graph for this function:

◆ Contains()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
bool v8::base::DoublyThreadedList< T, DTLTraits >::Contains ( T needle) const
inline

Definition at line 131 of file doubly-threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContainsSlow()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
bool v8::base::DoublyThreadedList< T, DTLTraits >::ContainsSlow ( T needle) const
inline

Definition at line 137 of file doubly-threaded-list.h.

Here is the caller graph for this function:

◆ empty() [1/2]

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
bool v8::base::DoublyThreadedList< T, DTLTraits >::empty ( ) const
inline

Definition at line 115 of file doubly-threaded-list.h.

Here is the caller graph for this function:

◆ empty() [2/2]

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
static bool v8::base::DoublyThreadedList< T, DTLTraits >::empty ( T x)
inlinestaticprivate

Definition at line 147 of file doubly-threaded-list.h.

◆ end()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
end_iterator v8::base::DoublyThreadedList< T, DTLTraits >::end ( ) const
inline

Definition at line 118 of file doubly-threaded-list.h.

Here is the caller graph for this function:

◆ Front()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
T v8::base::DoublyThreadedList< T, DTLTraits >::Front ( ) const
inline

Definition at line 105 of file doubly-threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PopFront()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
void v8::base::DoublyThreadedList< T, DTLTraits >::PopFront ( )
inline

Definition at line 110 of file doubly-threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PushFront()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
void v8::base::DoublyThreadedList< T, DTLTraits >::PushFront ( T x)
inline

Definition at line 94 of file doubly-threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Remove()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
static void v8::base::DoublyThreadedList< T, DTLTraits >::Remove ( T x)
inlinestatic

Definition at line 65 of file doubly-threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveAt()

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
iterator v8::base::DoublyThreadedList< T, DTLTraits >::RemoveAt ( iterator & it)
inline

Definition at line 123 of file doubly-threaded-list.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ head_

template<class T , class DTLTraits = DoublyThreadedListTraits<T>>
T v8::base::DoublyThreadedList< T, DTLTraits >::head_ {}
private

Definition at line 148 of file doubly-threaded-list.h.


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