ISLEman
Public Member Functions | List of all members
QStack< type > Class Template Reference
Inheritance diagram for QStack< type >:
QGList

Public Member Functions

 QStack (const QStack< type > &s)
 
QStack< type > & operator= (const QStack< type > &s)
 
bool autoDelete () const
 
void setAutoDelete (bool del)
 
uint count () const
 
bool isEmpty () const
 
void push (const type *d)
 
type * pop ()
 
bool remove ()
 
void clear ()
 
type * bottom () const
 
type * top () const
 
 operator type * () const
 
type * current () const
 

Member Function Documentation

§ clear()

template<class type>
void QStack< type >::clear ( )
inlinevirtual

Removes all objects from the collection. The objects will be deleted if auto-delete has been enabled.

See also
setAutoDelete()

Reimplemented from QGList.

§ count()

template<class type>
uint QStack< type >::count ( ) const
inlinevirtual

Returns the number of objects in the collection.

Reimplemented from QGList.


The documentation for this class was generated from the following file: