#include <QhullLinkedList.h>
Classes | |
class | const_iterator |
class | iterator |
Public Member Functions | |
Conversions | |
std::vector< T > | toStdVector () const |
GetSet | |
countT | count () const |
bool | isEmpty () const |
bool | operator== (const QhullLinkedList< T > &o) const |
bool | operator!= (const QhullLinkedList< T > &o) const |
size_t | size () const |
Element access | |
const T | back () const |
For back() and last(), return T instead of T& (T is computed) More... | |
T | back () |
const T & | first () const |
T & | first () |
const T & | front () const |
T & | front () |
const T | last () const |
T | last () |
Search | |
bool | contains (const T &t) const |
countT | count (const T &t) const |
Iterator | |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
iterator | end () |
const_iterator | end () const |
Private Attributes | |
Fields | |
T | begin_node |
T | end_node |
Defined here | |
typedef const_iterator | ConstIterator |
typedef iterator | Iterator |
typedef ptrdiff_t | difference_type |
typedef countT | size_type |
typedef T | value_type |
typedef value_type * | pointer |
typedef value_type & | reference |
const typedef value_type * | const_pointer |
const typedef value_type & | const_reference |
Constructors | |
QhullLinkedList (T b, T e) | |
QhullLinkedList (const QhullLinkedList< T > &other) | |
Copy constructor copies begin_node and end_node, but not the list elements. Needed for return by value and parameter passing. More... | |
QhullLinkedList< T > & | operator= (const QhullLinkedList< T > &other) |
Copy assignment copies begin_node and end_node, but not the list elements. More... | |
~QhullLinkedList () | |
QhullLinkedList () | |
disabled since a sentinel must be allocated as the private type More... | |
QhullLinkedList<T> – A linked list modeled on QLinkedList. T is an opaque type with T(B *b), b=t.getBaseT(), t=t.next(), and t=t.prev(). The end node is a sentinel. QhullQh/qhT owns the contents. QhullLinkedList does not define erase(), clear(), removeFirst(), removeLast(), pop_back(), pop_front(), fromStdList() Derived from Qt/core/tools/qlinkedlist.h and libqhull_r.h/FORALLfacets_() QhullLinkedList<T>::const_iterator – STL-style iterator QhullLinkedList<T>::iterator – STL-style iterator QhullLinkedListIterator<T> – Java-style iterator Derived from Qt/core/tools/qiterator.h Works with Qt's foreach keyword [Qt/src/corelib/global/qglobal.h]
Definition at line 50 of file QhullLinkedList.h.
typedef const_iterator orgQhull::QhullLinkedList< T >::ConstIterator |
Definition at line 55 of file QhullLinkedList.h.
typedef ptrdiff_t orgQhull::QhullLinkedList< T >::difference_type |
Definition at line 58 of file QhullLinkedList.h.
typedef iterator orgQhull::QhullLinkedList< T >::Iterator |
Definition at line 57 of file QhullLinkedList.h.
typedef value_type* orgQhull::QhullLinkedList< T >::pointer |
Definition at line 63 of file QhullLinkedList.h.
typedef value_type& orgQhull::QhullLinkedList< T >::reference |
Definition at line 64 of file QhullLinkedList.h.
typedef countT orgQhull::QhullLinkedList< T >::size_type |
Definition at line 59 of file QhullLinkedList.h.
typedef T orgQhull::QhullLinkedList< T >::value_type |
Definition at line 60 of file QhullLinkedList.h.
|
inline |
Definition at line 73 of file QhullLinkedList.h.
|
inline |
Copy constructor copies begin_node and end_node, but not the list elements. Needed for return by value and parameter passing.
Definition at line 75 of file QhullLinkedList.h.
|
inline |
Definition at line 78 of file QhullLinkedList.h.
|
inlineprivate |
disabled since a sentinel must be allocated as the private type
Definition at line 82 of file QhullLinkedList.h.
|
inline |
Definition at line 105 of file QhullLinkedList.h.
|
inline |
For back() and last(), return T instead of T& (T is computed)
Definition at line 104 of file QhullLinkedList.h.
|
inline |
Definition at line 120 of file QhullLinkedList.h.
|
inline |
Definition at line 121 of file QhullLinkedList.h.
|
inline |
Definition at line 122 of file QhullLinkedList.h.
|
inline |
Definition at line 123 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::contains | ( | const T & | t | ) | const |
Definition at line 269 of file QhullLinkedList.h.
countT orgQhull::QhullLinkedList< T >::count |
Definition at line 254 of file QhullLinkedList.h.
countT orgQhull::QhullLinkedList< T >::count | ( | const T & | t | ) | const |
Definition at line 283 of file QhullLinkedList.h.
|
inline |
Definition at line 124 of file QhullLinkedList.h.
|
inline |
Definition at line 125 of file QhullLinkedList.h.
|
inline |
Definition at line 107 of file QhullLinkedList.h.
|
inline |
Definition at line 106 of file QhullLinkedList.h.
|
inline |
Definition at line 109 of file QhullLinkedList.h.
|
inline |
Definition at line 108 of file QhullLinkedList.h.
|
inline |
Definition at line 97 of file QhullLinkedList.h.
|
inline |
Definition at line 111 of file QhullLinkedList.h.
|
inline |
Definition at line 110 of file QhullLinkedList.h.
|
inline |
Definition at line 99 of file QhullLinkedList.h.
|
inline |
Copy assignment copies begin_node and end_node, but not the list elements.
Definition at line 77 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::operator== | ( | const QhullLinkedList< T > & | o | ) | const |
Definition at line 298 of file QhullLinkedList.h.
|
inline |
Definition at line 100 of file QhullLinkedList.h.
std::vector< T > orgQhull::QhullLinkedList< T >::toStdVector |
Definition at line 228 of file QhullLinkedList.h.
|
private |
Definition at line 68 of file QhullLinkedList.h.
const typedef value_type* orgQhull::QhullLinkedList< T >::const_pointer |
Definition at line 61 of file QhullLinkedList.h.
const typedef value_type& orgQhull::QhullLinkedList< T >::const_reference |
Definition at line 62 of file QhullLinkedList.h.
|
private |
Definition at line 69 of file QhullLinkedList.h.