v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ScopedList< T, TBacking > Class Template Referencefinal

#include <scoped-list.h>

Collaboration diagram for v8::internal::ScopedList< T, TBacking >:

Public Types

using iterator = T*
 
using const_iterator = const T*
 

Public Member Functions

 ScopedList (std::vector< TBacking > *buffer)
 
 ~ScopedList ()
 
void Rewind ()
 
void MergeInto (ScopedList *parent)
 
int length () const
 
const Tat (int i) const
 
Tat (int i)
 
base::Vector< const TToConstVector () const
 
void Add (const T &value)
 
void AddAll (base::Vector< const T > list)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 

Private Attributes

std::vector< TBacking > & buffer_
 
size_t start_
 
size_t end_
 

Detailed Description

template<typename T, typename TBacking = T>
class v8::internal::ScopedList< T, TBacking >

Definition at line 30 of file scoped-list.h.

Member Typedef Documentation

◆ const_iterator

template<typename T , typename TBacking = T>
using v8::internal::ScopedList< T, TBacking >::const_iterator = const T*

Definition at line 94 of file scoped-list.h.

◆ iterator

template<typename T , typename TBacking = T>
using v8::internal::ScopedList< T, TBacking >::iterator = T*

Definition at line 93 of file scoped-list.h.

Constructor & Destructor Documentation

◆ ScopedList()

template<typename T , typename TBacking = T>
v8::internal::ScopedList< T, TBacking >::ScopedList ( std::vector< TBacking > * buffer)
inlineexplicit

Definition at line 39 of file scoped-list.h.

◆ ~ScopedList()

template<typename T , typename TBacking = T>
v8::internal::ScopedList< T, TBacking >::~ScopedList ( )
inline

Definition at line 42 of file scoped-list.h.

Member Function Documentation

◆ Add()

template<typename T , typename TBacking = T>
void v8::internal::ScopedList< T, TBacking >::Add ( const T & value)
inline

Definition at line 78 of file scoped-list.h.

Here is the caller graph for this function:

◆ AddAll()

template<typename T , typename TBacking = T>
void v8::internal::ScopedList< T, TBacking >::AddAll ( base::Vector< const T > list)
inline

Definition at line 84 of file scoped-list.h.

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

◆ at() [1/2]

template<typename T , typename TBacking = T>
T & v8::internal::ScopedList< T, TBacking >::at ( int i)
inline

Definition at line 66 of file scoped-list.h.

◆ at() [2/2]

template<typename T , typename TBacking = T>
const T & v8::internal::ScopedList< T, TBacking >::at ( int i) const
inline

Definition at line 59 of file scoped-list.h.

Here is the caller graph for this function:

◆ begin() [1/2]

template<typename T , typename TBacking = T>
iterator v8::internal::ScopedList< T, TBacking >::begin ( )
inline

Definition at line 96 of file scoped-list.h.

◆ begin() [2/2]

template<typename T , typename TBacking = T>
const_iterator v8::internal::ScopedList< T, TBacking >::begin ( ) const
inline

Definition at line 99 of file scoped-list.h.

◆ end() [1/2]

template<typename T , typename TBacking = T>
iterator v8::internal::ScopedList< T, TBacking >::end ( )
inline

Definition at line 103 of file scoped-list.h.

◆ end() [2/2]

template<typename T , typename TBacking = T>
const_iterator v8::internal::ScopedList< T, TBacking >::end ( ) const
inline

Definition at line 104 of file scoped-list.h.

◆ length()

template<typename T , typename TBacking = T>
int v8::internal::ScopedList< T, TBacking >::length ( ) const
inline

Definition at line 57 of file scoped-list.h.

Here is the caller graph for this function:

◆ MergeInto()

template<typename T , typename TBacking = T>
void v8::internal::ScopedList< T, TBacking >::MergeInto ( ScopedList< T, TBacking > * parent)
inline

Definition at line 50 of file scoped-list.h.

◆ Rewind()

template<typename T , typename TBacking = T>
void v8::internal::ScopedList< T, TBacking >::Rewind ( )
inline

Definition at line 44 of file scoped-list.h.

◆ ToConstVector()

template<typename T , typename TBacking = T>
base::Vector< const T > v8::internal::ScopedList< T, TBacking >::ToConstVector ( ) const
inline

Definition at line 73 of file scoped-list.h.

Member Data Documentation

◆ buffer_

template<typename T , typename TBacking = T>
std::vector<TBacking>& v8::internal::ScopedList< T, TBacking >::buffer_
private

Definition at line 109 of file scoped-list.h.

◆ end_

template<typename T , typename TBacking = T>
size_t v8::internal::ScopedList< T, TBacking >::end_
private

Definition at line 111 of file scoped-list.h.

◆ start_

template<typename T , typename TBacking = T>
size_t v8::internal::ScopedList< T, TBacking >::start_
private

Definition at line 110 of file scoped-list.h.


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