All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
orgQhull::QhullLinkedList< T > Class Template Reference

#include <QhullLinkedList.h>

List of all members.

Classes

class  const_iterator
class  iterator

Public Types

typedef const value_typeconst_pointer
typedef const value_typeconst_reference
typedef const_iterator ConstIterator
typedef ptrdiff_t difference_type
typedef iterator Iterator
typedef value_typepointer
typedef value_typereference
typedef int size_type
typedef T value_type

Public Member Functions

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
first () const
front () const
bool isEmpty () const
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

begin_node
end_node

Detailed Description

template<typename T>
class orgQhull::QhullLinkedList< T >

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.


Member Typedef Documentation

template<typename T>
typedef const value_type* orgQhull::QhullLinkedList< T >::const_pointer

Definition at line 55 of file QhullLinkedList.h.

template<typename T>
typedef const value_type& orgQhull::QhullLinkedList< T >::const_reference

Definition at line 56 of file QhullLinkedList.h.

template<typename T>
typedef const_iterator orgQhull::QhullLinkedList< T >::ConstIterator

Definition at line 49 of file QhullLinkedList.h.

template<typename T>
typedef ptrdiff_t orgQhull::QhullLinkedList< T >::difference_type

Definition at line 52 of file QhullLinkedList.h.

template<typename T>
typedef iterator orgQhull::QhullLinkedList< T >::Iterator

Definition at line 51 of file QhullLinkedList.h.

template<typename T>
typedef value_type* orgQhull::QhullLinkedList< T >::pointer

Definition at line 57 of file QhullLinkedList.h.

template<typename T>
typedef value_type& orgQhull::QhullLinkedList< T >::reference

Definition at line 58 of file QhullLinkedList.h.

template<typename T>
typedef int orgQhull::QhullLinkedList< T >::size_type

Definition at line 53 of file QhullLinkedList.h.

template<typename T>
typedef T orgQhull::QhullLinkedList< T >::value_type

Definition at line 54 of file QhullLinkedList.h.


Constructor & Destructor Documentation

template<typename T>
orgQhull::QhullLinkedList< T >::QhullLinkedList ( b,
e 
) [inline]

Definition at line 61 of file QhullLinkedList.h.

template<typename T>
orgQhull::QhullLinkedList< T >::QhullLinkedList ( const QhullLinkedList< T > &  o) [inline]

Definition at line 63 of file QhullLinkedList.h.

template<typename T>
orgQhull::QhullLinkedList< T >::~QhullLinkedList ( ) [inline]

Definition at line 64 of file QhullLinkedList.h.

template<typename T>
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.


Member Function Documentation

template<typename T>
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.

template<typename T>
iterator orgQhull::QhullLinkedList< T >::begin ( ) [inline]

Definition at line 104 of file QhullLinkedList.h.

template<typename T>
const_iterator orgQhull::QhullLinkedList< T >::begin ( ) const [inline]

Definition at line 105 of file QhullLinkedList.h.

template<typename T>
const_iterator orgQhull::QhullLinkedList< T >::constBegin ( ) const [inline]

Definition at line 106 of file QhullLinkedList.h.

template<typename T>
const_iterator orgQhull::QhullLinkedList< T >::constEnd ( ) const [inline]

Definition at line 107 of file QhullLinkedList.h.

template<typename T>
bool orgQhull::QhullLinkedList< T >::contains ( const T &  t) const

Reimplemented in orgQhull::QhullFacetList.

Definition at line 250 of file QhullLinkedList.h.

template<typename T >
int orgQhull::QhullLinkedList< T >::count ( ) const

Reimplemented in orgQhull::QhullFacetList.

Definition at line 235 of file QhullLinkedList.h.

template<typename T>
int orgQhull::QhullLinkedList< T >::count ( const T &  t) const

Reimplemented in orgQhull::QhullFacetList.

Definition at line 264 of file QhullLinkedList.h.

template<typename T>
bool orgQhull::QhullLinkedList< T >::empty ( ) const [inline]

Definition at line 84 of file QhullLinkedList.h.

template<typename T>
iterator orgQhull::QhullLinkedList< T >::end ( ) [inline]

Definition at line 108 of file QhullLinkedList.h.

template<typename T>
const_iterator orgQhull::QhullLinkedList< T >::end ( ) const [inline]

Definition at line 109 of file QhullLinkedList.h.

template<typename T>
T orgQhull::QhullLinkedList< T >::first ( ) const [inline]

Definition at line 93 of file QhullLinkedList.h.

template<typename T>
T orgQhull::QhullLinkedList< T >::front ( ) const [inline]

Definition at line 94 of file QhullLinkedList.h.

template<typename T>
bool orgQhull::QhullLinkedList< T >::isEmpty ( ) const [inline]

Definition at line 85 of file QhullLinkedList.h.

template<typename T>
T orgQhull::QhullLinkedList< T >::last ( ) const [inline]

Definition at line 95 of file QhullLinkedList.h.

template<typename T>
bool orgQhull::QhullLinkedList< T >::operator!= ( const QhullLinkedList< T > &  o) const [inline]

Definition at line 87 of file QhullLinkedList.h.

template<typename T>
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.

template<typename T>
bool orgQhull::QhullLinkedList< T >::operator== ( const QhullLinkedList< T > &  o) const

Definition at line 279 of file QhullLinkedList.h.

template<typename T>
size_t orgQhull::QhullLinkedList< T >::size ( ) const [inline]

Definition at line 88 of file QhullLinkedList.h.

template<typename T >
std::vector< T > orgQhull::QhullLinkedList< T >::toStdVector ( ) const

Reimplemented in orgQhull::QhullFacetList.

Definition at line 209 of file QhullLinkedList.h.


Member Data Documentation

template<typename T>
T orgQhull::QhullLinkedList< T >::begin_node [private]

Definition at line 43 of file QhullLinkedList.h.

template<typename T>
T orgQhull::QhullLinkedList< T >::end_node [private]

Definition at line 44 of file QhullLinkedList.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libqhull
Author(s): Robert Krug
autogenerated on Tue Jun 18 2013 12:38:50