Go to the documentation of this file.
9 #ifndef QHULLLINKEDLIST_H
10 #define QHULLLINKEDLIST_H
20 #include <QtCore/QList>
72 ~QhullLinkedList<T>() {}
85 QList<T> toQList()
const;
97 const T back() const { return last(); }
110 bool contains(const T &t) const;
114 iterator begin() { return begin_node; }
193 template <
typename T>
205 bool hasNext()
const {
return i !=
c->constEnd(); }
220 template <
typename T>
225 std::copy(constBegin(), constEnd(), std::back_inserter(tmp));
231 template <
typename T>
246 template <
typename T>
250 const_iterator i= begin_node;
252 while(i != end_node){
261 template <
typename T>
265 const_iterator i= begin_node;
266 while(i != end_node){
275 template <
typename T>
277 count(
const T &t)
const
279 const_iterator i= begin_node;
281 while(i != end_node){
290 template <
typename T>
294 if(begin_node==l.begin_node){
295 return (end_node==l.end_node);
299 while(i != end_node){
303 i=
static_cast<T
>(i.next());
304 il=
static_cast<T
>(il.next());
306 if(il != l.end_node){
314 template <
typename T>
331 template <
typename T>
345 return const_iterator(n);
350 template <
typename T>
354 while(i !=
c->constEnd()){
362 template <
typename T>
366 while(i!=
c->constBegin()){
378 template <
typename T>
383 for(i= qs.
begin(); i != qs.
end(); ++i){
389 #endif // QHULLLINKEDLIST_H
const_iterator operator+(int j) const
iterator & operator=(const iterator &o)
QhullLinkedList< T >::const_iterator const_iterator
std::vector< T > toStdVector() const
const T back() const
For back() and last(), return T instead of T& (T is computed)
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
const_iterator & operator=(const const_iterator &o)
iterator & operator-=(int j)
const T * operator->() const
bool findNext(const T &t)
bool operator!=(const iterator &o) const
bool operator==(const const_iterator &o) const
bool operator!=(const const_iterator &o) const
const_iterator constEnd() const
const T & operator*() const
ptrdiff_t difference_type
const typedef value_type * const_pointer
std::ostream & operator<<(std::ostream &os, const orgQhull::QhullLinkedList< T > &qs)
const typedef value_type * pointer
const_iterator & operator-=(int j)
bool operator==(const iterator &o) const
std::bidirectional_iterator_tag iterator_category
iterator operator+(int j) const
bool operator!=(const QhullLinkedList< T > &o) const
const_iterator & operator+=(int j)
bool contains(const T &t) const
const_iterator & operator--()
const_iterator & operator++()
QhullLinkedList< T > & operator=(const QhullLinkedList< T > &other)
Copy assignment copies begin_node and end_node, but not the list elements.
A QhullFacet is the C++ equivalent to Qhull's facetT*.
const_iterator operator-(int j) const
QhullLinkedListIterator(const QhullLinkedList< T > &container)
const T * operator->() const
iterator & operator+=(int j)
ptrdiff_t difference_type
bool findPrevious(const T &t)
ptrdiff_t difference_type
QhullLinkedListIterator & operator=(const QhullLinkedList< T > &container)
friend class const_iterator
const T & operator*() const
bool operator==(const QhullLinkedList< T > &o) const
iterator operator-(int j) const
const_iterator constBegin() const
const typedef value_type & reference
const_iterator ConstIterator
std::bidirectional_iterator_tag iterator_category
const typedef value_type & const_reference
const QhullLinkedList< T > * c
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:14