set of pointers to baseT, T.getBaseT() More...
#include <QhullSet.h>
Public Types | |
typedef const T * | const_iterator |
typedef QhullSet< T > ::const_iterator | ConstIterator |
typedef T * | iterator |
Workaround for no setT allocator. Used if setT* is NULL. | |
typedef QhullSet< T >::iterator | Iterator |
Public Member Functions | |
const T & | at (int idx) const |
T & | back () |
T & | back () const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | constBegin () const |
const T * | constData () const |
end element is NULL | |
const_iterator | constEnd () const |
bool | contains (const T &t) const |
int | count (const T &t) const |
T * | data () |
const T * | data () const |
iterator | end () |
const_iterator | end () const |
T & | first () |
const T & | first () const |
T & | front () |
const T & | front () const |
int | indexOf (const T &t) const |
T & | last () |
const T & | last () const |
int | lastIndexOf (const T &t) const |
bool | operator!= (const QhullSet< T > &other) const |
bool | operator== (const QhullSet< T > &other) const |
T & | operator[] (int idx) |
const T & | operator[] (int idx) const |
QhullSet (const QhullSet< T > &o) | |
QhullSet (setT *s) | |
T & | second () |
const T & | second () const |
std::vector< T > | toStdVector () const |
T | value (int idx) const |
T | value (int idx, const T &defaultValue) const |
~QhullSet () | |
Static Public Member Functions | |
static int | count (const setT *set) |
Workaround for no setT allocator. Used if setT* is NULL. | |
static bool | isEmpty (const setT *s) |
Private Member Functions | |
QhullSet< T > & | operator= (const QhullSet< T > &) |
QhullSet () | |
Disable default constructor and copy assignment. See QhullSetBase. | |
Static Private Attributes | |
static setT | s_empty_set |
set of pointers to baseT, T.getBaseT()
Definition at line 94 of file QhullSet.h.
typedef const T* orgQhull::QhullSet< T >::const_iterator |
Definition at line 105 of file QhullSet.h.
typedef QhullSet<T>::const_iterator orgQhull::QhullSet< T >::ConstIterator |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 107 of file QhullSet.h.
typedef T* orgQhull::QhullSet< T >::iterator |
Workaround for no setT allocator. Used if setT* is NULL.
Definition at line 104 of file QhullSet.h.
typedef QhullSet<T>::iterator orgQhull::QhullSet< T >::Iterator |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 106 of file QhullSet.h.
orgQhull::QhullSet< T >::QhullSet | ( | const QhullSet< T > & | o | ) | [inline] |
Definition at line 116 of file QhullSet.h.
orgQhull::QhullSet< T >::QhullSet | ( | setT * | s | ) | [inline, explicit] |
Definition at line 118 of file QhullSet.h.
orgQhull::QhullSet< T >::~QhullSet | ( | ) | [inline] |
Definition at line 119 of file QhullSet.h.
orgQhull::QhullSet< T >::QhullSet | ( | ) | [private] |
Disable default constructor and copy assignment. See QhullSetBase.
const T& orgQhull::QhullSet< T >::at | ( | int | idx | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 144 of file QhullSet.h.
T& orgQhull::QhullSet< T >::back | ( | ) | [inline] |
Definition at line 145 of file QhullSet.h.
T& orgQhull::QhullSet< T >::back | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 146 of file QhullSet.h.
iterator orgQhull::QhullSet< T >::begin | ( | ) | [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 168 of file QhullSet.h.
const_iterator orgQhull::QhullSet< T >::begin | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 169 of file QhullSet.h.
const_iterator orgQhull::QhullSet< T >::constBegin | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 170 of file QhullSet.h.
const T* orgQhull::QhullSet< T >::constData | ( | ) | const [inline] |
end element is NULL
Definition at line 148 of file QhullSet.h.
const_iterator orgQhull::QhullSet< T >::constEnd | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 171 of file QhullSet.h.
bool orgQhull::QhullSet< T >::contains | ( | const T & | t | ) | const |
Reimplemented in orgQhull::QhullFacetSet.
Definition at line 278 of file QhullSet.h.
static int orgQhull::QhullSet< T >::count | ( | const setT * | set | ) | [static] |
Workaround for no setT allocator. Used if setT* is NULL.
Reimplemented from orgQhull::QhullSetBase.
int orgQhull::QhullSet< T >::count | ( | const T & | t | ) | const |
Reimplemented in orgQhull::QhullFacetSet.
Definition at line 288 of file QhullSet.h.
T* orgQhull::QhullSet< T >::data | ( | ) | [inline] |
Definition at line 149 of file QhullSet.h.
const T* orgQhull::QhullSet< T >::data | ( | ) | const [inline] |
Definition at line 150 of file QhullSet.h.
iterator orgQhull::QhullSet< T >::end | ( | ) | [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 172 of file QhullSet.h.
const_iterator orgQhull::QhullSet< T >::end | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 173 of file QhullSet.h.
T& orgQhull::QhullSet< T >::first | ( | ) | [inline] |
Definition at line 151 of file QhullSet.h.
const T& orgQhull::QhullSet< T >::first | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 152 of file QhullSet.h.
T& orgQhull::QhullSet< T >::front | ( | ) | [inline] |
Definition at line 153 of file QhullSet.h.
const T& orgQhull::QhullSet< T >::front | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 154 of file QhullSet.h.
int orgQhull::QhullSet< T >::indexOf | ( | const T & | t | ) | const [inline] |
Definition at line 178 of file QhullSet.h.
static bool orgQhull::QhullSet< T >::isEmpty | ( | const setT * | s | ) | [inline, static] |
Reimplemented from orgQhull::QhullSetBase.
Definition at line 112 of file QhullSet.h.
T& orgQhull::QhullSet< T >::last | ( | ) | [inline] |
Definition at line 155 of file QhullSet.h.
const T& orgQhull::QhullSet< T >::last | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 156 of file QhullSet.h.
int orgQhull::QhullSet< T >::lastIndexOf | ( | const T & | t | ) | const |
Definition at line 304 of file QhullSet.h.
bool orgQhull::QhullSet< T >::operator!= | ( | const QhullSet< T > & | other | ) | const [inline] |
Definition at line 141 of file QhullSet.h.
QhullSet<T>& orgQhull::QhullSet< T >::operator= | ( | const QhullSet< T > & | ) | [private] |
bool orgQhull::QhullSet< T >::operator== | ( | const QhullSet< T > & | other | ) | const [inline] |
Definition at line 140 of file QhullSet.h.
T& orgQhull::QhullSet< T >::operator[] | ( | int | idx | ) | [inline] |
Definition at line 158 of file QhullSet.h.
const T& orgQhull::QhullSet< T >::operator[] | ( | int | idx | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 159 of file QhullSet.h.
T& orgQhull::QhullSet< T >::second | ( | ) | [inline] |
Definition at line 160 of file QhullSet.h.
const T& orgQhull::QhullSet< T >::second | ( | ) | const [inline] |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 161 of file QhullSet.h.
std::vector< T > orgQhull::QhullSet< T >::toStdVector | ( | ) | const |
Reimplemented in orgQhull::QhullPointSet, and orgQhull::QhullFacetSet.
Definition at line 228 of file QhullSet.h.
T orgQhull::QhullSet< T >::value | ( | int | idx | ) | const |
Reimplemented in orgQhull::QhullPointSet.
Definition at line 258 of file QhullSet.h.
T orgQhull::QhullSet< T >::value | ( | int | idx, |
const T & | defaultValue | ||
) | const |
Definition at line 267 of file QhullSet.h.
setT orgQhull::QhullSet< T >::s_empty_set [static, private] |
Reimplemented from orgQhull::QhullSetBase.
Definition at line 100 of file QhullSet.h.