An iterator over a system of grid generators. More...
#include <Grid_Generator_System.defs.hh>


Public Member Functions | |
| const_iterator () | |
| Default constructor. | |
| const_iterator (const const_iterator &y) | |
| Ordinary copy constructor. | |
| ~const_iterator () | |
| Destructor. | |
| const_iterator & | operator= (const const_iterator &y) |
| Assignment operator. | |
| const Grid_Generator & | operator* () const |
| Dereference operator. | |
| const Grid_Generator * | operator-> () const |
| Indirect member selector. | |
| const_iterator & | operator++ () |
| Prefix increment operator. | |
| const_iterator | operator++ (int) |
| Postfix increment operator. | |
| bool | operator== (const const_iterator &y) const |
Returns true if and only if *this and y are identical. | |
| bool | operator!= (const const_iterator &y) const |
Returns true if and only if *this and y are different. | |
Private Member Functions | |
| const_iterator (const Generator_System::const_iterator &y) | |
| Copy constructor from Generator_System::const_iterator. | |
Friends | |
| class | Grid_Generator_System |
An iterator over a system of grid generators.
A const_iterator is used to provide read-only access to each generator contained in an object of Grid_Generator_System.
gr: const Grid_Generator_System& ggs = gr.generators(); for (Grid_Generator_System::const_iterator i = ggs.begin(), ggs_end = ggs.end(); i != ggs_end; ++i) cout << *i << endl;
const Grid_Generator_System& ggs = gr.generators(); copy(ggs.begin(), ggs.end(), ostream_iterator<Grid_Generator>(cout, "\n"));
Definition at line 267 of file Grid_Generator_System.defs.hh.
| Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::const_iterator | ( | ) | [inline] |
Default constructor.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 169 of file Grid_Generator_System.inlines.hh.
00170 : Generator_System::const_iterator() { 00171 }
| Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::const_iterator | ( | const const_iterator & | y | ) | [inline] |
Ordinary copy constructor.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 174 of file Grid_Generator_System.inlines.hh.
00175 : Generator_System::const_iterator(y) { 00176 }
| Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::~const_iterator | ( | ) | [inline] |
Destructor.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 179 of file Grid_Generator_System.inlines.hh.
| Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::const_iterator | ( | const Generator_System::const_iterator & | y | ) | [inline, private] |
Copy constructor from Generator_System::const_iterator.
Definition at line 233 of file Grid_Generator_System.inlines.hh.
00234 : Generator_System::const_iterator::const_iterator(y) { 00235 }
| bool Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::operator!= | ( | const const_iterator & | y | ) | const [inline] |
Returns true if and only if *this and y are different.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 222 of file Grid_Generator_System.inlines.hh.
References Parma_Polyhedra_Library::Linear_System::operator!=().
00222 { 00223 return Generator_System::const_iterator::operator!=(y); 00224 }
| const Grid_Generator & Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::operator* | ( | ) | const [inline] |
Dereference operator.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 190 of file Grid_Generator_System.inlines.hh.
00190 { 00191 return static_cast<const Grid_Generator&> 00192 (Generator_System::const_iterator::operator*()); 00193 }
| Grid_Generator_System::const_iterator Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::operator++ | ( | int | ) | [inline] |
Postfix increment operator.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 208 of file Grid_Generator_System.inlines.hh.
References operator++().
00208 { 00209 const const_iterator tmp = *this; 00210 operator++(); 00211 return tmp; 00212 }
| Grid_Generator_System::const_iterator & Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::operator++ | ( | ) | [inline] |
Prefix increment operator.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 202 of file Grid_Generator_System.inlines.hh.
Referenced by operator++().
00202 { 00203 return static_cast<Grid_Generator_System::const_iterator&> 00204 (Generator_System::const_iterator::operator++()); 00205 }
| const Grid_Generator * Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::operator-> | ( | ) | const [inline] |
Indirect member selector.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 196 of file Grid_Generator_System.inlines.hh.
00196 { 00197 return static_cast<const Grid_Generator*> 00198 (Generator_System::const_iterator::operator->()); 00199 }
| Grid_Generator_System::const_iterator & Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::operator= | ( | const const_iterator & | y | ) | [inline] |
Assignment operator.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 184 of file Grid_Generator_System.inlines.hh.
00184 { 00185 return static_cast<Grid_Generator_System::const_iterator&> 00186 (Generator_System::const_iterator::operator=(y)); 00187 }
| bool Parma_Polyhedra_Library::Grid_Generator_System::const_iterator::operator== | ( | const const_iterator & | y | ) | const [inline] |
Returns true if and only if *this and y are identical.
Reimplemented from Parma_Polyhedra_Library::Generator_System::const_iterator.
Definition at line 216 of file Grid_Generator_System.inlines.hh.
References Parma_Polyhedra_Library::Grid_Generator_System::operator==.
00216 { 00217 return Generator_System::const_iterator::operator==(y); 00218 }
friend class Grid_Generator_System [friend] |
Definition at line 312 of file Grid_Generator_System.defs.hh.
1.6.3