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

#include <qptrqueue.h>

Diagrama de herencias de QPtrQueue< type >
QGList QGList QPtrCollection QPtrCollection QPtrCollection QPtrCollection

Lista de todos los miembros.

Métodos públicos

 QPtrQueue ()
 QPtrQueue (const QPtrQueue< type > &q)
 ~QPtrQueue ()
QPtrQueue< type > & operator= (const QPtrQueue< type > &q)
bool autoDelete () const
void setAutoDelete (bool del)
uint count () const
bool isEmpty () const
void enqueue (const type *d)
typedequeue ()
bool remove ()
void clear ()
typehead () const
 operator type * () const
typecurrent () const
 QPtrQueue ()
 QPtrQueue (const QPtrQueue< type > &q)
 ~QPtrQueue ()
QPtrQueue< type > & operator= (const QPtrQueue< type > &q)
bool autoDelete () const
void setAutoDelete (bool del)
uint count () const
bool isEmpty () const
void enqueue (const type *d)
typedequeue ()
bool remove ()
void clear ()
typehead () const
 operator type * () const
typecurrent () const

template<class type>
class QPtrQueue< type >


Documentación del constructor y destructor

template<class type>
QPtrQueue< type >::QPtrQueue ( ) [inline]
template<class type>
QPtrQueue< type >::QPtrQueue ( const QPtrQueue< type > &  q) [inline]
template<class type>
QPtrQueue< type >::~QPtrQueue ( ) [inline]
template<class type>
QPtrQueue< type >::QPtrQueue ( ) [inline]
template<class type>
QPtrQueue< type >::QPtrQueue ( const QPtrQueue< type > &  q) [inline]
template<class type>
QPtrQueue< type >::~QPtrQueue ( ) [inline]

Documentación de las funciones miembro

template<class type>
bool QPtrQueue< type >::autoDelete ( ) const [inline]

Returns the setting of the auto-delete option. The default is FALSE.

Ver también:
setAutoDelete()

Reimplementado de QPtrCollection.

template<class type>
bool QPtrQueue< type >::autoDelete ( ) const [inline]

Returns the setting of the auto-delete option. The default is FALSE.

Ver también:
setAutoDelete()

Reimplementado de QPtrCollection.

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

Removes all items from the list.

Reimplementado de QGList.

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

Removes all items from the list.

Reimplementado de QGList.

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

Returns the number of items in the list.

Reimplementado de QGList.

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

Returns the number of items in the list.

Reimplementado de QGList.

template<class type>
type* QPtrQueue< type >::current ( ) const [inline]
template<class type>
type* QPtrQueue< type >::current ( ) const [inline]
template<class type>
type* QPtrQueue< type >::dequeue ( ) [inline]
template<class type>
type* QPtrQueue< type >::dequeue ( ) [inline]
template<class type>
void QPtrQueue< type >::enqueue ( const type d) [inline]
template<class type>
void QPtrQueue< type >::enqueue ( const type d) [inline]
template<class type>
type* QPtrQueue< type >::head ( ) const [inline]
template<class type>
type* QPtrQueue< type >::head ( ) const [inline]
template<class type>
bool QPtrQueue< type >::isEmpty ( void  ) const [inline]
template<class type>
bool QPtrQueue< type >::isEmpty ( void  ) const [inline]
template<class type>
QPtrQueue< type >::operator type * ( ) const [inline]
template<class type>
QPtrQueue< type >::operator type * ( ) const [inline]
template<class type>
QPtrQueue<type>& QPtrQueue< type >::operator= ( const QPtrQueue< type > &  q) [inline]
template<class type>
QPtrQueue<type>& QPtrQueue< type >::operator= ( const QPtrQueue< type > &  q) [inline]
template<class type>
bool QPtrQueue< type >::remove ( void  ) [inline]
template<class type>
bool QPtrQueue< type >::remove ( void  ) [inline]
template<class type>
void QPtrQueue< type >::setAutoDelete ( bool  enable) [inline]

Sets the collection to auto-delete its contents if enable is TRUE and to never delete them if enable is FALSE.

If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items.

The default setting is FALSE, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items.

Note that the auto-delete setting may also affect other functions in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item.

Ver también:
autoDelete()

Reimplementado de QPtrCollection.

template<class type>
void QPtrQueue< type >::setAutoDelete ( bool  enable) [inline]

Sets the collection to auto-delete its contents if enable is TRUE and to never delete them if enable is FALSE.

If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items.

The default setting is FALSE, for safety. If you turn it on, be careful about copying the collection - you might find yourself with two collections deleting the same items.

Note that the auto-delete setting may also affect other functions in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item.

Ver también:
autoDelete()

Reimplementado de QPtrCollection.


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'