List of all members
orgQhull::QhullSetBase Class Reference

#include <QhullSet.h>

Inheritance diagram for orgQhull::QhullSetBase:
Inheritance graph
[legend]

Public Member Functions

GetSet
countT count () const
 
void defineAs (setT *s)
 Not type-safe since setT may contain any type. More...
 
void forceEmpty ()
 
setTgetSetT () const
 
bool isEmpty () const
 
QhullQhqh () const
 
setT ** referenceSetT ()
 
size_t size () const
 

Static Public Member Functions

Class methods
static countT count (const setT *set)
 
static bool isEmpty (const setT *s)
 

Protected Member Functions

Element
void ** beginPointer () const
 
void ** elementPointer (countT idx) const
 
void ** endPointer () const
 Always points to 0. More...
 

Private Attributes

Fields --
setTqh_set
 
QhullQhqh_qh
 

Static Private Attributes

Class objects

Provides access to setT memory allocator

static setT s_empty_set
 

Constructors

Used if setT* is NULL

 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...
 
QhullSetBaseoperator= (const QhullSetBase &other)
 
 ~QhullSetBase ()
 
 QhullSetBase ()
 disabled since memory allocation for QhullSet not defined More...
 

Detailed Description

Base class for QhullSet<T> QhullSet<T> defined below QhullSetIterator<T> defined below

See also
QhullPointSet, QhullLinkedList<T> QhullSetBase is a wrapper for Qhull's setT of void* pointers
libqhull_r/qset.h

Definition at line 41 of file QhullSet.h.

Constructor & Destructor Documentation

◆ QhullSetBase() [1/4]

orgQhull::QhullSetBase::QhullSetBase ( const Qhull q,
setT s 
)

Definition at line 29 of file QhullSet.cpp.

◆ QhullSetBase() [2/4]

orgQhull::QhullSetBase::QhullSetBase ( QhullQh qqh,
setT s 
)
inline

Definition at line 54 of file QhullSet.h.

◆ QhullSetBase() [3/4]

orgQhull::QhullSetBase::QhullSetBase ( const QhullSetBase other)
inline

Copy constructor copies the pointer but not the set. Needed for return by value and parameter passing.

Definition at line 56 of file QhullSet.h.

◆ ~QhullSetBase()

orgQhull::QhullSetBase::~QhullSetBase ( )
inline

Definition at line 58 of file QhullSet.h.

◆ QhullSetBase() [4/4]

orgQhull::QhullSetBase::QhullSetBase ( )
inlineprivate

disabled since memory allocation for QhullSet not defined

Definition at line 62 of file QhullSet.h.

Member Function Documentation

◆ beginPointer()

void** orgQhull::QhullSetBase::beginPointer ( ) const
inlineprotected

Definition at line 77 of file QhullSet.h.

◆ count() [1/2]

countT orgQhull::QhullSetBase::count ( ) const
inline

Definition at line 66 of file QhullSet.h.

◆ count() [2/2]

countT orgQhull::QhullSetBase::count ( const setT set)
static

Definition at line 39 of file QhullSet.cpp.

◆ defineAs()

void orgQhull::QhullSetBase::defineAs ( setT s)
inline

Not type-safe since setT may contain any type.

Definition at line 67 of file QhullSet.h.

◆ elementPointer()

void** orgQhull::QhullSetBase::elementPointer ( countT  idx) const
inlineprotected

Definition at line 78 of file QhullSet.h.

◆ endPointer()

void** orgQhull::QhullSetBase::endPointer ( ) const
inlineprotected

Always points to 0.

Definition at line 80 of file QhullSet.h.

◆ forceEmpty()

void orgQhull::QhullSetBase::forceEmpty ( )
inline

Definition at line 68 of file QhullSet.h.

◆ getSetT()

setT* orgQhull::QhullSetBase::getSetT ( ) const
inline

Definition at line 69 of file QhullSet.h.

◆ isEmpty() [1/2]

bool orgQhull::QhullSetBase::isEmpty ( ) const
inline

Definition at line 70 of file QhullSet.h.

◆ isEmpty() [2/2]

static bool orgQhull::QhullSetBase::isEmpty ( const setT s)
inlinestatic

Definition at line 86 of file QhullSet.h.

◆ operator=()

QhullSetBase& orgQhull::QhullSetBase::operator= ( const QhullSetBase other)
inline

Definition at line 57 of file QhullSet.h.

◆ qh()

QhullQh* orgQhull::QhullSetBase::qh ( ) const
inline

Definition at line 71 of file QhullSet.h.

◆ referenceSetT()

setT** orgQhull::QhullSetBase::referenceSetT ( )
inline

Definition at line 72 of file QhullSet.h.

◆ size()

size_t orgQhull::QhullSetBase::size ( ) const
inline

Definition at line 73 of file QhullSet.h.

Member Data Documentation

◆ qh_qh

QhullQh* orgQhull::QhullSetBase::qh_qh
private

Definition at line 46 of file QhullSet.h.

◆ qh_set

setT* orgQhull::QhullSetBase::qh_set
private

Definition at line 45 of file QhullSet.h.

◆ s_empty_set

setT orgQhull::QhullSetBase::s_empty_set
staticprivate

Definition at line 49 of file QhullSet.h.


The documentation for this class was generated from the following files:


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:03