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
ZoneList< T > Class Template Reference

#include <zone.h>

Inheritance diagram for ZoneList< T >:
Collaboration diagram for ZoneList< T >:

Public Member Functions

 ZoneList (int capacity, Zone *zone)
 
 INLINE (void *operator new(size_t size, Zone *zone))
 
 ZoneList (const ZoneList< T > &other, Zone *zone)
 
 INLINE (void Add(const T &element, Zone *zone))
 
 INLINE (void AddAll(const List< T, ZoneAllocationPolicy > &other, Zone *zone))
 
 INLINE (void AddAll(const Vector< T > &other, Zone *zone))
 
 INLINE (void InsertAt(int index, const T &element, Zone *zone))
 
 INLINE (Vector< T > AddBlock(T value, int count, Zone *zone))
 
 INLINE (void Allocate(int length, Zone *zone))
 
 INLINE (void Initialize(int capacity, Zone *zone))
 
void operator delete (void *pointer)
 
void operator delete (void *pointer, Zone *zone)
 
- Public Member Functions inherited from List< T, ZoneAllocationPolicy >
 List (AllocationPolicy allocator=AllocationPolicy())
 
 INLINE (explicit List(int capacity, AllocationPolicy allocator=AllocationPolicy()))
 
 INLINE (~List())
 
 INLINE (void *operator new(size_t size, AllocationPolicy allocator=AllocationPolicy()))
 
 INLINE (void operator delete(void *p))
 
 INLINE (void operator delete(void *p, AllocationPolicy allocator))
 
 INLINE (bool is_empty() const)
 
 INLINE (int length() const)
 
 INLINE (int capacity() const)
 
 INLINE (T RemoveLast())
 
 INLINE (void Allocate(int length, AllocationPolicy allocator=AllocationPolicy()))
 
 INLINE (void Clear())
 
 INLINE (void Rewind(int pos))
 
 INLINE (void RewindBy(int count))
 
 INLINE (void Initialize(int capacity, AllocationPolicy allocator=AllocationPolicy()))
 
void Free ()
 
Toperator[] (int i) const
 
Tat (int i) const
 
Tlast () const
 
Tfirst () const
 
Vector< TToVector () const
 
Vector< const TToConstVector ()
 
void Add (const T &element, AllocationPolicy allocator=AllocationPolicy())
 
void AddAll (const List< T, AllocationPolicy > &other, AllocationPolicy allocator=AllocationPolicy())
 
void AddAll (const Vector< T > &other, AllocationPolicy allocator=AllocationPolicy())
 
void InsertAt (int index, const T &element, AllocationPolicy allocator=AllocationPolicy())
 
Vector< TAddBlock (T value, int count, AllocationPolicy allocator=AllocationPolicy())
 
T Remove (int i)
 
bool RemoveElement (const T &elm)
 
bool Contains (const T &elm) const
 
int CountOccurrences (const T &elm, int start, int end) const
 
void Iterate (void(*callback)(T *x))
 
void Iterate (Visitor *visitor)
 
void Sort (int(*cmp)(const T *x, const T *y))
 
void Sort ()
 

Detailed Description

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

Definition at line 183 of file zone.h.

Constructor & Destructor Documentation

ZoneList ( int  capacity,
Zone zone 
)
inline

Definition at line 187 of file zone.h.

ZoneList ( const ZoneList< T > &  other,
Zone zone 
)
inline

Definition at line 193 of file zone.h.

Member Function Documentation

INLINE ( void *operator   newsize_t size, Zone *zone)
INLINE ( void   Addconst T &element, Zone *zone)
inline

Definition at line 201 of file zone.h.

INLINE ( void   AddAllconst List< T, ZoneAllocationPolicy > &other,Zone *zone)
inline

Definition at line 204 of file zone.h.

INLINE ( void   AddAllconst Vector< T > &other, Zone *zone)
inline

Definition at line 208 of file zone.h.

INLINE ( void   InsertAtint index, const T &element, Zone *zone)
inline

Definition at line 211 of file zone.h.

INLINE ( Vector< T >   AddBlockT value, int count, Zone *zone)
inline

Definition at line 215 of file zone.h.

INLINE ( void   Allocateint length, Zone *zone)
inline

Definition at line 219 of file zone.h.

INLINE ( void   Initializeint capacity, Zone *zone)
inline

Definition at line 222 of file zone.h.

void operator delete ( void *  pointer)
inline

Definition at line 227 of file zone.h.

void operator delete ( void *  pointer,
Zone zone 
)
inline

Definition at line 228 of file zone.h.


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