#include <QhullLinkedList.h>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
typedef const value_type * | const_pointer |
typedef const value_type & | const_reference |
typedef const_iterator | ConstIterator |
typedef ptrdiff_t | difference_type |
typedef iterator | Iterator |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef int | size_type |
typedef T | value_type |
Public Member Functions | |
T | back () const |
Return by value which contains a pointer (e.g., typedef vertexT * QhullVertex). A reference does not make sense. | |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
bool | contains (const T &t) const |
int | count () const |
int | count (const T &t) const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
T | first () const |
T | front () const |
bool | isEmpty () const |
T | last () const |
bool | operator!= (const QhullLinkedList< T > &o) const |
bool | operator== (const QhullLinkedList< T > &o) const |
QhullLinkedList (T b, T e) | |
QhullLinkedList (const QhullLinkedList< T > &o) | |
size_t | size () const |
std::vector< T > | toStdVector () const |
~QhullLinkedList () | |
Private Member Functions | |
QhullLinkedList< T > & | operator= (const QhullLinkedList< T > &l) |
disabled since qs= qs2 is ambiguous (pointer vs. contents) | |
QhullLinkedList () | |
disabled since a sentinel must be allocated as the private type | |
Private Attributes | |
T | begin_node |
T | end_node |
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. libqhull 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.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 39 of file QhullLinkedList.h.
typedef const value_type* orgQhull::QhullLinkedList< T >::const_pointer |
Definition at line 55 of file QhullLinkedList.h.
typedef const value_type& orgQhull::QhullLinkedList< T >::const_reference |
Definition at line 56 of file QhullLinkedList.h.
typedef const_iterator orgQhull::QhullLinkedList< T >::ConstIterator |
Definition at line 49 of file QhullLinkedList.h.
typedef ptrdiff_t orgQhull::QhullLinkedList< T >::difference_type |
Definition at line 52 of file QhullLinkedList.h.
typedef iterator orgQhull::QhullLinkedList< T >::Iterator |
Definition at line 51 of file QhullLinkedList.h.
typedef value_type* orgQhull::QhullLinkedList< T >::pointer |
Definition at line 57 of file QhullLinkedList.h.
typedef value_type& orgQhull::QhullLinkedList< T >::reference |
Definition at line 58 of file QhullLinkedList.h.
typedef int orgQhull::QhullLinkedList< T >::size_type |
Definition at line 53 of file QhullLinkedList.h.
typedef T orgQhull::QhullLinkedList< T >::value_type |
Definition at line 54 of file QhullLinkedList.h.
orgQhull::QhullLinkedList< T >::QhullLinkedList | ( | T | b, |
T | e | ||
) | [inline] |
Definition at line 61 of file QhullLinkedList.h.
orgQhull::QhullLinkedList< T >::QhullLinkedList | ( | const QhullLinkedList< T > & | o | ) | [inline] |
Definition at line 63 of file QhullLinkedList.h.
orgQhull::QhullLinkedList< T >::~QhullLinkedList | ( | ) | [inline] |
Definition at line 64 of file QhullLinkedList.h.
orgQhull::QhullLinkedList< T >::QhullLinkedList | ( | ) | [inline, private] |
disabled since a sentinel must be allocated as the private type
Definition at line 68 of file QhullLinkedList.h.
T orgQhull::QhullLinkedList< T >::back | ( | ) | const [inline] |
Return by value which contains a pointer (e.g., typedef vertexT * QhullVertex). A reference does not make sense.
Definition at line 92 of file QhullLinkedList.h.
iterator orgQhull::QhullLinkedList< T >::begin | ( | ) | [inline] |
Definition at line 104 of file QhullLinkedList.h.
const_iterator orgQhull::QhullLinkedList< T >::begin | ( | ) | const [inline] |
Definition at line 105 of file QhullLinkedList.h.
const_iterator orgQhull::QhullLinkedList< T >::constBegin | ( | ) | const [inline] |
Definition at line 106 of file QhullLinkedList.h.
const_iterator orgQhull::QhullLinkedList< T >::constEnd | ( | ) | const [inline] |
Definition at line 107 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::contains | ( | const T & | t | ) | const |
Reimplemented in orgQhull::QhullFacetList.
Definition at line 250 of file QhullLinkedList.h.
int orgQhull::QhullLinkedList< T >::count | ( | ) | const |
Reimplemented in orgQhull::QhullFacetList.
Definition at line 235 of file QhullLinkedList.h.
int orgQhull::QhullLinkedList< T >::count | ( | const T & | t | ) | const |
Reimplemented in orgQhull::QhullFacetList.
Definition at line 264 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::empty | ( | ) | const [inline] |
Definition at line 84 of file QhullLinkedList.h.
iterator orgQhull::QhullLinkedList< T >::end | ( | ) | [inline] |
Definition at line 108 of file QhullLinkedList.h.
const_iterator orgQhull::QhullLinkedList< T >::end | ( | ) | const [inline] |
Definition at line 109 of file QhullLinkedList.h.
T orgQhull::QhullLinkedList< T >::first | ( | ) | const [inline] |
Definition at line 93 of file QhullLinkedList.h.
T orgQhull::QhullLinkedList< T >::front | ( | ) | const [inline] |
Definition at line 94 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::isEmpty | ( | ) | const [inline] |
Definition at line 85 of file QhullLinkedList.h.
T orgQhull::QhullLinkedList< T >::last | ( | ) | const [inline] |
Definition at line 95 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::operator!= | ( | const QhullLinkedList< T > & | o | ) | const [inline] |
Definition at line 87 of file QhullLinkedList.h.
QhullLinkedList<T>& orgQhull::QhullLinkedList< T >::operator= | ( | const QhullLinkedList< T > & | l | ) | [inline, private] |
disabled since qs= qs2 is ambiguous (pointer vs. contents)
Definition at line 70 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::operator== | ( | const QhullLinkedList< T > & | o | ) | const |
Definition at line 279 of file QhullLinkedList.h.
size_t orgQhull::QhullLinkedList< T >::size | ( | ) | const [inline] |
Definition at line 88 of file QhullLinkedList.h.
std::vector< T > orgQhull::QhullLinkedList< T >::toStdVector | ( | ) | const |
Reimplemented in orgQhull::QhullFacetList.
Definition at line 209 of file QhullLinkedList.h.
T orgQhull::QhullLinkedList< T >::begin_node [private] |
Definition at line 43 of file QhullLinkedList.h.
T orgQhull::QhullLinkedList< T >::end_node [private] |
Definition at line 44 of file QhullLinkedList.h.