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

KHTML

  • khtml
  • MassDeleter
Public Member Functions | List of all members
khtml::MassDeleter< T > Class Template Reference

#include <khtml_caret_p.h>

Inheritance diagram for khtml::MassDeleter< T >:
Inheritance graph
[legend]

Public Member Functions

 MassDeleter (size_t reserved=1)
 
 ~MassDeleter ()
 
- Public Member Functions inherited from QVector< T * >
 QVector ()
 
 QVector (int size)
 
 QVector (const QVector< T * > &other)
 
 QVector (std::initializer_list< T * > args)
 
 QVector (int size, const T *&value)
 
 ~QVector ()
 
void append (const T *&value)
 
const T *& at (int i) const
 
const_reference back () const
 
reference back ()
 
iterator begin ()
 
const_iterator begin () const
 
int capacity () const
 
void clear ()
 
const_iterator constBegin () const
 
const T ** constData () const
 
const_iterator constEnd () const
 
bool contains (const T *&value) const
 
int count (const T *&value) const
 
int count () const
 
T ** data ()
 
const T ** data () const
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
bool endsWith (const T *&value) const
 
iterator erase (iterator begin, iterator end)
 
iterator erase (iterator pos)
 
QVector< T * > & fill (const T *&value, int size)
 
T *& first ()
 
const T *& first () const
 
T *& front ()
 
const_reference front () const
 
int indexOf (const T *&value, int from) const
 
void insert (int i, const T *&value)
 
void insert (int i, int count, const T *&value)
 
iterator insert (iterator before, int count, const T *&value)
 
iterator insert (iterator before, const T *&value)
 
bool isEmpty () const
 
T *& last ()
 
const T *& last () const
 
int lastIndexOf (const T *&value, int from) const
 
QVector< T * > mid (int pos, int length) const
 
bool operator!= (const QVector< T * > &other) const
 
QVector< T * > operator+ (const QVector< T * > &other) const
 
QVector< T * > & operator+= (const QVector< T * > &other)
 
QVector< T * > & operator+= (const T *&value)
 
QVector< T * > & operator<< (const T *&value)
 
QVector< T * > & operator<< (const QVector< T * > &other)
 
QVector< T * > & operator= (const QVector< T * > &other)
 
bool operator== (const QVector< T * > &other) const
 
T *& operator[] (int i)
 
const T *& operator[] (int i) const
 
void pop_back ()
 
void pop_front ()
 
void prepend (const T *&value)
 
void push_back (const T *&value)
 
void push_front (const T *&value)
 
void remove (int i)
 
void remove (int i, int count)
 
void replace (int i, const T *&value)
 
void reserve (int size)
 
void resize (int size)
 
int size () const
 
void squeeze ()
 
bool startsWith (const T *&value) const
 
void swap (QVector< T * > &other)
 
QList< T * > toList () const
 
std::vector< T * > toStdVector () const
 
T * value (int i) const
 
T * value (int i, const T *&defaultValue) const
 

Additional Inherited Members

- Static Public Member Functions inherited from QVector< T * >
QVector< T * > fromList (const QList< T * > &list)
 
QVector< T * > fromStdVector (const std::vector< T * > &vector)
 
- Public Attributes inherited from QVector< T * >
typedef const_pointer
 
typedef const_reference
 
typedef ConstIterator
 
typedef difference_type
 
typedef Iterator
 
typedef pointer
 
typedef reference
 
typedef size_type
 
typedef value_type
 

Detailed Description

template<class T>
class khtml::MassDeleter< T >

Stores objects of a certain type, and calls delete on each of them when this data structure is destroyed.

As this structure merely consists of a vector of pointers, all objects allocated can be traversed as seen fit.

Author
Leo Savernik

Definition at line 102 of file khtml_caret_p.h.

Constructor & Destructor Documentation

template<class T>
khtml::MassDeleter< T >::MassDeleter ( size_t  reserved = 1)
inline

Definition at line 104 of file khtml_caret_p.h.

template<class T>
khtml::MassDeleter< T >::~MassDeleter ( )
inline

Definition at line 105 of file khtml_caret_p.h.


The documentation for this class was generated from the following file:
  • khtml_caret_p.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs 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

Search



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