QStack

#include <QtCore/QStack>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QStack


Overview

Inheritance

QVector
QStack

Public Types Index

Only has inherited public types

const T *const_iterator
const value_type *const_pointer
const value_type &const_reference
const_iteratorConstIterator
qptrdiffdifference_type
T *iterator
iteratorIterator
value_type *pointer
value_type &reference
intsize_type
Tvalue_type

Public Attributes Index

Only has inherited public attributes

QVectorData *dInherited
Data *pInherited

Public Functions Index

QStack ()
~QStack ()
Tpop ()
voidpush (const T &t)
voidswap (QStack< T > &other)
T &top ()
const T &top () const
voidappend (const T &t)Inherited
const T &at (int i) const Inherited
referenceback ()Inherited
const_referenceback () const Inherited
iteratorbegin ()Inherited
const_iteratorbegin () const Inherited
intcapacity () const Inherited
voidclear ()Inherited
const_iteratorconstBegin () const Inherited
const T *constData () const Inherited
const_iteratorconstEnd () const Inherited
boolcontains (const T &t) const Inherited
intcount (const T &t) const Inherited
intcount () const Inherited
T *data ()Inherited
const T *data () const Inherited
voiddetach ()Inherited
boolempty () const Inherited
iteratorend ()Inherited
const_iteratorend () const Inherited
boolendsWith (const T &t) const Inherited
iteratorerase (iterator begin, iterator end)Inherited
iteratorerase (iterator pos)Inherited
QVector< T > &fill (const T &t, int size=-1)Inherited
T &first ()Inherited
const T &first () const Inherited
T &front ()Inherited
const_referencefront () const Inherited
intindexOf (const T &t, int from=0) const Inherited
voidinsert (int i, const T &t)Inherited
voidinsert (int i, int n, const T &t)Inherited
iteratorinsert (iterator before, int n, const T &x)Inherited
iteratorinsert (iterator before, const T &x)Inherited
boolisDetached () const Inherited
boolisEmpty () const Inherited
boolisSharedWith (const QVector< T > &other) const Inherited
T &last ()Inherited
const T &last () const Inherited
intlastIndexOf (const T &t, int from=-1) const Inherited
QVector< T >mid (int pos, int length=-1) const Inherited
booloperator!= (const QVector< T > &v) const Inherited
QVector< T >operator+ (const QVector< T > &l) const Inherited
QVector< T > &operator+= (const QVector< T > &l)Inherited
QVector< T > &operator+= (const T &t)Inherited
QVector< T > &operator<< (const T &t)Inherited
QVector< T > &operator<< (const QVector< T > &l)Inherited
QVector< T > &operator= (const QVector< T > &v)Inherited
booloperator== (const QVector< T > &v) const Inherited
T &operator[] (int i)Inherited
const T &operator[] (int i) const Inherited
voidpop_back ()Inherited
voidpop_front ()Inherited
voidprepend (const T &t)Inherited
voidpush_back (const T &t)Inherited
voidpush_front (const T &t)Inherited
QVector ()Inherited
QVector (int size)Inherited
QVector (int size, const T &t)Inherited
QVector (const QVector< T > &v)Inherited
voidremove (int i)Inherited
voidremove (int i, int n)Inherited
voidreplace (int i, const T &t)Inherited
voidreserve (int size)Inherited
voidresize (int size)Inherited
voidsetSharable (bool sharable)Inherited
intsize () const Inherited
voidsqueeze ()Inherited
boolstartsWith (const T &t) const Inherited
voidswap (QVector< T > &other)Inherited
QList< T >toList () const Inherited
std::vector< T >toStdVector () const Inherited
Tvalue (int i) const Inherited
Tvalue (int i, const T &defaultValue) const Inherited

Static Public Functions Index

Only has inherited static public functions

QVector< T >fromList (const QList< T > &list)Inherited
QVector< T >fromStdVector (const std::vector< T > &vector)Inherited

Public Types

(Only has inherited public types)

typedef const T * const_iterator Inherited

typedef const value_type * const_pointer Inherited

typedef const value_type & const_reference Inherited

typedef const_iterator ConstIterator Inherited

typedef qptrdiff difference_type Inherited

typedef T * iterator Inherited

typedef iterator Iterator Inherited

typedef value_type * pointer Inherited

typedef value_type & reference Inherited

typedef int size_type Inherited

typedef T value_type Inherited

Public Attributes

(Only has inherited public attributes)

Data * p ()Inherited

Public Functions

QStack ()

~QStack ()

Destructor.

T pop ()

void push (
  • const T &t)

void swap (

T & top ()

const T & top ()

void append (
  • const T &t)
Inherited

const T & at (
  • inti)
Inherited

reference back ()Inherited

const_reference back ()Inherited

iterator begin ()Inherited

const_iterator begin ()Inherited

int capacity ()Inherited

void clear ()Inherited

const_iterator constBegin ()Inherited

const T * constData ()Inherited

const_iterator constEnd ()Inherited

bool contains (
  • const T &t)
Inherited

int count (
  • const T &t)
Inherited

int count ()Inherited

T * data ()Inherited

const T * data ()Inherited

void detach ()Inherited

bool empty ()Inherited

iterator end ()Inherited

const_iterator end ()Inherited

bool endsWith (
  • const T &t)
Inherited

iterator erase (
  • iteratorbegin,
  • iteratorend )
Inherited

iterator erase (
  • iteratorpos)
Inherited

QVector< T > & fill (
  • const T &t,
  • intsize )
Inherited

T & first ()Inherited

const T & first ()Inherited

T & front ()Inherited

const_reference front ()Inherited

int indexOf (
  • const T &t,
  • intfrom )
Inherited

void insert (
  • inti,
  • const T &t )
Inherited

void insert (
  • inti,
  • intn,
  • const T &t )
Inherited

iterator insert (
  • iteratorbefore,
  • intn,
  • const T &x )
Inherited

iterator insert (
  • iteratorbefore,
  • const T &x )
Inherited

bool isDetached ()Inherited

bool isEmpty ()Inherited

bool isSharedWith (Inherited

T & last ()Inherited

const T & last ()Inherited

int lastIndexOf (
  • const T &t,
  • intfrom )
Inherited

QVector< T > mid (
  • intpos,
  • intlength )
Inherited

bool operator!= (Inherited

QVector< T > operator+ (Inherited

QVector< T > & operator+= (Inherited

QVector< T > & operator+= (
  • const T &t)
Inherited

QVector< T > & operator<< (
  • const T &t)
Inherited

QVector< T > & operator<< (Inherited

QVector< T > & operator= (Inherited

bool operator== (Inherited

T & operator[] (
  • inti)
Inherited

const T & operator[] (
  • inti)
Inherited

void pop_back ()Inherited

void pop_front ()Inherited

void prepend (
  • const T &t)
Inherited

void push_back (
  • const T &t)
Inherited

void push_front (
  • const T &t)
Inherited

QVector ()Inherited

QVector (
  • intsize)
Inherited

QVector (
  • intsize,
  • const T &t )
Inherited

QVector (Inherited

void remove (
  • inti)
Inherited

void remove (
  • inti,
  • intn )
Inherited

void replace (
  • inti,
  • const T &t )
Inherited

void reserve (
  • intsize)
Inherited

void resize (
  • intsize)
Inherited

void setSharable (
  • boolsharable)
Inherited

int size ()Inherited

void squeeze ()Inherited

bool startsWith (
  • const T &t)
Inherited

void swap (Inherited

QList< T > toList ()Inherited

std::vector< T > toStdVector ()Inherited

T value (
  • inti)
Inherited

T value (
  • inti,
  • const T &defaultValue )
Inherited

Static Public Functions

(Only has inherited static public functions)

QVector< T > fromList (Inherited

QVector< T > fromStdVector (
  • const std::vector< T > &vector)
Inherited

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus