• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

WTF

WTF::VectorBufferBase

WTF::VectorBufferBase< T > Class Template Reference

#include <Vector.h>

Inheritance diagram for WTF::VectorBufferBase< T >:
WTFNoncopyable::Noncopyable WTF::VectorBuffer< T, inlineCapacity > WTF::VectorBuffer< T, 0 >

List of all members.

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]

Definition at line 279 of file Vector.h.

template<typename T >
WTF::VectorBufferBase< T >::VectorBufferBase ( T *  buffer,
size_t  capacity 
) [inline, protected]

Definition at line 285 of file Vector.h.

template<typename T >
WTF::VectorBufferBase< T >::~VectorBufferBase (  )  [inline, protected]

Definition at line 291 of file Vector.h.


Member Function Documentation

template<typename T >
void WTF::VectorBufferBase< T >::allocateBuffer ( size_t  newCapacity  )  [inline]

Reimplemented in WTF::VectorBuffer< T, inlineCapacity >.

Definition at line 251 of file Vector.h.

template<typename T >
const T* WTF::VectorBufferBase< T >::buffer (  )  const [inline]

Definition at line 267 of file Vector.h.

template<typename T >
T* WTF::VectorBufferBase< T >::buffer (  )  [inline]

Definition at line 266 of file Vector.h.

template<typename T >
size_t WTF::VectorBufferBase< T >::capacity (  )  const [inline]

Definition at line 268 of file Vector.h.

template<typename T >
void WTF::VectorBufferBase< T >::deallocateBuffer ( T *  bufferToDeallocate  )  [inline]

Reimplemented in WTF::VectorBuffer< T, inlineCapacity >.

Definition at line 259 of file Vector.h.

template<typename T >
T* WTF::VectorBufferBase< T >::releaseBuffer (  )  [inline]

Reimplemented in WTF::VectorBuffer< T, inlineCapacity >.

Definition at line 270 of file Vector.h.


Member Data Documentation

template<typename T >
T* WTF::VectorBufferBase< T >::m_buffer [protected]

Definition at line 296 of file Vector.h.

template<typename T >
size_t WTF::VectorBufferBase< T >::m_capacity [protected]

Definition at line 297 of file Vector.h.


The documentation for this class was generated from the following file:
  • Vector.h

WTF

Skip menu "WTF"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal