#include <QhullLinkedList.h>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
Defined here | |
typedef const_iterator | ConstIterator |
typedef iterator | Iterator |
typedef ptrdiff_t | difference_type |
typedef countT | size_type |
typedef T | value_type |
typedef const value_type * | const_pointer |
typedef const value_type & | const_reference |
typedef value_type * | pointer |
typedef value_type & | reference |
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 |
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 44 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 countT 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.
|
inline |
Definition at line 67 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 69 of file QhullLinkedList.h.
|
inline |
Definition at line 72 of file QhullLinkedList.h.
|
inlineprivate |
disabled since a sentinel must be allocated as the private type
Definition at line 76 of file QhullLinkedList.h.
|
inline |
For back() and last(), return T instead of T& (T is computed)
Definition at line 98 of file QhullLinkedList.h.
|
inline |
Definition at line 99 of file QhullLinkedList.h.
|
inline |
Definition at line 114 of file QhullLinkedList.h.
|
inline |
Definition at line 115 of file QhullLinkedList.h.
|
inline |
Definition at line 116 of file QhullLinkedList.h.
|
inline |
Definition at line 117 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::contains | ( | const T & | t | ) | const |
Definition at line 263 of file QhullLinkedList.h.
countT orgQhull::QhullLinkedList< T >::count | ( | ) | const |
Definition at line 248 of file QhullLinkedList.h.
countT orgQhull::QhullLinkedList< T >::count | ( | const T & | t | ) | const |
Definition at line 277 of file QhullLinkedList.h.
|
inline |
Definition at line 118 of file QhullLinkedList.h.
|
inline |
Definition at line 119 of file QhullLinkedList.h.
|
inline |
Definition at line 100 of file QhullLinkedList.h.
|
inline |
Definition at line 101 of file QhullLinkedList.h.
|
inline |
Definition at line 102 of file QhullLinkedList.h.
|
inline |
Definition at line 103 of file QhullLinkedList.h.
|
inline |
Definition at line 91 of file QhullLinkedList.h.
|
inline |
Definition at line 104 of file QhullLinkedList.h.
|
inline |
Definition at line 105 of file QhullLinkedList.h.
|
inline |
Definition at line 93 of file QhullLinkedList.h.
|
inline |
Copy assignment copies begin_node and end_node, but not the list elements.
Definition at line 71 of file QhullLinkedList.h.
bool orgQhull::QhullLinkedList< T >::operator== | ( | const QhullLinkedList< T > & | o | ) | const |
Definition at line 292 of file QhullLinkedList.h.
|
inline |
Definition at line 94 of file QhullLinkedList.h.
std::vector< T > orgQhull::QhullLinkedList< T >::toStdVector | ( | ) | const |
Definition at line 222 of file QhullLinkedList.h.
|
private |
Definition at line 62 of file QhullLinkedList.h.
|
private |
Definition at line 63 of file QhullLinkedList.h.