politopix  4.1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT > Class Template Reference

Insert the half-spaces in the list in a lexicographically order, whether min or max. More...

#include <GeometricObjectIterator_Rn.h>

Inheritance diagram for lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >:
Inheritance graph
Collaboration diagram for lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >:
Collaboration graph

Public Member Functions

 lexIteratorOfListOfGeometricObjects (listOfGeometricObjects< GEOMETRIC_OBJECT > &l)
 Constructor. More...
 
void begin ()
 Move the iterator at the beginning of the list. More...
 
void next ()
 Move the iterator one step forward. More...
 
void setStep (unsigned int n)
 Step forward in the list geometric elements. More...
 
bool end () const
 Tell whether we have reached the end of the list. More...
 
const GEOMETRIC_OBJECT current ()
 Return the current geometric element. More...
 
int currentIteratorNumber () const
 Return the current position in the list. More...
 

Protected Attributes

unsigned int _iterator
 The current position in the list. More...
 
listOfGeometricObjects
< GEOMETRIC_OBJECT > & 
_list
 The actual list of geometric elements. More...
 
bool _alreadySorted
 Not to do the same job twice. More...
 
unsigned int _step
 Sort after a step. More...
 

Detailed Description

template<class GEOMETRIC_OBJECT>
class lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >

Insert the half-spaces in the list in a lexicographically order, whether min or max.

Definition at line 195 of file GeometricObjectIterator_Rn.h.

Constructor & Destructor Documentation

template<class GEOMETRIC_OBJECT >
lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::lexIteratorOfListOfGeometricObjects ( listOfGeometricObjects< GEOMETRIC_OBJECT > &  l)
inline

Constructor.

Definition at line 199 of file GeometricObjectIterator_Rn.h.

Member Function Documentation

template<class GEOMETRIC_OBJECT >
void lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::begin ( )
inline

Move the iterator at the beginning of the list.

Definition at line 204 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
const GEOMETRIC_OBJECT lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::current ( )
inline

Return the current geometric element.

Definition at line 216 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
int lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::currentIteratorNumber ( ) const
inline

Return the current position in the list.

Definition at line 224 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
bool lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::end ( ) const
inline

Tell whether we have reached the end of the list.

Definition at line 213 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
void lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::next ( )
inline

Move the iterator one step forward.

Definition at line 207 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
void lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::setStep ( unsigned int  n)
inline

Step forward in the list geometric elements.

Definition at line 210 of file GeometricObjectIterator_Rn.h.

Member Data Documentation

template<class GEOMETRIC_OBJECT >
bool lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::_alreadySorted
protected

Not to do the same job twice.

Definition at line 232 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
unsigned int lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::_iterator
protected

The current position in the list.

Definition at line 228 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
listOfGeometricObjects<GEOMETRIC_OBJECT>& lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::_list
protected

The actual list of geometric elements.

Definition at line 230 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
unsigned int lexIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::_step
protected

Sort after a step.

Definition at line 234 of file GeometricObjectIterator_Rn.h.


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