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

#include <intrusive-set.h>

Collaboration diagram for v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >:

Classes

class  end_iterator
 
class  iterator
 

Public Member Functions

 IntrusiveSet (Container container, GetIntrusiveSetIndex index_functor={})
 
bool Contains (T x) const
 
void Add (T x)
 
void Remove (T x)
 
iterator begin () const
 
end_iterator end () const
 

Private Member Functions

size_t & Index (T x) const
 

Private Attributes

Container elements_
 
GetIntrusiveSetIndex index_functor_
 

Detailed Description

template<class T, class GetIntrusiveSetIndex, class Container>
class v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >

Definition at line 40 of file intrusive-set.h.

Constructor & Destructor Documentation

◆ IntrusiveSet()

template<class T , class GetIntrusiveSetIndex , class Container >
v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::IntrusiveSet ( Container container,
GetIntrusiveSetIndex index_functor = {} )
inlineexplicit

Definition at line 46 of file intrusive-set.h.

Member Function Documentation

◆ Add()

template<class T , class GetIntrusiveSetIndex , class Container >
void v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::Add ( T x)
inline

Definition at line 56 of file intrusive-set.h.

Here is the call graph for this function:

◆ begin()

template<class T , class GetIntrusiveSetIndex , class Container >
iterator v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::begin ( ) const
inline

Definition at line 114 of file intrusive-set.h.

◆ Contains()

template<class T , class GetIntrusiveSetIndex , class Container >
bool v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::Contains ( T x) const
inline

Definition at line 53 of file intrusive-set.h.

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

◆ end()

template<class T , class GetIntrusiveSetIndex , class Container >
end_iterator v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::end ( ) const
inline

Definition at line 115 of file intrusive-set.h.

◆ Index()

template<class T , class GetIntrusiveSetIndex , class Container >
size_t & v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::Index ( T x) const
inlineprivate

Definition at line 121 of file intrusive-set.h.

Here is the caller graph for this function:

◆ Remove()

template<class T , class GetIntrusiveSetIndex , class Container >
void v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::Remove ( T x)
inline

Definition at line 64 of file intrusive-set.h.

Here is the call graph for this function:

Member Data Documentation

◆ elements_

template<class T , class GetIntrusiveSetIndex , class Container >
Container v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::elements_
private

Definition at line 118 of file intrusive-set.h.

◆ index_functor_

template<class T , class GetIntrusiveSetIndex , class Container >
GetIntrusiveSetIndex v8::base::IntrusiveSet< T, GetIntrusiveSetIndex, Container >::index_functor_
private

Definition at line 119 of file intrusive-set.h.


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