V8 Project
|
#include <vector.h>
Public Member Functions | |
ScopedVector (int length) | |
~ScopedVector () | |
![]() | |
Vector () | |
Vector (T *data, int length) | |
Vector< T > | SubVector (int from, int to) |
int | length () const |
bool | is_empty () const |
T * | start () const |
T & | operator[] (int index) const |
const T & | at (int index) const |
T & | first () |
T & | last () |
Vector< T > | Clone () const |
void | Sort (int(*cmp)(const T *, const T *)) |
void | Sort () |
void | Truncate (int length) |
void | Dispose () |
Vector< T > | operator+ (int offset) |
bool | operator== (const Vector< T > &other) const |
Private Member Functions | |
DISALLOW_IMPLICIT_CONSTRUCTORS (ScopedVector) | |
Additional Inherited Members | |
![]() | |
static Vector< T > | New (int length) |
static Vector< T > | empty () |
template<typename S > | |
static Vector< T > | cast (Vector< S > input) |
![]() | |
void | set_start (T *start) |
|
inlineexplicit |
|
inline |
Definition at line 138 of file vector.h.
References v8::internal::DeleteArray(), and v8::internal::Vector< T >::start().
|
private |