v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SmallPointerList< T > Class Template Reference

#include <small-pointer-list.h>

Public Member Functions

 SmallPointerList ()
 
 SmallPointerList (int capacity, Zone *zone)
 
void Reserve (int capacity, Zone *zone)
 
void Clear ()
 
void Sort ()
 
bool is_empty () const
 
int length () const
 
void Add (T *pointer, Zone *zone)
 
Tat (int i) const
 
Toperator[] (int i) const
 
void RemoveElement (T *pointer)
 
TRemoveLast ()
 
void Rewind (int pos)
 
int CountOccurrences (T *pointer, int start, int end) const
 

Detailed Description

template<typename T>
class v8::internal::SmallPointerList< T >

Definition at line 43 of file small-pointer-list.h.

Constructor & Destructor Documentation

SmallPointerList ( )
inline

Definition at line 45 of file small-pointer-list.h.

SmallPointerList ( int  capacity,
Zone zone 
)
inline

Definition at line 47 of file small-pointer-list.h.

Member Function Documentation

void Add ( T pointer,
Zone zone 
)
inline

Definition at line 86 of file small-pointer-list.h.

T* at ( int  i) const
inline
void Clear ( )
inline

Definition at line 68 of file small-pointer-list.h.

int CountOccurrences ( T pointer,
int  start,
int  end 
) const
inline

Definition at line 154 of file small-pointer-list.h.

bool is_empty ( ) const
inline

Definition at line 78 of file small-pointer-list.h.

int length ( ) const
inline
T* operator[] ( int  i) const
inline

Definition at line 115 of file small-pointer-list.h.

void RemoveElement ( T pointer)
inline

Definition at line 118 of file small-pointer-list.h.

T* RemoveLast ( )
inline

Definition at line 129 of file small-pointer-list.h.

void Reserve ( int  capacity,
Zone zone 
)
inline
void Rewind ( int  pos)
inline

Definition at line 139 of file small-pointer-list.h.

void Sort ( )
inline

Definition at line 72 of file small-pointer-list.h.


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