Flow123d
JS_before_hm-995-g9546b8d
|
#include <sys_vector.hh>
Public Member Functions | |
FullIteratorId (VectorId< T > &cont) | |
Constructor. Just call base class. More... | |
FullIteratorId (const VectorId< T > &cont, typename std::vector< T >::iterator it) | |
Constructor. Just call base class. More... | |
FullIteratorId (VectorId< T > &cont, const typename VectorId< T >::Iter it) | |
Constructor. Just call base class. More... | |
int | id () |
Returns id of the iterator. See VectorId documentation. More... | |
Public Member Functions inherited from flow::FullIterator< VectorId< T > > | |
FullIterator (VectorId< T > &cont_par) | |
Constructor to make uninitialized FullIterator for a container. More... | |
FullIterator (const VectorId< T > &cont_par, const typename VectorId< T >::iterator it) | |
FullIterator (VectorId< T > &cont_par, const typename VectorId< T >::Iter it) | |
Constructor to make FullIterator from container and Iter i.e. T*. More... | |
bool | is_valid () |
Check validity of FullIterator. More... | |
int | index () const |
VectorId< T > & | container () |
Get reference to the container of the FullIterator. More... | |
FullIterator & | operator= (const FullIterator &orig) |
Assign operator. In debugging version check that containers of both FullIterator match. More... | |
operator typename VectorId< T >::Iter () const | |
Type cast to Iter i.e. standard pointer. More... | |
VectorId< T >::ElementType & | operator* () const |
VectorId< T >::ElementType * | operator-> () const |
-> dereference operator More... | |
FullIterator & | operator+= (const int shift) |
FullIterator & | operator-= (const int shift) |
bool | operator== (const FullIterator &it) const |
Comparison of two FullIterator. More... | |
bool | operator!= (const FullIterator &it) const |
FullIterator & | operator++ () |
Prefix. Advance operator. More... | |
FullIterator | operator++ (int) |
Postfix. Should not be used since involves iterator copy. More... | |
FullIterator & | operator-- () |
Prefix. Advance to previous operator. More... | |
FullIterator | operator-- (int) |
Postfix. Should not be used since involves iterator copy. More... | |
Additional Inherited Members | |
Protected Attributes inherited from flow::FullIterator< VectorId< T > > | |
const VectorId< T > & | cont |
We have here reference to the container of the iterator. So, an instance of this class can not change the container. More... | |
VectorId< T >::iterator | iter |
Definition at line 157 of file sys_vector.hh.
|
inline |
Constructor. Just call base class.
Definition at line 160 of file sys_vector.hh.
|
inline |
Constructor. Just call base class.
Definition at line 163 of file sys_vector.hh.
|
inline |
Constructor. Just call base class.
Definition at line 166 of file sys_vector.hh.
|
inline |
Returns id of the iterator. See VectorId documentation.
Definition at line 169 of file sys_vector.hh.