#include <qcontainerfwd.h>
Definition at line 55 of file qcontainerfwd.h.
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
typedef iterator | Iterator |
typedef const_iterator | ConstIterator |
typedef int | size_type |
typedef T | value_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef qptrdiff | difference_type |
Public Member Functions | |
QLinkedList () | |
QLinkedList (const QLinkedList< T > &l) | |
~QLinkedList () | |
QLinkedList< T > & | operator= (const QLinkedList< T > &) |
void | swap (QLinkedList< T > &other) |
bool | operator== (const QLinkedList< T > &l) const |
bool | operator!= (const QLinkedList< T > &l) const |
int | size () const |
void | detach () |
bool | isDetached () const |
void | setSharable (bool sharable) |
bool | isSharedWith (const QLinkedList< T > &other) const |
bool | isEmpty () const |
void | clear () |
void | append (const T &) |
void | prepend (const T &) |
T | takeFirst () |
T | takeLast () |
int | removeAll (const T &t) |
bool | removeOne (const T &t) |
bool | contains (const T &t) const |
int | count (const T &t) const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | constEnd () const |
iterator | insert (iterator before, const T &t) |
iterator | erase (iterator pos) |
iterator | erase (iterator first, iterator last) |
int | count () const |
T & | first () |
const T & | first () const |
T & | last () |
const T & | last () const |
void | removeFirst () |
void | removeLast () |
bool | startsWith (const T &t) const |
bool | endsWith (const T &t) const |
void | push_back (const T &t) |
void | push_front (const T &t) |
T & | front () |
const T & | front () const |
T & | back () |
const T & | back () const |
void | pop_front () |
void | pop_back () |
bool | empty () const |
std::list< T > | toStdList () const |
QLinkedList< T > & | operator+= (const QLinkedList< T > &l) |
QLinkedList< T > | operator+ (const QLinkedList< T > &l) const |
QLinkedList< T > & | operator+= (const T &t) |
QLinkedList< T > & | operator<< (const T &t) |
QLinkedList< T > & | operator<< (const QLinkedList< T > &l) |
Static Public Member Functions | |
static QLinkedList< T > | fromStdList (const std::list< T > &list) |
Friends | |
class | iterator |
class | const_iterator |
Definition at line 193 of file qlinkedlist.h.
typedef const_iterator ConstIterator |
Definition at line 194 of file qlinkedlist.h.
Definition at line 215 of file qlinkedlist.h.
typedef T value_type |
Definition at line 216 of file qlinkedlist.h.
typedef value_type* pointer |
Definition at line 217 of file qlinkedlist.h.
typedef const value_type* const_pointer |
Definition at line 218 of file qlinkedlist.h.
typedef value_type& reference |
Definition at line 219 of file qlinkedlist.h.
typedef const value_type& const_reference |
Definition at line 220 of file qlinkedlist.h.
typedef qptrdiff difference_type |
Definition at line 221 of file qlinkedlist.h.
|
inline |
Definition at line 84 of file qlinkedlist.h.
|
inline |
Definition at line 85 of file qlinkedlist.h.
|
inline |
Definition at line 258 of file qlinkedlist.h.
QLinkedList< T > & operator= | ( | const QLinkedList< T > & | l | ) |
Definition at line 317 of file qlinkedlist.h.
|
inline |
Definition at line 92 of file qlinkedlist.h.
bool operator== | ( | const QLinkedList< T > & | l | ) | const |
Definition at line 332 of file qlinkedlist.h.
|
inline |
Definition at line 94 of file qlinkedlist.h.
Definition at line 96 of file qlinkedlist.h.
|
inline |
Definition at line 97 of file qlinkedlist.h.
|
inline |
Definition at line 99 of file qlinkedlist.h.
|
inline |
Definition at line 100 of file qlinkedlist.h.
|
inline |
Definition at line 101 of file qlinkedlist.h.
|
inline |
Definition at line 103 of file qlinkedlist.h.
void clear | ( | ) |
Definition at line 311 of file qlinkedlist.h.
void append | ( | const T & | t | ) |
Definition at line 350 of file qlinkedlist.h.
void prepend | ( | const T & | t | ) |
Definition at line 362 of file qlinkedlist.h.
|
inline |
Definition at line 409 of file qlinkedlist.h.
|
inline |
Definition at line 417 of file qlinkedlist.h.
int removeAll | ( | const T & | t | ) |
Definition at line 374 of file qlinkedlist.h.
bool removeOne | ( | const T & | t | ) |
Definition at line 397 of file qlinkedlist.h.
bool contains | ( | const T & | t | ) | const |
Definition at line 425 of file qlinkedlist.h.
Definition at line 435 of file qlinkedlist.h.
|
inline |
Definition at line 182 of file qlinkedlist.h.
|
inline |
Definition at line 183 of file qlinkedlist.h.
|
inline |
Definition at line 184 of file qlinkedlist.h.
Definition at line 185 of file qlinkedlist.h.
|
inline |
Definition at line 186 of file qlinkedlist.h.
|
inline |
Definition at line 187 of file qlinkedlist.h.
QLinkedList< T >::iterator insert | ( | iterator | before, |
const T & | t | ||
) |
Definition at line 447 of file qlinkedlist.h.
QLinkedList< T >::iterator erase | ( | iterator | pos | ) |
Definition at line 470 of file qlinkedlist.h.
Definition at line 195 of file qlinkedlist.h.
|
inline |
Definition at line 196 of file qlinkedlist.h.
|
inline |
Definition at line 197 of file qlinkedlist.h.
|
inline |
Definition at line 198 of file qlinkedlist.h.
|
inline |
Definition at line 199 of file qlinkedlist.h.
|
inline |
Definition at line 200 of file qlinkedlist.h.
|
inline |
Definition at line 201 of file qlinkedlist.h.
|
inline |
Definition at line 202 of file qlinkedlist.h.
|
inline |
Definition at line 203 of file qlinkedlist.h.
|
inline |
Definition at line 206 of file qlinkedlist.h.
|
inline |
Definition at line 207 of file qlinkedlist.h.
|
inline |
Definition at line 208 of file qlinkedlist.h.
|
inline |
Definition at line 209 of file qlinkedlist.h.
|
inline |
Definition at line 210 of file qlinkedlist.h.
|
inline |
Definition at line 211 of file qlinkedlist.h.
|
inline |
Definition at line 212 of file qlinkedlist.h.
|
inline |
Definition at line 213 of file qlinkedlist.h.
|
inline |
Definition at line 214 of file qlinkedlist.h.
|
inlinestatic |
Definition at line 224 of file qlinkedlist.h.
|
inline |
Definition at line 226 of file qlinkedlist.h.
QLinkedList< T > & operator+= | ( | const QLinkedList< T > & | l | ) |
Definition at line 486 of file qlinkedlist.h.
QLinkedList< T > operator+ | ( | const QLinkedList< T > & | l | ) | const |
Definition at line 511 of file qlinkedlist.h.
|
inline |
Definition at line 248 of file qlinkedlist.h.
|
inline |
Definition at line 249 of file qlinkedlist.h.
|
inline |
Definition at line 250 of file qlinkedlist.h.
|
friend |
Definition at line 149 of file qlinkedlist.h.
|
friend |
Definition at line 179 of file qlinkedlist.h.
Definition at line 81 of file qlinkedlist.h.
QLinkedListNode<T>* e |
Definition at line 81 of file qlinkedlist.h.