#include <QhullSet.h>
Classes | |
class | const_iterator |
class | iterator |
Public Types | |
Defined here | |
Workaround for no setT allocator. Used if setT* is NULL | |
typedef QhullSet< T >::iterator | Iterator |
typedef QhullSet< T >::const_iterator | ConstIterator |
Public Member Functions | |
Conversion | |
std::vector< T > | toStdVector () const |
Element access | |
const T | at (countT idx) const |
const T | back () const |
T | back () |
const T::base_type * | constData () const |
end element is NULL More... | |
T::base_type * | data () |
const T::base_type * | data () const |
T::base_type * | endData () |
const T::base_type * | endData () const |
const T | first () const |
T | first () |
const T | front () const |
T | front () |
const T | last () const |
T | last () |
const T | operator[] (countT idx) const |
T | operator[] (countT idx) |
const T | second () const |
T | second () |
T | value (countT idx) const |
T | value (countT idx, const T &defaultValue) const |
iterator | |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
iterator | end () |
const_iterator | end () const |
Search | |
bool | contains (const T &t) const |
countT | count (const T &t) const |
countT | indexOf (const T &t) const |
countT | lastIndexOf (const T &t) const |
Public Member Functions inherited from orgQhull::QhullSetBase | |
countT | count () const |
void | forceEmpty () |
setT * | getSetT () const |
bool | isEmpty () const |
QhullQh * | qh () const |
setT ** | referenceSetT () |
size_t | size () const |
QhullSetBase (const Qhull &q, setT *s) | |
QhullSetBase (QhullQh *qqh, setT *s) | |
QhullSetBase (const QhullSetBase &other) | |
Copy constructor copies the pointer but not the set. Needed for return by value and parameter passing. More... | |
QhullSetBase & | operator= (const QhullSetBase &other) |
~QhullSetBase () | |
Static Private Attributes | |
Class objects | |
static setT | s_empty_set |
Constructors | |
QhullSet (const Qhull &q, setT *s) | |
QhullSet (QhullQh *qqh, setT *s) | |
QhullSet (const QhullSet< T > &other) | |
QhullSet< T > & | operator= (const QhullSet< T > &other) |
~QhullSet () | |
QhullSet () | |
Disable default constructor. See QhullSetBase. More... | |
GetSet – see QhullSetBase for count(), empty(), isEmpty(), size() | |
bool | operator== (const QhullSet< T > &other) const |
bool | operator!= (const QhullSet< T > &other) const |
countT | count () const |
bool | isEmpty () const |
static countT | count (const setT *set) |
static bool | isEmpty (const setT *s) |
Additional Inherited Members | |
Static Public Member Functions inherited from orgQhull::QhullSetBase | |
static countT | count (const setT *set) |
static bool | isEmpty (const setT *s) |
Protected Member Functions inherited from orgQhull::QhullSetBase | |
void ** | beginPointer () const |
void ** | elementPointer (countT idx) const |
void ** | endPointer () const |
Always points to 0. More... | |
QhullSet<T> – A read-only wrapper to Qhull's collection class, setT. QhullSet is similar to STL's <vector> and Qt's QVector QhullSet is unrelated to STL and Qt's set and map types (e.g., QSet and QMap) T is a Qhull type that defines 'base_type' and getBaseT() (e.g., QhullFacet with base_type 'facetT *' A QhullSet does not own its contents – erase(), clear(), removeFirst(), removeLast(), pop_back(), pop_front(), fromStdList() not defined QhullSetIterator is faster than STL-style iterator/const_iterator Qhull's FOREACHelement_() [qset_r.h] maybe more efficient than QhullSet. It uses a NULL terminator instead of an end pointer. STL requires an end pointer. Derived from QhullLinkedList.h and Qt/core/tools/qlist.h w/o QT_STRICT_ITERATORS
Definition at line 105 of file QhullSet.h.
typedef QhullSet<T>::const_iterator orgQhull::QhullSet< T >::ConstIterator |
Definition at line 118 of file QhullSet.h.
typedef QhullSet<T>::iterator orgQhull::QhullSet< T >::Iterator |
Definition at line 116 of file QhullSet.h.
|
inline |
Definition at line 121 of file QhullSet.h.
|
inline |
Definition at line 122 of file QhullSet.h.
|
inline |
Definition at line 125 of file QhullSet.h.
|
inline |
Definition at line 127 of file QhullSet.h.
|
private |
Disable default constructor. See QhullSetBase.
|
inline |
Definition at line 152 of file QhullSet.h.
|
inline |
Definition at line 155 of file QhullSet.h.
|
inline |
Definition at line 154 of file QhullSet.h.
|
inline |
Definition at line 183 of file QhullSet.h.
|
inline |
Definition at line 184 of file QhullSet.h.
|
inline |
Definition at line 185 of file QhullSet.h.
|
inline |
end element is NULL
Definition at line 157 of file QhullSet.h.
|
inline |
Definition at line 186 of file QhullSet.h.
bool orgQhull::QhullSet< T >::contains | ( | const T & | t | ) | const |
Definition at line 385 of file QhullSet.h.
|
inline |
Definition at line 72 of file QhullSet.h.
|
static |
Definition at line 45 of file QhullSet.cpp.
countT orgQhull::QhullSet< T >::count | ( | const T & | t | ) | const |
Definition at line 395 of file QhullSet.h.
|
inline |
Definition at line 158 of file QhullSet.h.
|
inline |
Definition at line 159 of file QhullSet.h.
|
inline |
Definition at line 187 of file QhullSet.h.
|
inline |
Definition at line 188 of file QhullSet.h.
|
inline |
Definition at line 160 of file QhullSet.h.
|
inline |
Definition at line 161 of file QhullSet.h.
|
inline |
Definition at line 164 of file QhullSet.h.
|
inline |
Definition at line 163 of file QhullSet.h.
|
inline |
Definition at line 167 of file QhullSet.h.
|
inline |
Definition at line 166 of file QhullSet.h.
|
inline |
Definition at line 193 of file QhullSet.h.
|
inline |
Definition at line 76 of file QhullSet.h.
|
inlinestatic |
Definition at line 92 of file QhullSet.h.
|
inline |
Definition at line 170 of file QhullSet.h.
|
inline |
Definition at line 169 of file QhullSet.h.
countT orgQhull::QhullSet< T >::lastIndexOf | ( | const T & | t | ) | const |
Definition at line 412 of file QhullSet.h.
|
inline |
Definition at line 148 of file QhullSet.h.
|
inline |
Definition at line 126 of file QhullSet.h.
|
inline |
Definition at line 147 of file QhullSet.h.
|
inline |
Definition at line 174 of file QhullSet.h.
|
inline |
Definition at line 173 of file QhullSet.h.
|
inline |
Definition at line 176 of file QhullSet.h.
|
inline |
Definition at line 175 of file QhullSet.h.
std::vector< T > orgQhull::QhullSet< T >::toStdVector |
Definition at line 334 of file QhullSet.h.
T orgQhull::QhullSet< T >::value | ( | countT | idx | ) | const |
Definition at line 365 of file QhullSet.h.
T orgQhull::QhullSet< T >::value | ( | countT | idx, |
const T & | defaultValue | ||
) | const |
Definition at line 374 of file QhullSet.h.
|
staticprivate |
Definition at line 111 of file QhullSet.h.