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

This class is designed to run the list of all geometric objects representing a polytope. More...

#include <GeometricObjectIterator_Rn.h>

Collaboration diagram for constIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >:
Collaboration graph

Public Member Functions

 constIteratorOfListOfGeometricObjects (const 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...
 
void advance (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...
 
const listOfGeometricObjects
< GEOMETRIC_OBJECT > & 
_list
 The actual list of geometric elements. More...
 
unsigned int _step
 To perform a step. More...
 

Detailed Description

template<class GEOMETRIC_OBJECT>
class constIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >

This class is designed to run the list of all geometric objects representing a polytope.

Definition at line 142 of file GeometricObjectIterator_Rn.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 146 of file GeometricObjectIterator_Rn.h.

Member Function Documentation

template<class GEOMETRIC_OBJECT >
void constIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::advance ( unsigned int  n)
inline

Step forward in the list geometric elements.

Definition at line 159 of file GeometricObjectIterator_Rn.h.

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

Move the iterator at the beginning of the list.

Definition at line 150 of file GeometricObjectIterator_Rn.h.

Here is the caller graph for this function:

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

Return the current geometric element.

Return the current geometric element.

Definition at line 174 of file GeometricObjectIterator_Rn.h.

Here is the caller graph for this function:

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

Return the current position in the list.

Definition at line 183 of file GeometricObjectIterator_Rn.h.

Here is the caller graph for this function:

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

Tell whether we have reached the end of the list.

Definition at line 171 of file GeometricObjectIterator_Rn.h.

Here is the caller graph for this function:

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

Move the iterator one step forward.

Definition at line 153 of file GeometricObjectIterator_Rn.h.

Here is the caller graph for this function:

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

Step forward in the list geometric elements.

Definition at line 156 of file GeometricObjectIterator_Rn.h.

Member Data Documentation

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

The current position in the list.

Definition at line 187 of file GeometricObjectIterator_Rn.h.

template<class GEOMETRIC_OBJECT >
const listOfGeometricObjects<GEOMETRIC_OBJECT>& constIteratorOfListOfGeometricObjects< GEOMETRIC_OBJECT >::_list
protected

The actual list of geometric elements.

Definition at line 189 of file GeometricObjectIterator_Rn.h.

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

To perform a step.

Definition at line 191 of file GeometricObjectIterator_Rn.h.


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