WTF
WTF::VectorBufferBase< T > Class Template Reference
#include <Vector.h>
Inheritance diagram for WTF::VectorBufferBase< T >:

Public Member Functions | |
void | allocateBuffer (size_t newCapacity) |
const T * | buffer () const |
T * | buffer () |
size_t | capacity () const |
void | deallocateBuffer (T *bufferToDeallocate) |
T * | releaseBuffer () |
Protected Member Functions | |
VectorBufferBase (T *buffer, size_t capacity) | |
VectorBufferBase () | |
~VectorBufferBase () | |
Protected Attributes | |
T * | m_buffer |
size_t | m_capacity |
Detailed Description
template<typename T>
class WTF::VectorBufferBase< T >
Definition at line 249 of file Vector.h.
Constructor & Destructor Documentation
template<typename T >
WTF::VectorBufferBase< T >::VectorBufferBase | ( | ) | [inline, protected] |
template<typename T >
WTF::VectorBufferBase< T >::VectorBufferBase | ( | T * | buffer, | |
size_t | capacity | |||
) | [inline, protected] |
template<typename T >
WTF::VectorBufferBase< T >::~VectorBufferBase | ( | ) | [inline, protected] |
Member Function Documentation
template<typename T >
void WTF::VectorBufferBase< T >::allocateBuffer | ( | size_t | newCapacity | ) | [inline] |
Reimplemented in WTF::VectorBuffer< T, inlineCapacity >.
template<typename T >
const T* WTF::VectorBufferBase< T >::buffer | ( | ) | const [inline] |
template<typename T >
T* WTF::VectorBufferBase< T >::buffer | ( | ) | [inline] |
template<typename T >
size_t WTF::VectorBufferBase< T >::capacity | ( | ) | const [inline] |
template<typename T >
void WTF::VectorBufferBase< T >::deallocateBuffer | ( | T * | bufferToDeallocate | ) | [inline] |
Reimplemented in WTF::VectorBuffer< T, inlineCapacity >.
template<typename T >
T* WTF::VectorBufferBase< T >::releaseBuffer | ( | ) | [inline] |
Reimplemented in WTF::VectorBuffer< T, inlineCapacity >.
Member Data Documentation
template<typename T >
T* WTF::VectorBufferBase< T >::m_buffer [protected] |
template<typename T >
size_t WTF::VectorBufferBase< T >::m_capacity [protected] |
The documentation for this class was generated from the following file: