Eneboo - Documentación para desarrolladores
Tipos públicos | Métodos públicos
Referencia de la plantilla de la Clase QPtrList< type >

#include <qptrlist.h>

Diagrama de herencias de QPtrList< type >
QGList QGList QPtrCollection QPtrCollection QPtrCollection QPtrCollection QSortedList< type > QSortedList< type >

Lista de todos los miembros.

Tipos públicos

typedef QPtrListStdIterator< typeIterator
typedef QPtrListStdIterator< typeConstIterator
typedef Iterator iterator
typedef ConstIterator const_iterator
typedef QPtrListStdIterator< typeIterator
typedef QPtrListStdIterator< typeConstIterator
typedef Iterator iterator
typedef ConstIterator const_iterator

Métodos públicos

 QPtrList ()
 QPtrList (const QPtrList< type > &l)
 ~QPtrList ()
QPtrList< type > & operator= (const QPtrList< type > &l)
bool operator== (const QPtrList< type > &list) const
bool operator!= (const QPtrList< type > &list) const
uint count () const
bool isEmpty () const
bool insert (uint i, const type *d)
void inSort (const type *d)
void prepend (const type *d)
void append (const type *d)
bool remove (uint i)
bool remove ()
bool remove (const type *d)
bool removeRef (const type *d)
void removeNode (QLNode *n)
bool removeFirst ()
bool removeLast ()
typetake (uint i)
typetake ()
typetakeNode (QLNode *n)
void clear ()
void sort ()
int find (const type *d)
int findNext (const type *d)
int findRef (const type *d)
int findNextRef (const type *d)
uint contains (const type *d) const
uint containsRef (const type *d) const
bool replace (uint i, const type *d)
typeat (uint i)
int at () const
typecurrent () const
QLNodecurrentNode () const
typegetFirst () const
typegetLast () const
typefirst ()
typelast ()
typenext ()
typeprev ()
void toVector (QGVector *vec) const
Iterator begin ()
ConstIterator begin () const
ConstIterator constBegin () const
Iterator end ()
ConstIterator end () const
ConstIterator constEnd () const
Iterator erase (Iterator it)
 QPtrList ()
 QPtrList (const QPtrList< type > &l)
 ~QPtrList ()
QPtrList< type > & operator= (const QPtrList< type > &l)
bool operator== (const QPtrList< type > &list) const
bool operator!= (const QPtrList< type > &list) const
uint count () const
bool isEmpty () const
bool insert (uint i, const type *d)
void inSort (const type *d)
void prepend (const type *d)
void append (const type *d)
bool remove (uint i)
bool remove ()
bool remove (const type *d)
bool removeRef (const type *d)
void removeNode (QLNode *n)
bool removeFirst ()
bool removeLast ()
typetake (uint i)
typetake ()
typetakeNode (QLNode *n)
void clear ()
void sort ()
int find (const type *d)
int findNext (const type *d)
int findRef (const type *d)
int findNextRef (const type *d)
uint contains (const type *d) const
uint containsRef (const type *d) const
bool replace (uint i, const type *d)
typeat (uint i)
int at () const
typecurrent () const
QLNodecurrentNode () const
typegetFirst () const
typegetLast () const
typefirst ()
typelast ()
typenext ()
typeprev ()
void toVector (QGVector *vec) const
Iterator begin ()
ConstIterator begin () const
ConstIterator constBegin () const
Iterator end ()
ConstIterator end () const
ConstIterator constEnd () const
Iterator erase (Iterator it)

template<class type>
class QPtrList< type >


Documentación de los 'Typedef' miembros de la clase

template<class type>
typedef ConstIterator QPtrList< type >::const_iterator
template<class type>
typedef ConstIterator QPtrList< type >::const_iterator
template<class type>
typedef QPtrListStdIterator<type> QPtrList< type >::ConstIterator
template<class type>
typedef QPtrListStdIterator<type> QPtrList< type >::ConstIterator
template<class type>
typedef QPtrListStdIterator<type> QPtrList< type >::Iterator
template<class type>
typedef QPtrListStdIterator<type> QPtrList< type >::Iterator
template<class type>
typedef Iterator QPtrList< type >::iterator
template<class type>
typedef Iterator QPtrList< type >::iterator

Documentación del constructor y destructor

template<class type>
QPtrList< type >::QPtrList ( ) [inline]
template<class type>
QPtrList< type >::QPtrList ( const QPtrList< type > &  l) [inline]
template<class type>
QPtrList< type >::~QPtrList ( ) [inline]
template<class type>
QPtrList< type >::QPtrList ( ) [inline]
template<class type>
QPtrList< type >::QPtrList ( const QPtrList< type > &  l) [inline]
template<class type>
QPtrList< type >::~QPtrList ( ) [inline]

Documentación de las funciones miembro

template<class type>
void QPtrList< type >::append ( const type d) [inline]
template<class type>
void QPtrList< type >::append ( const type d) [inline]
template<class type>
type* QPtrList< type >::at ( uint  index) [inline]

Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.

Sets the item at position index to the current item.

Reimplementado de QGList.

template<class type>
int QPtrList< type >::at ( ) const [inline]

Returns the current index.

Reimplementado de QGList.

template<class type>
type* QPtrList< type >::at ( uint  index) [inline]

Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.

Sets the item at position index to the current item.

Reimplementado de QGList.

template<class type>
int QPtrList< type >::at ( ) const [inline]

Returns the current index.

Reimplementado de QGList.

template<class type>
Iterator QPtrList< type >::begin ( ) [inline]
template<class type>
ConstIterator QPtrList< type >::begin ( ) const [inline]

Reimplementado de QGList.

template<class type>
Iterator QPtrList< type >::begin ( ) [inline]
template<class type>
ConstIterator QPtrList< type >::begin ( ) const [inline]

Reimplementado de QGList.

template<class type>
void QPtrList< type >::clear ( void  ) [inline, virtual]

Removes all items from the list.

Reimplementado de QGList.

template<class type>
void QPtrList< type >::clear ( void  ) [inline, virtual]

Removes all items from the list.

Reimplementado de QGList.

template<class type>
ConstIterator QPtrList< type >::constBegin ( ) const [inline]
template<class type>
ConstIterator QPtrList< type >::constBegin ( ) const [inline]
template<class type>
ConstIterator QPtrList< type >::constEnd ( ) const [inline]
template<class type>
ConstIterator QPtrList< type >::constEnd ( ) const [inline]
template<class type>
uint QPtrList< type >::contains ( const type d) const [inline]
template<class type>
uint QPtrList< type >::contains ( const type d) const [inline]
template<class type>
uint QPtrList< type >::containsRef ( const type d) const [inline]
template<class type>
uint QPtrList< type >::containsRef ( const type d) const [inline]
template<class type>
uint QPtrList< type >::count ( ) const [inline, virtual]

Returns the number of items in the list.

Reimplementado de QGList.

template<class type>
uint QPtrList< type >::count ( ) const [inline, virtual]

Returns the number of items in the list.

Reimplementado de QGList.

template<class type>
type* QPtrList< type >::current ( ) const [inline]
template<class type>
type* QPtrList< type >::current ( ) const [inline]
template<class type>
QLNode* QPtrList< type >::currentNode ( ) const [inline]

Returns the current node.

Reimplementado de QGList.

template<class type>
QLNode* QPtrList< type >::currentNode ( ) const [inline]

Returns the current node.

Reimplementado de QGList.

template<class type>
ConstIterator QPtrList< type >::end ( ) const [inline]

Reimplementado de QGList.

template<class type>
Iterator QPtrList< type >::end ( ) [inline]
template<class type>
ConstIterator QPtrList< type >::end ( ) const [inline]

Reimplementado de QGList.

template<class type>
Iterator QPtrList< type >::end ( ) [inline]
template<class type>
Iterator QPtrList< type >::erase ( Iterator  it) [inline]
template<class type>
Iterator QPtrList< type >::erase ( Iterator  it) [inline]
template<class type>
int QPtrList< type >::find ( const type d) [inline]
template<class type>
int QPtrList< type >::find ( const type d) [inline]
template<class type>
int QPtrList< type >::findNext ( const type d) [inline]
template<class type>
int QPtrList< type >::findNext ( const type d) [inline]
template<class type>
int QPtrList< type >::findNextRef ( const type d) [inline]
template<class type>
int QPtrList< type >::findNextRef ( const type d) [inline]
template<class type>
int QPtrList< type >::findRef ( const type d) [inline]
template<class type>
int QPtrList< type >::findRef ( const type d) [inline]
template<class type>
type* QPtrList< type >::first ( ) [inline]

Returns the first list item. Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
type* QPtrList< type >::first ( ) [inline]

Returns the first list item. Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
type* QPtrList< type >::getFirst ( ) const [inline]
template<class type>
type* QPtrList< type >::getFirst ( ) const [inline]
template<class type>
type* QPtrList< type >::getLast ( ) const [inline]
template<class type>
type* QPtrList< type >::getLast ( ) const [inline]
template<class type>
bool QPtrList< type >::insert ( uint  i,
const type d 
) [inline]
template<class type>
bool QPtrList< type >::insert ( uint  i,
const type d 
) [inline]
template<class type>
void QPtrList< type >::inSort ( const type d) [inline]
template<class type>
void QPtrList< type >::inSort ( const type d) [inline]
template<class type>
bool QPtrList< type >::isEmpty ( void  ) const [inline]
template<class type>
bool QPtrList< type >::isEmpty ( void  ) const [inline]
template<class type>
type* QPtrList< type >::last ( ) [inline]

Returns the last list item. Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
type* QPtrList< type >::last ( ) [inline]

Returns the last list item. Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
type* QPtrList< type >::next ( ) [inline]

Returns the next list item (after current). Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
type* QPtrList< type >::next ( ) [inline]

Returns the next list item (after current). Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
bool QPtrList< type >::operator!= ( const QPtrList< type > &  list) const [inline]
template<class type>
bool QPtrList< type >::operator!= ( const QPtrList< type > &  list) const [inline]
template<class type>
QPtrList<type>& QPtrList< type >::operator= ( const QPtrList< type > &  l) [inline]
template<class type>
QPtrList<type>& QPtrList< type >::operator= ( const QPtrList< type > &  l) [inline]
template<class type>
bool QPtrList< type >::operator== ( const QPtrList< type > &  list) const [inline]
template<class type>
bool QPtrList< type >::operator== ( const QPtrList< type > &  list) const [inline]
template<class type>
void QPtrList< type >::prepend ( const type d) [inline]
template<class type>
void QPtrList< type >::prepend ( const type d) [inline]
template<class type>
type* QPtrList< type >::prev ( ) [inline]

Returns the previous list item (before current). Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
type* QPtrList< type >::prev ( ) [inline]

Returns the previous list item (before current). Sets this to current.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
bool QPtrList< type >::remove ( void  ) [inline]
template<class type>
bool QPtrList< type >::remove ( uint  i) [inline]
template<class type>
bool QPtrList< type >::remove ( const type d) [inline]
template<class type>
bool QPtrList< type >::remove ( uint  i) [inline]
template<class type>
bool QPtrList< type >::remove ( const type d) [inline]
template<class type>
bool QPtrList< type >::remove ( void  ) [inline]
template<class type>
bool QPtrList< type >::removeFirst ( ) [inline]

Removes the first item in the list.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
bool QPtrList< type >::removeFirst ( ) [inline]

Removes the first item in the list.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
bool QPtrList< type >::removeLast ( ) [inline]

Removes the last item in the list.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
bool QPtrList< type >::removeLast ( ) [inline]

Removes the last item in the list.

Reimplementado de QGList.

Reimplementado en QCList.

template<class type>
void QPtrList< type >::removeNode ( QLNode n) [inline]

Removes the node n from the list.

Reimplementado de QGList.

template<class type>
void QPtrList< type >::removeNode ( QLNode n) [inline]

Removes the node n from the list.

Reimplementado de QGList.

template<class type>
bool QPtrList< type >::removeRef ( const type d) [inline]
template<class type>
bool QPtrList< type >::removeRef ( const type d) [inline]
template<class type>
bool QPtrList< type >::replace ( uint  i,
const type d 
) [inline]
template<class type>
bool QPtrList< type >::replace ( uint  i,
const type d 
) [inline]
template<class type>
void QPtrList< type >::sort ( ) [inline]

Sorts the list by the result of the virtual compareItems() function.

The Heap-Sort algorithm is used for sorting. It sorts n items with O(n*log n) compares. This is the asymptotic optimal solution of the sorting problem.

Reimplementado de QGList.

template<class type>
void QPtrList< type >::sort ( ) [inline]

Sorts the list by the result of the virtual compareItems() function.

The Heap-Sort algorithm is used for sorting. It sorts n items with O(n*log n) compares. This is the asymptotic optimal solution of the sorting problem.

Reimplementado de QGList.

template<class type>
type* QPtrList< type >::take ( ) [inline]

Takes the current item out of the list.

Reimplementado de QGList.

template<class type>
type* QPtrList< type >::take ( uint  i) [inline]
template<class type>
type* QPtrList< type >::take ( ) [inline]

Takes the current item out of the list.

Reimplementado de QGList.

template<class type>
type* QPtrList< type >::take ( uint  i) [inline]
template<class type>
type* QPtrList< type >::takeNode ( QLNode n) [inline]

Takes the node n out of the list.

Reimplementado de QGList.

template<class type>
type* QPtrList< type >::takeNode ( QLNode n) [inline]

Takes the node n out of the list.

Reimplementado de QGList.

template<class type>
void QPtrList< type >::toVector ( QGVector vector) const [inline]

Converts the list to a vector, vector.

Reimplementado de QGList.

template<class type>
void QPtrList< type >::toVector ( QGVector vector) const [inline]

Converts the list to a vector, vector.

Reimplementado de QGList.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'