• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

WTF

  • WTF
  • VectorBuffer< T, 0 >
Public Member Functions | List of all members
WTF::VectorBuffer< T, 0 > Class Template Reference

#include <Vector.h>

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

Public Member Functions

 VectorBuffer ()
 
 VectorBuffer (size_t capacity)
 
 ~VectorBuffer ()
 
void allocateBuffer (size_t newCapacity)
 
T * buffer ()
 
const T * buffer () const
 
size_t capacity () const
 
void deallocateBuffer (T *bufferToDeallocate)
 
T * releaseBuffer ()
 
void swap (VectorBuffer< T, 0 > &other)
 

Detailed Description

template<typename T>
class WTF::VectorBuffer< T, 0 >

Definition at line 304 of file Vector.h.

Constructor & Destructor Documentation

◆ VectorBuffer() [1/2]

template<typename T >
WTF::VectorBuffer< T, 0 >::VectorBuffer ( )
inline

Definition at line 308 of file Vector.h.

◆ VectorBuffer() [2/2]

template<typename T >
WTF::VectorBuffer< T, 0 >::VectorBuffer ( size_t  capacity)
inline

Definition at line 312 of file Vector.h.

◆ ~VectorBuffer()

template<typename T >
WTF::VectorBuffer< T, 0 >::~VectorBuffer ( )
inline

Definition at line 317 of file Vector.h.

Member Function Documentation

◆ allocateBuffer()

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

Definition at line 251 of file Vector.h.

◆ buffer() [1/2]

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

Definition at line 266 of file Vector.h.

◆ buffer() [2/2]

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

Definition at line 267 of file Vector.h.

◆ capacity()

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

Definition at line 268 of file Vector.h.

◆ deallocateBuffer()

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

Definition at line 259 of file Vector.h.

◆ releaseBuffer()

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

Definition at line 270 of file Vector.h.

◆ swap()

template<typename T >
void WTF::VectorBuffer< T, 0 >::swap ( VectorBuffer< T, 0 > &  other)
inline

Definition at line 322 of file Vector.h.


The documentation for this class was generated from the following file:
  • Vector.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

WTF

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal