QVector
#include <QtCore/QVector>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QVector
Overview
Inheritance
QVector | |||
QStack |
Public Types Index
const T * | const_iterator |
const value_type * | const_pointer |
const value_type & | const_reference |
const_iterator | ConstIterator |
qptrdiff | difference_type |
T * | iterator |
iterator | Iterator |
value_type * | pointer |
value_type & | reference |
int | size_type |
T | value_type |
Public Attributes Index
Public Functions Index
QVector () | |
QVector (int size) | |
QVector (int size, const T &t) | |
QVector (const QVector< T > &v) | |
~QVector () | |
void | append (const T &t) |
const T & | at (int i) const |
reference | back () |
const_reference | back () const |
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 &t) const |
int | count (const T &t) const |
int | count () const |
T * | data () |
const T * | data () const |
void | detach () |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
bool | endsWith (const T &t) const |
iterator | erase (iterator begin, iterator end) |
iterator | erase (iterator pos) |
QVector< T > & | fill (const T &t, int size=-1) |
T & | first () |
const T & | first () const |
T & | front () |
const_reference | front () const |
int | indexOf (const T &t, int from=0) const |
void | insert (int i, const T &t) |
void | insert (int i, int n, const T &t) |
iterator | insert (iterator before, int n, const T &x) |
iterator | insert (iterator before, const T &x) |
bool | isDetached () const |
bool | isEmpty () const |
bool | isSharedWith (const QVector< T > &other) const |
T & | last () |
const T & | last () const |
int | lastIndexOf (const T &t, int from=-1) const |
QVector< T > | mid (int pos, int length=-1) const |
bool | operator!= (const QVector< T > &v) const |
QVector< T > | operator+ (const QVector< T > &l) const |
QVector< T > & | operator+= (const QVector< T > &l) |
QVector< T > & | operator+= (const T &t) |
QVector< T > & | operator<< (const T &t) |
QVector< T > & | operator<< (const QVector< T > &l) |
QVector< T > & | operator= (const QVector< T > &v) |
bool | operator== (const QVector< T > &v) const |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
void | pop_back () |
void | pop_front () |
void | prepend (const T &t) |
void | push_back (const T &t) |
void | push_front (const T &t) |
void | remove (int i) |
void | remove (int i, int n) |
void | replace (int i, const T &t) |
void | reserve (int size) |
void | resize (int size) |
void | setSharable (bool sharable) |
int | size () const |
void | squeeze () |
bool | startsWith (const T &t) 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 |
Static Public Functions Index
QVector< T > | fromList (const QList< T > &list) |
QVector< T > | fromStdVector (const std::vector< T > &vector) |
Public Types
typedef const T *
typedef const value_type *
typedef const value_type &
typedef const_iterator
typedef qptrdiff
typedef T *
typedef iterator
typedef value_type *
typedef value_type &
typedef int
typedef T
Public Attributes
Data *
Public Functions
Destructor.
void
const T &
reference
const_reference
iterator
const_iterator
int
void
const_iterator
const T *
const_iterator
bool
int
int
T *
const T *
void
bool
iterator
const_iterator
bool
iterator
iterator
QVector< T > &
T &
const T &
T &
const_reference
int
void
void
iterator
iterator
bool
bool
T &
const T &
int
QVector< T >
bool
QVector< T >
QVector< T > &
QVector< T > &
QVector< T > &
QVector< T > &
QVector< T > &
bool
T &
const T &
void
void
void
void
void
void
void
void
void
void
void
int
void
bool
void
QList< T >
std::vector< T >
T
T
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy