#include <Vector.h>
List of all members.
Public Types |
| typedef T | ValueType |
Public Member Functions |
| | Vector () |
| | Vector (size_t size) |
| | Vector (const Vector &) |
| template<size_t otherCapacity> |
| | Vector (const Vector< T, otherCapacity > &) |
| | Vector (size_t size, const T &val) |
| | ~Vector () |
| template<typename U > |
| void | append (const U *, size_t) |
| template<typename U > |
| void | append (const U &) |
| template<typename U , size_t c> |
| void | append (const Vector< U, c > &) |
| template<typename Iterator > |
| void | appendRange (Iterator start, Iterator end) |
| T & | at (size_t i) |
| const T & | at (size_t i) const |
| iterator | begin () |
| const_iterator | begin () const |
| size_t | capacity () const |
| void | clear () |
| T * | data () |
| const T * | data () const |
| iterator | end () |
| const_iterator | end () const |
| void | fill (const T &, size_t) |
| void | fill (const T &val) |
| T & | first () |
| const T & | first () const |
| void | grow (size_t size) |
| template<typename U > |
| void | insert (size_t position, const U *, size_t) |
| template<typename U > |
| void | insert (size_t position, const U &) |
| template<typename U , size_t c> |
| void | insert (size_t position, const Vector< U, c > &) |
| bool | isEmpty () const |
| T & | last () |
| const T & | last () const |
| Vector & | operator= (const Vector &) |
| template<size_t otherCapacity> |
| Vector & | operator= (const Vector< T, otherCapacity > &) |
| T & | operator[] (size_t i) |
| const T & | operator[] (size_t i) const |
| template<typename U > |
| void | prepend (const U *, size_t) |
| template<typename U > |
| void | prepend (const U &) |
| template<typename U , size_t c> |
| void | prepend (const Vector< U, c > &) |
| T * | releaseBuffer () |
| void | remove (size_t position) |
| void | remove (size_t position, size_t length) |
| void | removeLast () |
| void | reserveCapacity (size_t newCapacity) |
| void | resize (size_t size) |
| void | shrink (size_t size) |
| void | shrinkCapacity (size_t newCapacity) |
| size_t | size () const |
| void | swap (Vector< T, inlineCapacity > &other) |
| template<typename U > |
| void | uncheckedAppend (const U &val) |
Member Typedef Documentation
Constructor & Destructor Documentation
| WTF::Vector::Vector |
( |
| ) |
[inline] |
| WTF::Vector::Vector |
( |
size_t |
size | ) |
[inline, explicit] |
| WTF::Vector::~Vector |
( |
| ) |
[inline] |
| WTF::Vector::Vector |
( |
const Vector & |
other | ) |
|
template<size_t otherCapacity>
| WTF::Vector::Vector |
( |
const Vector< T, otherCapacity > & |
other | ) |
|
| WTF::Vector::Vector |
( |
size_t |
size, |
|
|
const T & |
val |
|
) |
| [inline] |
Member Function Documentation
template<typename U >
| void WTF::Vector::append |
( |
const U * |
data, |
|
|
size_t |
dataSize |
|
) |
| |
template<typename U >
| void WTF::Vector::append |
( |
const U & |
val | ) |
[inline] |
template<typename U , size_t c>
| void WTF::Vector::append |
( |
const Vector< U, c > & |
val | ) |
[inline] |
template<typename Iterator >
| void WTF::Vector::appendRange |
( |
Iterator |
start, |
|
|
Iterator |
end |
|
) |
| |
| T& WTF::Vector::at |
( |
size_t |
i | ) |
[inline] |
| const T& WTF::Vector::at |
( |
size_t |
i | ) |
const [inline] |
| iterator WTF::Vector::begin |
( |
| ) |
[inline] |
| const_iterator WTF::Vector::begin |
( |
| ) |
const [inline] |
| size_t WTF::Vector::capacity |
( |
| ) |
const [inline] |
| void WTF::Vector::clear |
( |
| ) |
[inline] |
| T* WTF::Vector::data |
( |
| ) |
[inline] |
| const T* WTF::Vector::data |
( |
| ) |
const [inline] |
| iterator WTF::Vector::end |
( |
| ) |
[inline] |
| const_iterator WTF::Vector::end |
( |
| ) |
const [inline] |
| void WTF::Vector::fill |
( |
const T & |
val, |
|
|
size_t |
newSize |
|
) |
| |
| void WTF::Vector::fill |
( |
const T & |
val | ) |
[inline] |
| T& WTF::Vector::first |
( |
| ) |
[inline] |
| const T& WTF::Vector::first |
( |
| ) |
const [inline] |
| void WTF::Vector::grow |
( |
size_t |
size | ) |
|
template<typename U >
| void WTF::Vector::insert |
( |
size_t |
position, |
|
|
const U * |
data, |
|
|
size_t |
dataSize |
|
) |
| |
template<typename U >
| void WTF::Vector::insert |
( |
size_t |
position, |
|
|
const U & |
val |
|
) |
| [inline] |
template<typename U , size_t c>
| void WTF::Vector::insert |
( |
size_t |
position, |
|
|
const Vector< U, c > & |
val |
|
) |
| [inline] |
| bool WTF::Vector::isEmpty |
( |
| ) |
const [inline] |
| T& WTF::Vector::last |
( |
| ) |
[inline] |
| const T& WTF::Vector::last |
( |
| ) |
const [inline] |
template<size_t otherCapacity>
| Vector< T, inlineCapacity > & WTF::Vector::operator= |
( |
const Vector< T, otherCapacity > & |
other | ) |
|
| T& WTF::Vector::operator[] |
( |
size_t |
i | ) |
[inline] |
| const T& WTF::Vector::operator[] |
( |
size_t |
i | ) |
const [inline] |
template<typename U >
| void WTF::Vector::prepend |
( |
const U * |
data, |
|
|
size_t |
dataSize |
|
) |
| |
template<typename U >
| void WTF::Vector::prepend |
( |
const U & |
val | ) |
[inline] |
template<typename U , size_t c>
| void WTF::Vector::prepend |
( |
const Vector< U, c > & |
val | ) |
[inline] |
| T * WTF::Vector::releaseBuffer |
( |
| ) |
[inline] |
| void WTF::Vector::remove |
( |
size_t |
position | ) |
[inline] |
| void WTF::Vector::remove |
( |
size_t |
position, |
|
|
size_t |
length |
|
) |
| [inline] |
| void WTF::Vector::removeLast |
( |
| ) |
[inline] |
| void WTF::Vector::reserveCapacity |
( |
size_t |
newCapacity | ) |
|
| void WTF::Vector::resize |
( |
size_t |
size | ) |
|
| void WTF::Vector::shrink |
( |
size_t |
size | ) |
|
| void WTF::Vector::shrinkCapacity |
( |
size_t |
newCapacity | ) |
|
| size_t WTF::Vector::size |
( |
| ) |
const [inline] |
| void WTF::Vector::swap |
( |
Vector< T, inlineCapacity > & |
other | ) |
[inline] |
template<typename U >
| void WTF::Vector::uncheckedAppend |
( |
const U & |
val | ) |
[inline] |
The documentation for this class was generated from the following file: